lnd/watchtower/wtserver
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
..
create_session.go watchtower/wtserver: add DisableReward config option 2019-06-13 19:54:21 -07:00
delete_session.go watchtower/wtserver/server: print connFailure error code name 2019-04-23 20:06:38 -07:00
interface.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
log.go watchtower/wtserver: move from watchtower/server 2018-11-02 15:51:06 -07:00
server_test.go watchtower: convert JusticeKit to interface 2024-01-04 14:37:42 +02:00
server.go multi: fix make fmt 2022-08-23 22:10:24 +08:00
state_update.go watchtower/wtserver/server: print connFailure error code name 2019-04-23 20:06:38 -07:00