lnd.xprv/contractcourt
Conner Fromknecht eb2f5cecf6
multi: remove breach tx arg from NewBreachRetribution args
This commit removes the breach transaction from the
arguments passed to NewBreachRetribution. We already
keep all prior remote commitments on disk in the
commitment log, and load that transaction from disk
inside the method. In practice, the one loaded from
disk will be the same one that is passed in by the
caller, so there should be no change in behavior
as we've already derived the appropriate state number.

This changes makes integration with the watchtower
client simpler, since we no longer need to acquire
the breaching commitment transaction to be able to
construct the BreachRetribution. This simplifies
not only the logic surrounding transient backsups,
but also on startup (and later, retroactively
backing up historic updates).
2019-01-10 13:13:38 -08:00
..
briefcase_test.go multi: switch from bolt packge to bbolt package for all imports 2018-11-29 20:33:49 -08:00
briefcase.go multi: switch from bolt packge to bbolt package for all imports 2018-11-29 20:33:49 -08:00
chain_arbitrator_test.go contractcourt: add new ChainArbitrator struct as central coordinator of package 2018-01-22 19:19:36 -08:00
chain_arbitrator.go multi: replace per channel sigPool with global daemon level sigPool 2018-12-16 15:40:14 -08:00
chain_watcher_test.go cnct: add channel_arbitor test that exercises the htlcOutgoingContestResolver 2018-09-20 18:17:23 -07:00
chain_watcher.go multi: remove breach tx arg from NewBreachRetribution args 2019-01-10 13:13:38 -08:00
channel_arbitrator_test.go contractcourt/channel_arbitrator: prevent force closing same channel twice 2018-12-10 20:37:58 -08:00
channel_arbitrator.go contractcourt/channel_arbitrator: prevent force closing same channel twice 2018-12-10 20:37:58 -08:00
contract_resolvers_test.go contractcourt: add complete ContractResolver implementations 2018-01-22 19:19:36 -08:00
contract_resolvers.go cnct: add todo comment for sweeper 2018-12-18 10:50:22 +01:00
log.go multi: init subsystem loggers via build pkg 2018-10-05 13:04:45 +09:00