lnd/contractcourt
Olaoluwa Osuntokun 7bde1662e2
multi: move breach arbiter and utxo nursery into contractcourt package
In this commit, we take an initial step towards converting the existing
breach arbiter and utxo nursery logic into contract resolvers by moving
the files as is, into the `contractcourt` pacakge.

This commit is primarily move only, though we had to massage some
interfaces and config names along the way to make things compile and the
tests run properly.
2021-09-27 19:10:31 -07:00
..
anchor_resolver.go cnct: cpfp-sweep anchors 2020-09-17 12:30:41 +02:00
breacharbiter_test.go multi: move breach arbiter and utxo nursery into contractcourt package 2021-09-27 19:10:31 -07:00
breacharbiter.go multi: move breach arbiter and utxo nursery into contractcourt package 2021-09-27 19:10:31 -07:00
briefcase_test.go kvdb: move channeldb/kvdb to top level 2021-05-07 14:18:56 +02:00
briefcase.go contractcourt: add docs for state transition paths 2021-09-23 13:22:34 +08:00
chain_arbitrator_test.go multi: move mockChainIO, mockNotifier to lntest/mock 2020-08-31 19:41:09 -04:00
chain_arbitrator.go multi: add shutdown logs in subservers 2021-09-15 19:52:03 +08:00
chain_watcher_test.go contractcourt/chainwatcher test: add test cases for future force close 2020-12-03 08:01:08 +01:00
chain_watcher.go chainwatcher: only continue breach handling after successfully marked 2021-05-06 12:37:11 +02:00
channel_arbitrator_test.go multi: move breach arbiter and utxo nursery into contractcourt package 2021-09-27 19:10:31 -07:00
channel_arbitrator.go contractcourt: add docs for state transition paths 2021-09-23 13:22:34 +08:00
commit_sweep_resolver_test.go contractcourt: test commitment deadline logic 2021-06-29 20:25:47 +08:00
commit_sweep_resolver.go contractcourt/succes+timeout resolver: extract waitForSpend logic 2020-12-10 14:24:19 +01:00
contract_resolvers.go contraccourt+input: create HtlcSecondLevelAnchorInput and resolver for 2020-12-10 14:24:20 +01:00
htlc_incoming_contest_resolver.go contractcourt/[incoming|outgoing]_contest_resolver: make inner resolver pointer 2020-12-10 14:24:19 +01:00
htlc_incoming_resolver_test.go kvdb: move channeldb/kvdb to top level 2021-05-07 14:18:56 +02:00
htlc_outgoing_contest_resolver_test.go kvdb: move channeldb/kvdb to top level 2021-05-07 14:18:56 +02:00
htlc_outgoing_contest_resolver.go contractcourt/[incoming|outgoing]_contest_resolver: make inner resolver pointer 2020-12-10 14:24:19 +01:00
htlc_success_resolver_test.go kvdb: move channeldb/kvdb to top level 2021-05-07 14:18:56 +02:00
htlc_success_resolver.go contraccourt+input: create HtlcSecondLevelAnchorInput and resolver for 2020-12-10 14:24:20 +01:00
htlc_timeout_resolver_test.go kvdb: move channeldb/kvdb to top level 2021-05-07 14:18:56 +02:00
htlc_timeout_resolver.go contraccourt+input: create resolver for timeout second level 2020-12-10 14:24:20 +01:00
interfaces.go cnct: resolve anchors post-confirmation 2020-03-18 12:27:01 +01:00
log.go multi: move breach arbiter and utxo nursery into contractcourt package 2021-09-27 19:10:31 -07:00
mock_registry_test.go multi: replace htlcResolution with an interface 2020-02-06 19:41:36 +02:00
nursery_store_test.go multi: move breach arbiter and utxo nursery into contractcourt package 2021-09-27 19:10:31 -07:00
nursery_store.go multi: move breach arbiter and utxo nursery into contractcourt package 2021-09-27 19:10:31 -07:00
utils_test.go contractcourt/chain_watcher test: do proper state rollback 2020-12-03 08:00:02 +01:00
utxonursery_test.go multi: move breach arbiter and utxo nursery into contractcourt package 2021-09-27 19:10:31 -07:00
utxonursery.go multi: move breach arbiter and utxo nursery into contractcourt package 2021-09-27 19:10:31 -07:00