]> 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>
Mon, 19 Aug 2024 14:25:58 +0000 (14:25 +0000)
commit3bd81403018c16b6d1e2586788630624563efdbb
treedf17cc7d683571e432a9362310d6455e98556d28
parentc62e346b5dd931b4dcaae56923b498b180b7ffe9
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