]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Make commitment transaction signing a part of ChannelKeys.
authorMatt Corallo <git@bluematt.me>
Wed, 27 Nov 2019 21:08:48 +0000 (16:08 -0500)
committerMatt Corallo <git@bluematt.me>
Wed, 11 Dec 2019 22:29:42 +0000 (17:29 -0500)
This adds a new fn to ChannelKeys which is called when we generte
a new remote commitment transaction for signing. While it may be
theoretically possible to unwind state updates by disconnecting and
reconnecting as well as making appropriate state machine changes,
the effort required to get it correct likely outweighs the UX cost
of "preflighting" the requests to hardwre wallets.


No differences found