lnd.xprv/watchtower
Wilmer Paulino c57128097e
watchtower/wtclient: extend TowerClient with CRUD operations for towers
In this commit, we extend the wtclient.Client interface with the
following methods:

  * AddTower
  * RemoveTower
  * RegisteredTowers
  * LookupTower
  * Stats

Care has been taken to ensure that any in-memory state updates are
_only_ performed after a successful database update.

These methods are currently unused, but they serve as a dependency for
the upcoming WatchtowerClient RPC subserver.
2019-07-30 15:18:13 -07:00
..
blob watchtower/multi: define blob TypeAltruistCommit and TypeRewardCommit 2019-06-13 19:54:21 -07:00
lookout watchtower/multi: use sane sweep fee rate in unit tests 2019-06-13 19:54:22 -07:00
wtclient watchtower/wtclient: extend TowerClient with CRUD operations for towers 2019-07-30 15:18:13 -07:00
wtdb watchtower: extend client databse with CRUD operations for towers 2019-07-30 15:13:23 -07:00
wtmock watchtower: extend client databse with CRUD operations for towers 2019-07-30 15:13:23 -07:00
wtpolicy watchtower/wtpolicy: properly set DefaultSweepFeeRate and MinSweepFeeRate 2019-07-24 18:12:48 -07:00
wtserver watchtower/multi: use sane sweep fee rate in unit tests 2019-06-13 19:54:22 -07:00
wtwire watchtower/multi: define AltruistSessions feature bit as 0/1 2019-06-13 19:54:21 -07:00
conf.go watchtower: add externalip CLI configuration 2019-06-20 17:04:03 -07:00
config.go watchtower: add externalip CLI configuration 2019-06-20 17:04:03 -07:00
errors.go watchtower/conf: remove experimental conditional compilation 2019-06-13 19:54:19 -07:00
interface.go watchtower/conf: abstract address normalizer to prevent import cycle 2019-06-13 19:54:19 -07:00
log.go watchtower/log: add WTWR subsystem logger 2019-01-14 19:42:33 -08:00
standalone.go watchtowerrpc/standalone: implement watchtowerrpc.WatchtowerBackend iface 2019-06-20 17:04:04 -07:00