You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
loop/swap
Carla Kirk-Cohen d29a0a8862
swap: add locking conditions to HtlcScript interface
Use of the Script() function is problematic when we introduce taproot
because our script will vary depending whether we use keyspend or a
tapleaf spend path (and on the tapleaf spent). This has not previously
been a problem for segwitv0 scripts, because they contain all of the
logical branches for each of our spend conditions in a single script.

This commit prepares for removal of the Script() function by moving
our address/pkScript/sigScript generation (which need Script()) into
each script's implementation of the HtlcScript interface so that
they have access to the script directly.
2 years ago
..
fees.go multi: bump btcec/v2 and btcutil to new versions 2 years ago
htlc.go swap: add locking conditions to HtlcScript interface 2 years ago
htlc_test.go swap: HTLCV3 added 2 years ago
keychain.go utils: remove utils package in favor of new swap package 5 years ago
log.go loop+cmd: extract types into swap module 5 years ago
musig2.go multi: add session to swap kit 2 years ago
tx.go multi: bump btcec/v2 and btcutil to new versions 2 years ago
type.go loop+cmd: extract types into swap module 5 years ago