lnd/lnwallet/chancloser
Olaoluwa Osuntokun 7feb8b21e1
multi: upgrade new taproot TLVs to use tlv.OptionalRecordT
In this commit, we update new Taproot related TLVs (nonces, partial sig,
sig with nonce, etc). Along the way we were able to get rid of some
boiler plate, but most importantly, we're able to better protect against
API misuse (using a nonce that isn't initialized, etc) with the new
options API. In some areas this introduces a bit of extra boiler plate,
and where applicable I used some new helper functions to help cut down
on the noise.

Note to reviewers: this is done as a single commit, as changing the API
breaks all callers, so if we want things to compile it needs to be in a
wumbo commit.
2024-02-29 11:32:26 -06:00
..
chancloser_test.go multi: upgrade new taproot TLVs to use tlv.OptionalRecordT 2024-02-29 11:32:26 -06:00
chancloser.go multi: upgrade new taproot TLVs to use tlv.OptionalRecordT 2024-02-29 11:32:26 -06:00
interface.go channeldb+lnwallet: add ShutdownInfo with read and write methods 2024-02-21 11:56:15 +02:00
log.go chancloser: new package for cooperative channel closure 2020-06-16 20:34:44 -04:00