lnd.xprv/lnwallet
Olaoluwa Osuntokun e0c09a016b
lnwallet: use stored initiator bool to properly construct close tx
This commit modifies the channel closing logic to remove the hard coded
bools indicating which side is attempting the closure. With the recent
changes, the initiator must always pay the channel closure fees.

This information is recently stored on disk, therefore we can use the
boolean to ensure that the closure transaction is created properly no
matter who initiates the close.

This fixes a bug.
2016-12-07 22:39:33 -08:00
..
btcwallet lnwallet: extend the SignDescriptor to include a PrivateTweak 2016-11-18 17:12:58 -08:00
channel_test.go lnwallet: add HTLC count validation 2016-11-23 20:02:29 -06:00
channel.go lnwallet: use stored initiator bool to properly construct close tx 2016-12-07 22:39:33 -08:00
config.go config: add --pendingchannel lnd flag 2016-10-22 02:11:18 +03:00
interface_test.go lnwallet: use stored initiator bool to properly construct close tx 2016-12-07 22:39:33 -08:00
interface.go lnwallet: extend the SignDescriptor to include a PrivateTweak 2016-11-18 17:12:58 -08:00
log.go lnwallet: switch name of package logger to avoid module collision 2016-07-27 11:29:07 -07:00
reservation.go lnwallet: integrate obfuscated state hints into funding workflow 2016-11-16 12:54:39 -08:00
script_utils_test.go lnwallet: convert CommitSpendRevoke+CommitSpendNoDelay to use Signer 2016-11-18 15:23:50 -08:00
script_utils.go general: fix typos, rename variables, add comments 2016-11-23 20:02:29 -06:00
size.go breacharbiter: introduce new sub-system to watch for breaches 2016-11-28 19:44:09 -08:00
wallet.go lnwallet: extend the SignDescriptor to include a PrivateTweak 2016-11-18 17:12:58 -08:00