Skip to main content

Crate saorsa_rsps

Crate saorsa_rsps 

Source
Expand description

§DHT RSPS - Root-Scoped Provider Summaries

This crate implements Root-Scoped Provider Summaries using Golomb Coded Sets (GCS) for efficient DHT lookups and cache management in the P2P network.

§Features

  • Golomb Coded Sets for space-efficient CID summaries
  • Root-anchored cache admission policies
  • TTL management with hit and receipt tracking
  • Witness receipts with VRF pseudonyms

Re-exports§

pub use cache::CachePolicy;
pub use cache::RootAnchoredCache;
pub use gcs::GcsBuilder;
pub use gcs::GolombCodedSet;
pub use ttl::TtlConfig;
pub use ttl::TtlEngine;
pub use ttl::TtlStats;
pub use witness::VrfPseudonym;
pub use witness::WitnessKey;
pub use witness::WitnessReceipt;

Modules§

cache
Root-anchored cache admission and eviction policies
crypto
gcs
Golomb Coded Set implementation for space-efficient probabilistic data structures
ttl
TTL management engine with hit and receipt tracking
witness
Witness receipts with VRF pseudonyms for privacy-preserving attestation

Structs§

Rsps
Root-Scoped Provider Summary
RspsConfig
RSPS configuration

Enums§

RspsError
Errors that can occur in RSPS operations

Type Aliases§

Cid
Content identifier (CID) type
Result
RootCid
Root identifier