d0353b2864
This commit introduces the concept of a manually initiated “force” closer within the channel state machine. A force closure is a closure initiated by a local subsystem which broadcasts the current commitment state directly on-chain rather than attempting to cooperatively negotiate a closure with the remote party. A force closure returns a ForceCloseSummary which includes all the details required for claiming all rightfully owned outputs within the broadcast commitment transaction. Additionally two new publicly exported channels are introduced, one which is closed due a locally initiated force closure, and the other which is closed once we detect that the remote party has executed a unilateral closure by broadcasting their version of the commitment transaction. |
||
---|---|---|
.. | ||
channel_test.go | ||
channel.go | ||
db_test.go | ||
db.go | ||
doc.go | ||
error.go | ||
fees.go | ||
log.go | ||
nodes.go | ||
route.go |