carla
8da0ea6048
looprpc: add label to swap creation and display in list swaps
2020-08-03 11:00:56 +02:00
carla
9678c7817d
multi: add swap label to SwapContract and store under separate key
...
This commits adds an optional label to our swaps, and writes it to
disk under a separate key in our swap bucket. This approach is chosen
rather than an on-the-fly addition to our existing swap contract field
so that we do not need to deal with EOF checking in the future. To allow
creation of unique internal labels, we add a reserved prefix which can
be used by the daemon to set labels that are distinct from client set
ones.
2020-08-03 10:55:58 +02:00
Carla Kirk-Cohen
e2c54bd052
Merge pull request #259 from carlaKC/252-loopstates
...
looprpc: surface all failure reasons for failed swaps
2020-07-30 16:58:35 +02:00
carla
a9849bb317
multi: add failure reason to swap client server
...
To provide more information about swaps, we add a failure reason field
to our swaps. We do not extend our existing state enum to remain
backwards compatible.
2020-07-30 09:15:42 +02:00
Alex Bosworth
d046a68673
Merge pull request #256 from lightninglabs/v0.7.0-beta
...
version: bump to v0.7.0-beta
2020-07-21 10:38:22 -07:00
Alex Bosworth
9b0db0ebcd
version: bump to v0.7.0-beta
...
Increment version for 0.7.0
2020-07-21 09:18:31 -07:00
Oliver Gugger
9efca9da11
Merge pull request #254 from gcomte/master
...
looprpc/docs: fix typo
2020-07-17 16:21:28 +02:00
Gabriel Comte
6e916f2e40
looprpc/docs: fix typo
2020-07-17 16:10:29 +02:00
Joost Jager
2f40064639
Merge pull request #248 from joostjager/user-expiry
...
loopout: user-specified expiry
2020-07-17 11:11:57 +02:00
Joost Jager
43323ffbe2
loopout: extend htlc expiry based on conf target
2020-07-16 21:30:16 +02:00
Joost Jager
e72d998e78
loopout: show expiry range in terms
2020-07-16 21:30:15 +02:00
Joost Jager
05fd1da496
looprpc: update server proto
2020-07-16 21:30:13 +02:00
Joost Jager
85eb3d0fee
loopout/test: prevent modification of global test request
2020-07-16 21:30:11 +02:00
Carla Kirk-Cohen
f5f2d4261b
Merge pull request #226 from carlaKC/138-consumeswapsubscription
...
multi: consume and log sever state updates
2020-07-16 21:28:28 +02:00
carla
cd2b08aec6
multi: consume and log sever state updates
2020-07-16 21:02:06 +02:00
Joost Jager
a6539b6adb
Merge pull request #249 from joostjager/split-client-messages
...
looprpc: split client messages
2020-07-15 09:12:29 +02:00
Joost Jager
8d1ec50fa7
looprpc: split quote message
2020-07-14 19:26:30 +02:00
Joost Jager
24099aa4f9
looprpc: split terms message
2020-07-14 15:26:23 +02:00
Alex Bosworth
57374efd46
Merge pull request #246 from lightninglabs/fix-slack-link
...
docs: Update Slack link
2020-07-02 10:59:58 -07:00
Alex Bosworth
49e8f059e0
docs: Update Slack link
...
update Slack link to redirection link
2020-07-02 10:37:46 -07:00
Joost Jager
9c503fcf2c
Merge pull request #245 from joostjager/bump-v0.6.5-beta
...
version: bump to v0.6.5-beta
2020-07-02 15:30:54 +02:00
Joost Jager
32d3c2fcfe
version: bump to v0.6.5-beta
2020-07-02 14:57:41 +02:00
Joost Jager
dcb3b50eec
Merge pull request #242 from joostjager/user-message
...
multi: expose server message to clients
2020-06-30 18:20:28 +02:00
Joost Jager
1869ad670f
looprpc: expose server message to clients
2020-06-30 16:59:10 +02:00
Joost Jager
8b215edaa2
multi: create init result structs
2020-06-30 16:59:08 +02:00
Joost Jager
68012f051a
loopout: create LoopOutSwapInfo struct
2020-06-30 16:59:06 +02:00
Joost Jager
c6c30e2988
multi: log server message
2020-06-30 16:59:04 +02:00
Joost Jager
d76959de40
Merge pull request #240 from joostjager/loopin-record-htlc
...
loopin: record htlx tx hash
2020-06-29 13:52:02 +02:00
Joost Jager
f91422d188
loopin: record htlx tx hash
2020-06-25 14:22:48 +02:00
Joost Jager
a3b7fa5977
loopin: fail swap when htlc amount is incorrect
...
Previously the swap would get stuck in a state where it wouldn't ever
progress because the server rejected the htlc.
2020-06-25 14:22:46 +02:00
Joost Jager
e33d2fb762
loopin: extract persistState
2020-06-25 14:22:44 +02:00
Joost Jager
6b8fcc547c
loopin: rename to persistAndAnnounceState
2020-06-25 14:22:42 +02:00
Joost Jager
60b907a34f
loopin: refactor htlc conf event loop
2020-06-25 14:22:40 +02:00
Joost Jager
98faa8c59d
Merge pull request #239 from joostjager/fix-pending-state
...
loopdb: classify InvoiceSettled as pending
2020-06-25 14:21:49 +02:00
Joost Jager
b5a49ed205
loopdb: classify InvoiceSettled as pending
2020-06-25 12:39:07 +02:00
Joost Jager
4ea21cee8b
Merge pull request #238 from joostjager/loopout-record-htlc
...
loopout: record htlc tx hash
2020-06-25 10:36:18 +02:00
Joost Jager
e22524a262
loopout: register for confirmation using htlc tx hash
2020-06-24 15:28:12 +02:00
Joost Jager
190caa4097
loopout/test: refactor test
2020-06-24 15:28:10 +02:00
Joost Jager
4da4738a2d
loopdb: persist htlc tx hash
2020-06-24 15:28:09 +02:00
Joost Jager
12a7b34d88
loopdb: migrate to nested updates structure
2020-06-24 15:28:07 +02:00
Joost Jager
eaf8239e49
loopdb: allow restored databases to contain nil values
2020-06-23 12:46:00 +02:00
Joost Jager
3e71ff0c81
loopdb: strongly typed constants
2020-06-23 12:45:58 +02:00
Joost Jager
fc8f3c9986
Merge pull request #237 from joostjager/external-lndclient
...
lndclient: move to github.com/lightninglabs/lndclient
2020-06-18 15:14:32 +02:00
Joost Jager
0c9fcd790e
lndclient: move to github.com/lightninglabs/lndclient
2020-06-18 14:27:52 +02:00
Joost Jager
d4046a6053
Merge pull request #235 from joostjager/basic-conn
...
lndclient: extract basic connection
2020-06-17 09:39:14 +02:00
Carla Kirk-Cohen
40cb9644e8
Merge pull request #221 from carlaKC/lndclient-faraday
...
lndclient: add methods required for faraday switchover
2020-06-17 09:00:54 +02:00
Joost Jager
ab6e89c911
Merge pull request #236 from joostjager/out-return-p2wsh
...
loopd: return missing p2wsh loop out address
2020-06-17 08:50:00 +02:00
carla
fbb1a3b204
lndclient: add list sweeps to wallet cilent
2020-06-17 08:45:03 +02:00
carla
c76f2c4cf1
lndclient: update listTransactions to return full transaction
2020-06-17 08:45:01 +02:00
carla
475c7f29f1
lndclient: add listpayments endpoint
2020-06-17 08:44:59 +02:00