Commit Graph

10 Commits (9fba8eb8d823a104b7ee577e53996043301d189a)

Author SHA1 Message Date
Andras Banki-Horvath 0aa978bd09 loopin: modify internally published htlc to use p2wsh 4 years ago
Andras Banki-Horvath f0aff9b7bd looprpc+loopin: support for native segwit htlcs
This commit extends SwapResponse and SwapStatus with np2wsh and p2wsh
htlc output addresses to support both nested and native segwit htlcs
in loop-in.

Furthermore the commit adds support for native segwith loop-in htlcs.
When the htlc is paid internally, as of this commit we'll use NP2WSH,
otherwise users are free to select whether to pay the NP2WSH or the
P2WSH htlc.
4 years ago
Joost Jager 9aaef3fd07
loopin: use discovered htlc value for timeout tx 4 years ago
Joost Jager edac1a4054
loopin/test: extend test with external htlcs 4 years ago
Joost Jager a05e46697d
test: assert raw output signing requests 4 years ago
Oliver Gugger b574e344ea
multi: add persistent logger 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
Joost Jager b5d2fb3894
loopd: add loop in state InvoiceSettled 5 years ago
Joost Jager 3e960b8b54
multi: loop in swap 5 years ago