Skip to content

Commit 07f54ae

Browse files
committed
lnwallet/chancloser: create unique ServiceKey for the RBF chan closer
This can be used to allow any system to send a message to the RBF chan closer if it knows the proper service key. In the future, we can use this to redo the msgmux.Router in terms of the new actor abstractions.
1 parent ac4bc23 commit 07f54ae

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lnwallet/chancloser/rbf_coop_states.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,3 +1026,7 @@ type RbfEvent = protofsm.EmittedEvent[ProtocolEvent]
10261026
// RbfStateSub is a type alias for the state subscription type of the RBF chan
10271027
// closer.
10281028
type RbfStateSub = protofsm.StateSubscriber[ProtocolEvent, *Environment]
1029+
1030+
// ChanCloserActorMsg is an adapter to enable the state machine executor that
1031+
// runs this state machine to be passed around as an actor.
1032+
type ChanCloserActorMsg = protofsm.ActorMessage[ProtocolEvent]

0 commit comments

Comments
 (0)