mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
loopin: enable p2tr htlcs without keyspend
This commit is contained in:
parent
152677fcc7
commit
901a935514
12 changed files with 739 additions and 491 deletions
|
|
@ -298,6 +298,9 @@ type LoopInSwapInfo struct { // nolint
|
|||
// where the loop-in funds may be paid.
|
||||
HtlcAddressNP2WSH btcutil.Address
|
||||
|
||||
// HtlcAddresP2TR contains the v3 (pay to taproot) htlc address.
|
||||
HtlcAddressP2TR btcutil.Address
|
||||
|
||||
// ServerMessages is the human-readable message received from the loop
|
||||
// server.
|
||||
ServerMessage string
|
||||
|
|
@ -351,6 +354,10 @@ type SwapInfo struct {
|
|||
// 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
|
||||
|
||||
// ExternalHtlc is set to true for external loop-in swaps.
|
||||
ExternalHtlc bool
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue