Add ChanSigner in OnchainTxHandler
authorAntoine Riard <ariard@student.42.fr>
Wed, 18 Mar 2020 04:29:26 +0000 (00:29 -0400)
committerAntoine Riard <ariard@student.42.fr>
Sat, 21 Mar 2020 21:03:48 +0000 (17:03 -0400)
Rename ChannelMonitor::Storage to OnchainDetection,
holder of channel state (base_key+per_commitment_point)
to detect onchain transactions accordingly.

Going further between splitting detection and transaction
generation, we endow OnchainTxHandler with keys access.
That way, in latter commits, we may remove secret keys entirely
from ChannelMonitor.


No differences found