Bundle the transition to FLUSHCOMPLETE into a single function #5733
Labels
channel-upgradability
Channel upgradability feature
type: refactor
Architecture, code or CI improvements that may or may not tackle technical debt.
Summary
When transitioning to FLUSHCOMPLETE, two invariants MUST be true:
We have verified as the main branch stands today, the implementation is correct. To future proof maintenance, we can make this invariant easier to maintain by bundling these checks and state transitions into a single function. This may require some reworkings of the Ack and Confirm handlers as we currently check the timeout in the handler and perform the state transition in the write function
For Admin Use
The text was updated successfully, but these errors were encountered: