]> 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>
Wed, 17 Jul 2024 14:36:48 +0000 (14:36 +0000)
commitd6f6ba803d999e384a1692f1cf46644115d2edb6
treea180d7ef374a91ed8bda521a69542579c9905b32
parentf6d3ce5c1db5465ef06228ffd670fd29c48561f0
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