lnd/watchtower/lookout
Elle Mouton 154e9fafec
watchtower: convert JusticeKit to interface
In this commit, we convert the `JusticeKit` struct to an interface.
Then, we add two implementations of that interface:
1) The `legacyJusticeKit` which implements all the methods of
   `JusticeKit`
2) The `anchorJusticKit` which wraps the `legacyJusticeKit` and just
   re-implements the `ToRemoteOutputSpendInfo` method since.
2024-01-04 14:37:42 +02:00
..
interface.go watchtower/multi: move BreachHint to blob pkg 2019-06-13 17:40:04 -07:00
justice_descriptor.go watchtower: convert JusticeKit to interface 2024-01-04 14:37:42 +02:00
justice_descriptor_test.go watchtower: convert JusticeKit to interface 2024-01-04 14:37:42 +02:00
log.go watchtower/lookout/log: adds lookout subsystem logger 2018-10-31 20:42:07 -07:00
lookout.go multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
lookout_test.go watchtower: convert JusticeKit to interface 2024-01-04 14:37:42 +02:00
mock.go watchtower: remove dev tag from unit test files 2020-08-20 12:12:51 -07:00
punisher.go multi: add labels to lnd native transactions 2020-07-29 13:46:07 +02:00