lnwallet/chancloser: add state transitions for new protofsm rbf closer

In this commit, we add the state transitions for the new protofsm based
RBF chan closer. The underlying protocol is a new asymmetric co-op close
process, wherein either side can initiate a chan closer, and use their
settled funds to pay for fees within the channel.
This commit is contained in:
Olaoluwa Osuntokun committed 2024-12-10 23:07:01 +01:00
1 parent f6525c9e7d
commit e47a632745
4 files changed
+1057 -12

No files matched your search

+2 -2
View File
@@ -129,8 +129,8 @@ func TestMaybeMatchScript(t *testing.T) {
t.Parallel()
err := validateShutdownScript(
func() error { return nil }, test.upfrontScript,
test.shutdownScript, &chaincfg.SimNetParams,
test.upfrontScript, test.shutdownScript,
&chaincfg.SimNetParams,
)
if err != test.expectedErr {