lnd.xprv/watchtower/wtclient
Olaoluwa Osuntokun 4b65aea306
watchtower+htlcswitch: update client tower logic to recognize safu commitments
In this commit, we update the tower+link logic to tag a commitment as
the new (tweakless) format if it applies. In order to do this, the
BackupTask method has gained an additional parameter to indicate the
type of commitment that we're attempting to upload. This new tweakless
bool is then threaded through all the way to back up task creation to
ensure that we make the proper input.Input.

Finally, we've added a new test case for each existing test case to test
each case w/ and w/o the tweakless modifier.
2019-09-25 18:25:55 -07:00
..
backup_task_internal_test.go watchtower+htlcswitch: update client tower logic to recognize safu commitments 2019-09-25 18:25:55 -07:00
backup_task.go watchtower+htlcswitch: update client tower logic to recognize safu commitments 2019-09-25 18:25:55 -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+htlcswitch: update client tower logic to recognize safu commitments 2019-09-25 18:25:55 -07:00
client.go watchtower+htlcswitch: update client tower logic to recognize safu commitments 2019-09-25 18:25:55 -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/wtclient: only reset iterator once we've exhausted all candidates 2019-07-30 15:18:18 -07:00
session_queue.go multi: remove dead code 2019-09-10 17:21:59 +02: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