Expand description
Iterators for blocks in the non-finalized and finalized state.
Structsยง
- Iter ๐
- Generic state chain iterator, which iterates by block height or hash.
Can be used for blocks, block headers, or any type indexed by
HashOrHeight
.
Traitsยง
- Chain
Item ๐ - A trait that implements iteration for a specific chain type.
Functionsยง
- any_
ancestor_ ๐blocks - Returns a block iterator over the relevant chain containing
hash
, in order from the largest height to genesis. - any_
chain_ ๐ancestor_ iter - Returns a generic chain item iterator over the relevant chain containing
hash
, in order from the largest height to genesis. - known_
chain_ ๐ancestor_ iter - Returns a generic chain item iterator over a
chain
containinghash_or_height
, in order from the largest height to genesis.