Commit Graph

643 Commits (d85cc010b0d4b25e4e5a8c0b6fec3e980c32e6e2)
 

Author SHA1 Message Date
carla 852f459391
multi: add htlc confirmations parameter to client loop out request 4 years ago
carla 1877b7f08b
multi: store loop out htlc confirmations on disk
To allow users to specify differing confirmation targets, we store the
swap conf target per-swap. This makes us restart safe, so we do not
forget confirmation values for swaps that are in flight when we restart.
4 years ago
Carla Kirk-Cohen e15549e9af
Merge pull request #263 from carlaKC/205-addlabelling
multi: add labelling to swaps
4 years ago
carla f62d09528d
loop: allow creation of loops with labels on cli 4 years ago
carla 8da0ea6048
looprpc: add label to swap creation and display in list swaps 4 years ago
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.
4 years ago
Carla Kirk-Cohen e2c54bd052
Merge pull request #259 from carlaKC/252-loopstates
looprpc: surface all failure reasons for failed swaps
4 years ago
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.
4 years ago
Alex Bosworth d046a68673
Merge pull request #256 from lightninglabs/v0.7.0-beta
version: bump to v0.7.0-beta
4 years ago
Alex Bosworth 9b0db0ebcd
version: bump to v0.7.0-beta
Increment version for 0.7.0
4 years ago
Oliver Gugger 9efca9da11
Merge pull request #254 from gcomte/master
looprpc/docs: fix typo
4 years ago
Gabriel Comte 6e916f2e40 looprpc/docs: fix typo 4 years ago
Joost Jager 2f40064639
Merge pull request #248 from joostjager/user-expiry
loopout: user-specified expiry
4 years ago
Joost Jager 43323ffbe2
loopout: extend htlc expiry based on conf target 4 years ago
Joost Jager e72d998e78
loopout: show expiry range in terms 4 years ago
Joost Jager 05fd1da496
looprpc: update server proto 4 years ago
Joost Jager 85eb3d0fee
loopout/test: prevent modification of global test request 4 years ago
Carla Kirk-Cohen f5f2d4261b
Merge pull request #226 from carlaKC/138-consumeswapsubscription
multi: consume and log sever state updates
4 years ago
carla cd2b08aec6
multi: consume and log sever state updates 4 years ago
Joost Jager a6539b6adb
Merge pull request #249 from joostjager/split-client-messages
looprpc: split client messages
4 years ago
Joost Jager 8d1ec50fa7
looprpc: split quote message 4 years ago
Joost Jager 24099aa4f9
looprpc: split terms message 4 years ago
Alex Bosworth 57374efd46
Merge pull request #246 from lightninglabs/fix-slack-link
docs: Update Slack link
4 years ago
Alex Bosworth 49e8f059e0
docs: Update Slack link
update Slack link to redirection link
4 years ago
Joost Jager 9c503fcf2c
Merge pull request #245 from joostjager/bump-v0.6.5-beta
version: bump to v0.6.5-beta
4 years ago
Joost Jager 32d3c2fcfe
version: bump to v0.6.5-beta 4 years ago
Joost Jager dcb3b50eec
Merge pull request #242 from joostjager/user-message
multi: expose server message to clients
4 years ago
Joost Jager 1869ad670f
looprpc: expose server message to clients 4 years ago
Joost Jager 8b215edaa2
multi: create init result structs 4 years ago
Joost Jager 68012f051a
loopout: create LoopOutSwapInfo struct 4 years ago
Joost Jager c6c30e2988
multi: log server message 4 years ago
Joost Jager d76959de40
Merge pull request #240 from joostjager/loopin-record-htlc
loopin: record htlx tx hash
4 years ago
Joost Jager f91422d188
loopin: record htlx tx hash 4 years ago
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.
4 years ago
Joost Jager e33d2fb762
loopin: extract persistState 4 years ago
Joost Jager 6b8fcc547c
loopin: rename to persistAndAnnounceState 4 years ago
Joost Jager 60b907a34f
loopin: refactor htlc conf event loop 4 years ago
Joost Jager 98faa8c59d
Merge pull request #239 from joostjager/fix-pending-state
loopdb: classify InvoiceSettled as pending
4 years ago
Joost Jager b5a49ed205
loopdb: classify InvoiceSettled as pending 4 years ago
Joost Jager 4ea21cee8b
Merge pull request #238 from joostjager/loopout-record-htlc
loopout: record htlc tx hash
4 years ago
Joost Jager e22524a262
loopout: register for confirmation using htlc tx hash 4 years ago
Joost Jager 190caa4097
loopout/test: refactor test 4 years ago
Joost Jager 4da4738a2d
loopdb: persist htlc tx hash 4 years ago
Joost Jager 12a7b34d88
loopdb: migrate to nested updates structure 4 years ago
Joost Jager eaf8239e49
loopdb: allow restored databases to contain nil values 4 years ago
Joost Jager 3e71ff0c81
loopdb: strongly typed constants 4 years ago
Joost Jager fc8f3c9986
Merge pull request #237 from joostjager/external-lndclient
lndclient: move to github.com/lightninglabs/lndclient
4 years ago
Joost Jager 0c9fcd790e
lndclient: move to github.com/lightninglabs/lndclient 4 years ago
Joost Jager d4046a6053
Merge pull request #235 from joostjager/basic-conn
lndclient: extract basic connection
4 years ago
Carla Kirk-Cohen 40cb9644e8
Merge pull request #221 from carlaKC/lndclient-faraday
lndclient: add methods required for faraday switchover
4 years ago