lnd.xprv/contractcourt
Matheus Degiovani d71a4ee033 contractcourt+itest: fix lingering pending channel after breach
This fixes an issue where the contract court could leave a completely
swept commit tx unresolved if it was swept by the remote party.

This could happen if (our) commit tx just published was actually a
previously revoked state, in which case the remote party would claim the
funds via a justice transaction.

This manifested itself in the testRevokedCloseRetribution integration
test where at the end of the test Bob was left with a pending channel
that never resolved itself.
2020-05-12 07:46:14 -03:00
..
anchor_resolver.go cnct+lnrpc: report anchor resolution 2020-03-18 12:27:03 +01:00
briefcase_test.go contractcourt: convert to use new kvdb abstraction 2020-03-18 19:34:52 -07:00
briefcase.go contractcourt: convert to use new kvdb abstraction 2020-03-18 19:34:52 -07:00
chain_arbitrator_test.go lnwallet/test: pass in test channel type 2020-03-17 14:19:33 +01:00
chain_arbitrator.go contractcourt: convert to use new kvdb abstraction 2020-03-18 19:34:52 -07:00
chain_watcher_test.go lnwallet/test: pass in test channel type 2020-03-17 14:19:33 +01:00
chain_watcher.go contractcourt: remove redundant return 2020-04-24 19:15:08 +02:00
channel_arbitrator_test.go contractcourt: convert to use new kvdb abstraction 2020-03-18 19:34:52 -07:00
channel_arbitrator.go cnct: log txid for force close 2020-03-27 07:42:01 +01:00
commit_sweep_resolver_test.go cnct: resolve anchors post-confirmation 2020-03-18 12:27:01 +01:00
commit_sweep_resolver.go contractcourt+itest: fix lingering pending channel after breach 2020-05-12 07:46:14 -03:00
contract_resolvers.go cnct: prefix logger for commit sweep resolver 2019-11-13 10:17:24 +01:00
htlc_incoming_contest_resolver.go multi: replace htlcResolution with an interface 2020-02-06 19:41:36 +02:00
htlc_incoming_resolver_test.go multi: replace htlcResolution with an interface 2020-02-06 19:41:36 +02:00
htlc_outgoing_contest_resolver_test.go cnct: parse onion for resolvers 2019-11-12 15:01:39 +01:00
htlc_outgoing_contest_resolver.go cnct: add resolver report output type 2019-11-13 10:17:28 +01:00
htlc_success_resolver.go lnwallet+nursery+input: set sequence=1 for direct HTLC spends 2020-03-09 12:59:33 +01:00
htlc_timeout_resolver_test.go multi: return input.Signature from SignOutputRaw 2020-04-10 14:27:35 -07:00
htlc_timeout_resolver.go utxonursery: remove unused commit sweep code 2019-11-14 13:38:03 +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 cnct/test: add incoming contest resolver test 2019-05-15 14:42:18 +02:00