Cache remote HTLC inside OnchainTxHandler::RemoteTxCache
authorAntoine Riard <ariard@student.42.fr>
Tue, 24 Mar 2020 02:17:46 +0000 (22:17 -0400)
committerAntoine Riard <ariard@student.42.fr>
Mon, 18 May 2020 08:39:26 +0000 (04:39 -0400)
commit275814cc1db90b72b2f44272f33cd1346395231a
tree523d98a5f6540770d680ef40348966def3370108
parent6b1afcc313b2f031e568b695cd83fc53c18abd4c
Cache remote HTLC inside OnchainTxHandler::RemoteTxCache

As we can't predict if any and which revoked commitment tx is
going to appear onchain we have by design to cache all htlc information
to regenerate htlc script if needed.
lightning/src/ln/channelmonitor.rs
lightning/src/ln/onchaintx.rs