affd7793b3
This commit adds full persistence logic of the current lowest un-revoked height within each commitment chain. The newly added channeldb methods for record state transitions within both commitment chains are now utilized. This un-settled HTLC state is now read upon initialization, with the proper log entries inserted into the state update log which reflect the garbage collected log right before the restart. A new set of tests have been added to exercise a few edge cases around HTLC persistence to ensure the in-memory log is properly restored based on the on-disk snapshot. |
||
---|---|---|
.. | ||
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 |