Skip to main content

Module node

Module node 

Source
Expand description

Wrapper type to create test nodes

Structs§

MinedBlock
A block mined by NodeTestContext::mine, NodeTestContext::mine_including, NodeTestContext::mine_signed or NodeTestContext::mine_pooled.
NodeTestContext
A helper struct to handle node actions
StoppedNode
A test node that was stopped with NodeTestContext::stop.

Enums§

Finality
Which blocks NodeTestContext::import_payload marks as safe and finalized when it makes a block the head.

Constants§

DATABASE_RELEASE_TIMEOUT
Maximum time NodeTestContext::stop waits for the database of a node to be released after the node shut down.
RPC_PROVIDER_POLL_INTERVAL
Interval at which the alloy providers of NodeTestContext poll the node, e.g. for receipts of pending transactions.

Type Aliases§

MinedBlockFuture
The future returned by NodeTestContext::mine and the related mining helpers.