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:
4 files changed
+1057
-12
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user