lnd.xprv/lnwallet
Olaoluwa Osuntokun 74122a0901
lnwallet: encode obfuscated state hints in the commitment tx
This commit modifies the channel state machine slightly to encode the
current state number using 30-bits of the sequence number within the
commitment transaction’s only input.

Such a modification reduces up the processing time required to punish
the counter party for breaching the contract established within the
channel by broadcasting an older revoked state.

This fixes #58 with a minor modification to what was originally
suggested.
2016-11-16 12:49:44 -08:00
..
btcwallet multi: use witnessScript everywhere instead of redeemScript 2016-10-15 16:02:09 -07:00
channel_test.go lnwallet: encode obfuscated state hints in the commitment tx 2016-11-16 12:49:44 -08:00
channel.go lnwallet: encode obfuscated state hints in the commitment tx 2016-11-16 12:49:44 -08:00
config.go config: add --pendingchannel lnd flag 2016-10-22 02:11:18 +03:00
interface_test.go lnwallet+funding: include node net address in reservation workflow 2016-10-26 14:56:58 -07:00
interface.go multi: use witnessScript everywhere instead of redeemScript 2016-10-15 16:02:09 -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+funding: include node net address in reservation workflow 2016-10-26 14:56:58 -07:00
script_utils_test.go lnwallet: add utility functions for obfuscated commitment state hints 2016-11-14 18:35:10 -08:00
script_utils.go lnwallet: correct good comments on state hint helper funcs 2016-11-14 18:37:20 -08:00
wallet.go lnwallet+funding: include node net address in reservation workflow 2016-10-26 14:56:58 -07:00