lnd/lnwallet
Olaoluwa Osuntokun d0353b2864
lnwallet: add ability to trigger a force closure within channel state machine
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.
2016-09-12 19:07:35 -07:00
..
btcwallet lnwallet: modify btcwallet's SignOutputRaw method to get proper pubkey 2016-09-12 19:07:24 -07:00
channel.go lnwallet: add ability to trigger a force closure within channel state machine 2016-09-12 19:07:35 -07:00
channel_test.go lnwallet: add htlc persistence, state log restoration to channel state machine 2016-09-12 19:07:04 -07:00
config.go lnwallet: add a BtcWallet implementation of WalletController 2016-09-08 12:25:32 -07:00
interface.go lnwallet: add ability to trigger a force closure within channel state machine 2016-09-12 19:07:35 -07:00
interface_test.go lnwallet: eliminate flaky assert within integration tests 2016-09-08 13:10:51 -07:00
log.go lnwallet: switch name of package logger to avoid module collision 2016-07-27 11:29:07 -07:00
reservation.go lnwallet: refactor all wallet/channel interaction to use the WalletController. 2016-09-08 12:25:54 -07:00
script_utils.go lnwallet: modify CommitSpendTimeout to expect proper input sequence num and tx version 2016-09-12 19:07:20 -07:00
script_utils_test.go lnwallet: modify CommitSpendTimeout to expect proper input sequence num and tx version 2016-09-12 19:07:20 -07:00
wallet.go lnwallet: add ability to trigger a force closure within channel state machine 2016-09-12 19:07:35 -07:00