chancloser: add new closeAwaitingFlushState
This commit is contained in:
1 parent
9b2d1018f2
commit
30ad49a29d
1 file changed
+5
@@ -70,6 +70,11 @@ const (
|
|||||||
// phase.
|
// phase.
|
||||||
closeShutdownInitiated
|
closeShutdownInitiated
|
||||||
|
|
||||||
|
// closeAwaitingFlush is the state that's transitioned to once both
|
||||||
|
// Shutdown messages have been exchanged but we are waiting for the
|
||||||
|
// HTLCs to clear out of the channel.
|
||||||
|
closeAwaitingFlush
|
||||||
|
|
||||||
// closeFeeNegotiation is the third, and most persistent state. Both
|
// closeFeeNegotiation is the third, and most persistent state. Both
|
||||||
// parties enter this state after they've sent and received a shutdown
|
// parties enter this state after they've sent and received a shutdown
|
||||||
// message. During this phase, both sides will send monotonically
|
// message. During this phase, both sides will send monotonically
|
||||||
|
|||||||
Reference in new issue
Block a user