mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
multi: completely remove support for NP2WSH htlcs
This commit removes all code related to NP2WSH htlcs. These were historically used when segwit adoption was very sporadic and are not used anywhere anymore. Some historical swaps stored in the DB may be listed with incorrect htlc adresses from here on.
This commit is contained in:
parent
b36885fb65
commit
88956455b4
15 changed files with 399 additions and 777 deletions
|
|
@ -294,10 +294,6 @@ type LoopInSwapInfo struct { // nolint
|
|||
// where the loop-in funds may be paid.
|
||||
HtlcAddressP2WSH btcutil.Address
|
||||
|
||||
// HtlcAddressNP2WSH contains the nested segwit swap htlc address,
|
||||
// where the loop-in funds may be paid.
|
||||
HtlcAddressNP2WSH btcutil.Address
|
||||
|
||||
// HtlcAddresP2TR contains the v3 (pay to taproot) htlc address.
|
||||
HtlcAddressP2TR btcutil.Address
|
||||
|
||||
|
|
@ -350,10 +346,6 @@ type SwapInfo struct {
|
|||
// swap htlc. This is used for both loop-in and loop-out.
|
||||
HtlcAddressP2WSH btcutil.Address
|
||||
|
||||
// HtlcAddressNP2WSH stores the address of the NP2WSH (nested segwit)
|
||||
// swap htlc. This is only used for external loop-in.
|
||||
HtlcAddressNP2WSH btcutil.Address
|
||||
|
||||
// HtlcAddressP2TR stores the address of the P2TR (taproot) swap htlc.
|
||||
// This is used for both internal and external loop-in and loop out.
|
||||
HtlcAddressP2TR btcutil.Address
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue