Cache HTLC transaction material inside OnchainTxHandler
authorAntoine Riard <ariard@student.42.fr>
Tue, 7 Apr 2020 22:46:14 +0000 (18:46 -0400)
committerAntoine Riard <ariard@student.42.fr>
Fri, 17 Apr 2020 21:43:50 +0000 (17:43 -0400)
commit010fb3051c7df052df6d487d57309cd750eb0e2d
tree4a4c04ac1d0bad0a0e33e8851f28f99aa926650c
parentc2347d61b442e6ea78b48a18d04dda7171a6c6e8
Cache HTLC transaction material inside OnchainTxHandler

Splitting further parsing from transaction generation, we cache
transaction elements needed for local HTLC transaction inside
OnchainTxHandler. Duplicated data will be removed from ChannelMonitor
in future commits.
lightning/src/ln/channelmonitor.rs
lightning/src/ln/onchaintx.rs