When using the interactive-tx
protocol, we currently store the channel state only after we've sent tx_signatures
.
This makes sense from a funds safety point of view: the commitment transactions can only be broadcast once we've given our peer the signatures they needed to broadcast the funding transaction first.
But in some cases, this creates an issue where one side has stored the channel state but not the other side. See the following scenario for example (where -->X
indicates a message that wasn't received):
Alice Bob
| |