45236fa092
A cooperative closure of a LightningChannel proceeds in two steps. First, the party who wishes to close the channel sends a signature for the closing transaction. Next, the responder reconstructs the closing transaction identically as the initiator did using a canonical input/output ordering, and the currently settled balance within the channel. At this point, the responder then broadcasts the closure transaction. It is the responsibility of the initiator to watch for this transaction broadcast within the network to clean up any resources they committed to the active channel. |
||
---|---|---|
.. | ||
channel.go | ||
coin_select.go | ||
config.go | ||
interface.go | ||
log.go | ||
reservation.go | ||
script_utils.go | ||
setup.go | ||
wallet_test.go | ||
wallet.go |