Remove signing local commitment transaction from ChannelMonitor
authorAntoine Riard <ariard@student.42.fr>
Fri, 20 Mar 2020 22:04:01 +0000 (18:04 -0400)
committerAntoine Riard <ariard@student.42.fr>
Thu, 16 Apr 2020 02:23:01 +0000 (22:23 -0400)
Extend external signer interface to sign local commitment transactions
on its behalf without seckey passing. This move will allow us to remove
key access from ChannelMonitor hot memory in further work.

Local commitment transaction should stay half-signed by remote until
we need to broadcast for a channel force-close or a HTLC to timeout onchain.

Add an unsafe test-only version of sign_local_commitment to fulfill our
test_framework needs.


No differences found