Module vapcore_light::cache[][src]

Cache for data fetched from the network.

Stores ancient block headers, bodies, receipts, and total difficulties. Furthermore, stores a “gas price corpus” of relative recency, which is a sorted vector of all gas prices from a recent range of blocks.

Structs

Cache

The light client data cache.

CacheSizes

Configuration for how much data to cache.