Expand description
A Task that manages sending proof requests to a number of tasks that have longer-running database transactions.
The ProofTaskManager
ensures that there are a max number of currently executing proof tasks,
and is responsible for managing the fixed number of database transactions created at the start
of the task.
Individual ProofTaskTx
instances manage a dedicated [InMemoryTrieCursorFactory
] and
[HashedPostStateCursorFactory
], which are each backed by a database transaction.
Structs§
- Proof
Task Ctx - Data used for initializing cursor factories that is shared across all storage proof instances.
- Proof
Task Manager - A task that manages sending multiproof requests to a number of tasks that have longer-running database transactions
- Proof
Task Manager Handle - A handle that wraps a single proof task sender that sends a terminate message on
Drop
if the number of active handles went to zero. - Proof
Task Tx - This contains all information shared between all storage proof instances.
- Storage
Proof Input - This represents an input for a storage proof.
Enums§
- Proof
Task Blinded Node Provider - Blinded node provider for retrieving trie nodes by path.
- Proof
Task Kind - Proof task kind.
- Proof
Task Message - Message used to communicate with
ProofTaskManager
.