Expand description
Implementation of indexes for caching network state (and the modules that initialize them from the Arweave peers).
Modules§
- block_
index - Manages a list of
{block_hash, weave_size, tx_root}entries, indexed by block height. - block_
index_ scraper - Populates the
BlockIndexfrom an arweave peer using the/block_indexendpoint.
Structs§
- Block
Index - Stores an index of
{block_hash, weave_size, tx_root}entries for each of Arweaves’ blocks. Implemented using the type state pattern which hasInitializedandUninitializedstates that are checked at compile time. - Initialized
- This struct represents the
Initializedtype state. - Uninitialized
- This struct represents the
Uninitializedtype state.