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>
Sun, 10 Dec 2023 16:39:18 +0000 (16:39 +0000)
commit2b62d69aef4676b311b23157dbe06cf131773407
tree8fd06801f63e120f57cc4d7b3c66986190ff2a4f
parenteb75838dc270bd6747c544ae43475eaf04a316cb
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