188811cf05
This commit modifies the logic within the state machine to properly populate the new field of `OutputIndex` which the HTLC stored within a channel delta. With this change, in the future we’ll be able to quickly locate a particular HTLC output in the scenario that the commitment transaction has been broadcast on-chain and we need to sweep it. Allocating a few extra bytes on-disk saves us from the guess-and-check logic+code required otherwise. |
||
---|---|---|
.. | ||
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 |