lnd.xprv/lntest
Olaoluwa Osuntokun 32965fd4be
rpc: update AbandonChannel to remove state from cnct, nursery and graph
In this commit, we update the `AbandonChannel` method to also remove the
state from the countract court as well as the channel graph. Abandoning
a channel is now a three step process: remove from the open channel
state, remove from the graph, remove from the contract court. Between
any step it's possible that the users restarts the process all over
again. As a result, each of the steps below are intended to be
idempotent.

We also update the integration test to assert that no channel is found
in the graph any longer. Before this commit, this test would fail as the
channel was still found in the graph, which can cause other issues for
an operational daemon.

Fixes #3716.
2019-11-20 17:42:58 -08:00
..
itest rpc: update AbandonChannel to remove state from cnct, nursery and graph 2019-11-20 17:42:58 -08:00
wait multi: move WaitPredicate, WaitNoError, WaitInvariant to lntest/wait 2019-09-19 12:46:29 -07:00
bitcoind.go lntest/bitcoind: set debug loglevel 2019-09-02 09:37:41 +02:00
btcd.go lntest: compile time check btcd and neutrino BackendCfg interface 2019-09-02 09:37:37 +02:00
doc.go lntest: Add doc.go with package documentation. 2017-12-14 20:06:23 -08:00
harness.go server+lntest: extract ErrServerNotActive error 2019-10-23 17:37:15 -04:00
neutrino.go lntest: compile time check btcd and neutrino BackendCfg interface 2019-09-02 09:37:37 +02:00
node.go lntest: stdlib context 2019-09-28 15:43:42 -07:00
timeouts_darwin.go lntest/timeouts: split into darwin and non-darwin timeouts 2019-03-27 19:00:39 -07:00
timeouts.go lntest/timeouts: split into darwin and non-darwin timeouts 2019-03-27 19:00:39 -07:00