lnd.xprv/watchtower/lookout
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
..
interface.go watchtower/multi: move BreachHint to blob pkg 2019-06-13 17:40:04 -07:00
justice_descriptor_test.go watchtower+htlcswitch: update client tower logic to recognize safu commitments 2019-09-25 18:25:55 -07:00
justice_descriptor.go watchtower/multi: use ComputeJusticeTxOuts, test altruist+reward 2019-02-01 17:30:13 -08:00
log.go watchtower/lookout/log: adds lookout subsystem logger 2018-10-31 20:42:07 -07:00
lookout_test.go watchtower/multi: use sane sweep fee rate in unit tests 2019-06-13 19:54:22 -07:00
lookout.go watchtower/multi: use new blob.BreachKey for enc/dec of justice kits 2019-06-13 19:54:17 -07:00
mock.go watchtower/lookout/mock: adds mock backend 2018-10-31 20:42:14 -07:00
punisher.go multi: remove ErrDoubleSpend check for PublishTransaction 2019-03-13 17:57:19 -07:00