]> git.bitcoin.ninja Git - rust-lightning/commit
Store both min and max historical buckets in one, new, struct
authorMatt Corallo <git@bluematt.me>
Sat, 9 Dec 2023 03:32:40 +0000 (03:32 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 19 Aug 2024 14:25:48 +0000 (14:25 +0000)
commitc62e346b5dd931b4dcaae56923b498b180b7ffe9
treed76df8596e52341ea704b2440b6b8b493c9a934f
parentdcc84dee4d0e87e07187b7b6cad0398264ba411e
Store both min and max historical buckets in one, new, struct

In the coming commits we'll isolate historical bucket logic slightly
further, allowing us to cache some state. This is the first step
towards that, storing the historical liquidity information in a new
`HistoricalLiquidityTracker` rather than in the general
`ChannelLiquidity`.
lightning/src/routing/scoring.rs