Remove signing htlc transaction from ChannelMonitor
authorAntoine Riard <ariard@student.42.fr>
Sat, 21 Mar 2020 19:39:19 +0000 (15:39 -0400)
committerAntoine Riard <ariard@student.42.fr>
Fri, 17 Apr 2020 21:43:50 +0000 (17:43 -0400)
commitc2347d61b442e6ea78b48a18d04dda7171a6c6e8
treee0448947c17edd55a2c3a26aa47e49483f983a4f
parent7e395e0265c8cad41dd23ba4d6804c158cbba99e
Remove signing htlc transaction from ChannelMonitor

Extend external signer interface to sign HTLC transactions on its
behalf without seckey passing. This move will allow us to remove
key access access from ChannelMonitor hot memory in further work.

HTLC transactions should stay half-signed by remote until
we need to broadcast them for timing-out/claiming HTLCs onchain.
lightning/src/chain/keysinterface.rs
lightning/src/ln/chan_utils.rs
lightning/src/ln/channel.rs
lightning/src/ln/channelmonitor.rs
lightning/src/util/enforcing_trait_impls.rs