lnd/watchtower/blob
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
..
commitments.go watchtower: convert JusticeKit to interface 2024-01-04 14:37:42 +02:00
derivation.go multi: fix make fmt 2022-08-23 22:10:24 +08:00
justice_kit.go watchtower: convert JusticeKit to interface 2024-01-04 14:37:42 +02:00
justice_kit_packet.go watchtower: convert JusticeKit to interface 2024-01-04 14:37:42 +02:00
justice_kit_test.go watchtower: convert JusticeKit to interface 2024-01-04 14:37:42 +02:00
type.go watchtower: introduce CommitmentType 2024-01-04 14:37:42 +02:00
type_test.go wathtower/blob+wtserver: support anchor sessions 2020-11-25 15:04:00 -08:00