bc72691806
In this commit, we ensure that we mark the channel as borked before we remove the link during the force close process. This ensures that if the peer reconnects right after we remove the link, then it won't be loaded into memory in `loadActiveChannels`. We'll now: * mark the channel as borked * remove the link * read the channel state from disk * force close This ensures that the link (if it's active) is able to commit any pending changes to disk before we read out the channel to force close. |
||
---|---|---|
.. | ||
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_test.go | ||
contract_resolvers.go | ||
htlc_incoming_contest_resolver.go | ||
htlc_outgoing_contest_resolver.go | ||
htlc_success_resolver.go | ||
htlc_timeout_resolver.go | ||
log.go |