mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-23 14:40:30 +01:00
In this commit, the functions used to fetch candidate sessions and towers on creation of the watchtower Client are changed to make use of the more efficient lookup functions. Previously, all sessions were listed from the DB and then these were used to collect the active towers which in certain situations lead to some users getting the "tower not found" error on start up. With this commit, we instead first list all Towers in the DB and then we fetch the sessions for each of those towers. |
||
---|---|---|
.. | ||
backup_task.go | ||
backup_task_internal_test.go | ||
candidate_iterator.go | ||
candidate_iterator_test.go | ||
client.go | ||
client_test.go | ||
errors.go | ||
interface.go | ||
log.go | ||
session_negotiator.go | ||
session_queue.go | ||
stats.go | ||
task_pipeline.go |