lnd.xprv/lnwallet
Olaoluwa Osuntokun d43ef24ed3
lnwallet: add utility functions for obfuscated commitment state hints
This commit adds two utility functions along with corresponding tests
for adding obfuscated state number hints to each commitment
transaction.

Such a feature reduces the search time to recover the necessary
material to punish a counterpaty for broadcasting an invalid state from
O(N), to O(1), where N is the number of states in the channel’s
transcript. By encoding the obsfucated state number, either side is
able to quickly obtain the ncessary state to excerise “justice”.
2016-11-14 18:35:10 -08:00
..
btcwallet multi: use witnessScript everywhere instead of redeemScript 2016-10-15 16:02:09 -07:00
channel_test.go lnwallet+peer: minor typo fixes 2016-11-14 15:06:17 -08:00
channel.go lnwallet: minor comment correction 2016-11-10 17:38:59 -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: add utility functions for obfuscated commitment state hints 2016-11-14 18:35:10 -08:00
wallet.go lnwallet+funding: include node net address in reservation workflow 2016-10-26 14:56:58 -07:00