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>
Wed, 6 May 2020 10:24:52 +0000 (06:24 -0400)
commit6c78c6da7788eb351a368302c1d32c959b5fc93f
tree3e58ad8cbaea9abb8d95e15c3e21ed14af8e3509
parente26c4e9e864582b66dbd0174414c4f0b3ec90ed5
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