]> git.bitcoin.ninja Git - rust-lightning/commit
Make the historical bucket data private to `bucketed_history`
authorMatt Corallo <git@bluematt.me>
Sat, 9 Dec 2023 04:29:12 +0000 (04:29 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 17 Jul 2024 14:36:48 +0000 (14:36 +0000)
commite5b5c80fa5da594ebdb75aea3e2f78a39e0d5a9f
treeb87b6c69e3604c9ab46575336002df891d8ac377
parentd6f6ba803d999e384a1692f1cf46644115d2edb6
Make the historical bucket data private to `bucketed_history`

In a comming commit we'll cache some additional data in the
historical bucket tracker. In order to do so, here we isolate the
buckets themselves into the `bucketed_history` module, reducing
the possibility of accidentally updating them directly without
updating caches.
lightning/src/routing/scoring.rs