Crate arweave_rs_indexes

Source
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 BlockIndex from an arweave peer using the /block_index endpoint.

Structs§

BlockIndex
Stores an index of {block_hash, weave_size, tx_root} entries for each of Arweaves’ blocks. Implemented using the type state pattern which has Initialized and Uninitialized states that are checked at compile time.
Initialized
This struct represents the Initialized type state.
Uninitialized
This struct represents the Uninitialized type state.