eb2f5cecf6
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). |
||
---|---|---|
.. | ||
briefcase_test.go | ||
briefcase.go | ||
chain_arbitrator_test.go | ||
chain_arbitrator.go | ||
chain_watcher_test.go | ||
chain_watcher.go | ||
channel_arbitrator_test.go | ||
channel_arbitrator.go | ||
contract_resolvers_test.go | ||
contract_resolvers.go | ||
log.go |