lnd.xprv/watchtower/wtclient
Conner Fromknecht 7cabe2667f
watchtower/wtclient/client: use existing session with same TxPolicy
This commit modifies the client's filtering when selecting from existing
sessions. The new logic compares the configured TxPolicy with the
TxPolicy of the candidate sessions, which has the effect of ignoring
operational parameters such as MaxUpdates. Prior, changing MaxUpdates
would cause the client to request a new session even if it had perfectly
good slots available in a policy with an equal TxPolicy.
2019-06-13 19:54:21 -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.go watchtower/wtclient/tower_candidate_iterator: linked-list iterator 2019-03-15 02:31:24 -07:00
client_test.go watchtower/wtclient/client: use existing session with same TxPolicy 2019-06-13 19:54:21 -07:00
client.go watchtower/wtclient/client: use existing session with same TxPolicy 2019-06-13 19:54:21 -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/wtclient: integrate ClientChannelSummaries 2019-05-23 20:48:50 -07:00
log.go watchtower/wtclient/log: adds wtclient logging 2019-03-15 02:30:35 -07:00
session_negotiator.go watchtower/wtdb: create embedded ClientSessionBody 2019-05-23 20:47:49 -07:00
session_queue.go watchtower/wtclient/session_queue: unify logging 2019-06-13 19:54:17 -07:00
stats.go watchtower/wtclient/stats: adds clientStats 2019-03-15 02:32:15 -07:00
task_pipeline.go watchtower/wtclient/task_pipeline: add reliable task aggregator 2019-03-15 02:31:50 -07:00