lnd.xprv/watchtower/wtclient
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
..
backup_task_internal_test.go watchtower/multi: embed TxPolicy in wtpolicy.Policy 2019-06-13 19:54:20 -07:00
backup_task.go watchtower/multi: use new blob.BreachKey for enc/dec of justice kits 2019-06-13 19:54:17 -07:00
candidate_iterator_test.go watchtower/wtclient: extend TowerCandidateIterator to update candidates 2019-07-30 15:13:24 -07:00
candidate_iterator.go watchtower/wtclient: extend TowerCandidateIterator to update candidates 2019-07-30 15:13:24 -07:00
client_test.go watchtower/wtpolicy/policy: bump default fee rate to 10 sat/byte 2019-07-01 15:56:03 -07:00
client.go watchtower/wtclient: extend TowerClient with CRUD operations for towers 2019-07-30 15:18:13 -07:00
derivation.go keychain/derivation: adds watchtower session key family 2019-04-23 20:03:48 -07:00
errors.go multi: fix spelling mistakes 2019-05-04 15:35:37 -07:00
interface.go watchtower: extend client databse with CRUD operations for towers 2019-07-30 15:13:23 -07:00
log.go watchtower/wtclient/log: adds wtclient logging 2019-03-15 02:30:35 -07:00
session_negotiator.go watchtower/multi: define AltruistSessions feature bit as 0/1 2019-06-13 19:54:21 -07:00
session_queue.go watchtower/wtclient: remove stale sessionQueue TODO 2019-07-30 15:13:17 -07:00
stats.go watchtower/wtclient: extend TowerClient with CRUD operations for towers 2019-07-30 15:18:13 -07:00
task_pipeline.go watchtower/wtclient/task_pipeline: add reliable task aggregator 2019-03-15 02:31:50 -07:00