Module request

Source
Expand description

State [tower::Service] request types.

Structs§

CheckpointVerifiedBlock
A block ready to be committed directly to the finalized state with a small number of checks if compared with a ContextuallyVerifiedBlock.
ContextuallyVerifiedBlock
A contextually verified block, ready to be committed directly to the finalized state with no checks, if it becomes the root of the best non-finalized chain.
FinalizedBlock
Contains a block with all its associated data that the finalized state can commit to its database.
SemanticallyVerifiedBlock
A block which has undergone semantic validation and has been prepared for contextual validation.
Treestate
Wraps note commitment trees and the history tree together.

Enums§

FinalizableBlock
Contains a block ready to be committed.
HashOrHeight
Identify a block by hash or height.
ReadRequest
A read-only query about the chain state, via the ReadStateService.
Request
A query about or modification to the chain state, via the StateService.
Spend
Identify a spend by a transparent outpoint or revealed nullifier.