Andras Banki-Horvath
901a935514
loopin: enable p2tr htlcs without keyspend
2 years ago
Andras Banki-Horvath
9b37d744a0
multi: add ProtocolVersion_HTLC_V3
2 years ago
Andras Banki-Horvath
9610becebd
multi: add the aggregate internal pubkey to the v3 htlc
2 years ago
Harsha Goli
dec6dd7e70
swap: HTLCV3 added
...
In this commit we add the version 3 htlc, which is implemented with
taproot script spending the two payment paths: the claim path case, and
the timeout case.
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
6 years ago
Olaoluwa Osuntokun
94f347e673
multi: finalize rename from uncharge to loop out
6 years ago
Olaoluwa Osuntokun
908d82acdb
loop: extract code from client package into new loop primary package
6 years ago