chancloser: add new closeAwaitingFlushState

This commit is contained in:
Keagan McClelland 2023-12-14 19:01:20 -08:00
parent 9b2d1018f2
commit 30ad49a29d

View File

@ -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