Skip to main content

Module post_bundle_manager

Module post_bundle_manager 

Source
Expand description

§Post-bundle lookup trait

One trait — PostBundleManager — that maps a (BucketLocation, TimeMillis) to an EncodedPostBundleV1. Implementations decide whether to serve from the local cache, pull from one peer, or heal from several, but timeline logic (crate::client::timeline) only sees the trait. That keeps the walk algorithm network-free and lets tests plug in deterministic stubs.

Traits§

PostBundleManager
The abstract lookup from “give me the posts at this (location, time) bucket” to an EncodedPostBundleV1.