lnd.xprv/contractcourt
yyforyongyu 614884dcb8
contractcourt: test commitment deadline logic
This commit adds two tests to check that a) the correct deadline is used
given different HTLC sets and b) when sweeping anchors the correct
deadlines are used.
2021-06-29 20:25:47 +08:00
..
anchor_resolver.go cnct: cpfp-sweep anchors 2020-09-17 12:30:41 +02:00
briefcase_test.go kvdb: move channeldb/kvdb to top level 2021-05-07 14:18:56 +02:00
briefcase.go kvdb: move channeldb/kvdb to top level 2021-05-07 14:18:56 +02:00
chain_arbitrator_test.go multi: move mockChainIO, mockNotifier to lntest/mock 2020-08-31 19:41:09 -04:00
chain_arbitrator.go multi: refactor NewAnchorResolutions to return fixed values 2021-06-29 20:25:47 +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 contractcourt: test commitment deadline logic 2021-06-29 20:25:47 +08:00
channel_arbitrator.go contractcourt: make anchor sweep deadline aware 2021-06-29 20:25:47 +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: init subsystem loggers via build pkg 2018-10-05 13:04:45 +09:00
mock_registry_test.go multi: replace htlcResolution with an interface 2020-02-06 19:41:36 +02:00
utils_test.go contractcourt/chain_watcher test: do proper state rollback 2020-12-03 08:00:02 +01:00