Carla Kirk-Cohen
deb235a126
multi: default to P2TR for loop out
2 years ago
Carla Kirk-Cohen
9d2d5a78d4
multi: pass shared key to new htlc
...
TODO - our view etc functions don't have our shared key, find a good way
to get this. A possible solution is just to lazily store it so that we
don't need to call lnd/create a session every time we want to restore
it.
2 years ago
Carla Kirk-Cohen
a2d97d67d5
multi: add session to swap kit
2 years ago
Andras Banki-Horvath
133f3cac5f
multi: integrate the new htlc v2 scripts to loop in/out
...
This commit bumps the current protocol version and integrates htlc v2
with loop in/out for new swaps, while keeping htlc v1 for any pending
swaps with previous protocol versions.
4 years ago
Andras Banki-Horvath
9fdd531130
swap: add HTLC script version
4 years ago
Joost Jager
0c9fcd790e
lndclient: move to github.com/lightninglabs/lndclient
4 years ago
carla
2ebbc78131
swap: add constructor for swap config
4 years ago
Andras Banki-Horvath
b2b0bad951
loopin+loopout: move htlc out of swapKit
...
This commit moves htlc out of swapkit in preparation of adding separate
p2wsh and np2wsh htlcs to loop-in swaps.
4 years ago
Oliver Gugger
b574e344ea
multi: add persistent logger
5 years ago
Oliver Gugger
69f2af9fdc
loop+cmd: extract types into swap module
5 years ago
Joost Jager
6efa62347b
multi: store swap cost in database
5 years ago
Joost Jager
1b306ad425
loopdb: replace swap state enum by state data object
...
This commits lays down the foundation in the database for adding more
persistent state data to swaps.
5 years ago
Joost Jager
30c7d71c57
use np2wsh for loop in htlc
5 years ago
Olaoluwa Osuntokun
94f347e673
multi: finalize rename from uncharge to loop out
5 years ago
Olaoluwa Osuntokun
908d82acdb
loop: extract code from client package into new loop primary package
5 years ago