]> git.bitcoin.ninja Git - rust-lightning/commit
Cache per-HTLC data in OnchainTxHandler::HTLCTxCache
authorAntoine Riard <ariard@student.42.fr>
Sat, 21 Mar 2020 22:52:00 +0000 (18:52 -0400)
committerAntoine Riard <ariard@student.42.fr>
Fri, 17 Apr 2020 21:43:50 +0000 (17:43 -0400)
commit080afeb6ea5746ac076658c723492e3d6d257ceb
tree4e8c8bb26d35d021f1f06245782fb68f34285ded
parent010fb3051c7df052df6d487d57309cd750eb0e2d
Cache per-HTLC data in OnchainTxHandler::HTLCTxCache

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