lnd/watchtower
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
..
blob watchtower/multi: define blob TypeAltruistCommit and TypeRewardCommit 2019-06-13 19:54:21 -07:00
lookout watchtower+htlcswitch: update client tower logic to recognize safu commitments 2019-09-25 18:25:55 -07:00
wtclient watchtower+htlcswitch: update client tower logic to recognize safu commitments 2019-09-25 18:25:55 -07:00
wtdb multi: remove dead code 2019-09-10 17:21:59 +02: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 multi: remove dead code 2019-09-10 17:21:59 +02:00
standalone.go watchtowerrpc/standalone: implement watchtowerrpc.WatchtowerBackend iface 2019-06-20 17:04:04 -07:00