2011ccc571
In this commit, we make a series of changes to ensure that we'll be able to properly survive restarts if we crash right after we call MarkChannelClosed. In order to ensure we can survive restarts, we'll now long the confirmed CommitSet to disk right before we close the channel. Upon restart, we'll read these from disk so we can pick up where we left over. Additionally, we also will now consult the legacy chain actions if it turns out that the channel has been closed, but we don't have a confCommitSet written to disk. This will only be the case for nodes that had pending close channels before this commitment. |
||
---|---|---|
.. | ||
briefcase_test.go | ||
briefcase.go | ||
chain_arbitrator_test.go | ||
chain_arbitrator.go | ||
chain_watcher_test.go | ||
chain_watcher.go | ||
channel_arbitrator_test.go | ||
channel_arbitrator.go | ||
commit_sweep_resolver.go | ||
contract_resolvers.go | ||
htlc_incoming_contest_resolver.go | ||
htlc_incoming_resolver_test.go | ||
htlc_outgoing_contest_resolver.go | ||
htlc_success_resolver.go | ||
htlc_timeout_resolver_test.go | ||
htlc_timeout_resolver.go | ||
interfaces.go | ||
log.go | ||
mock_registry_test.go | ||
utils_test.go |