d43ef24ed3
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”. |
||
---|---|---|
.. | ||
btcwallet | ||
channel_test.go | ||
channel.go | ||
config.go | ||
interface_test.go | ||
interface.go | ||
log.go | ||
reservation.go | ||
script_utils_test.go | ||
script_utils.go | ||
wallet.go |