Skip to main content

Module submit_block

Module submit_block 

Source
Expand description

Parameter and response types for the submitblock RPC.

Structs§

SubmitBlockChannel
A submit block channel, used to inform the gossip task about mined blocks.
SubmitBlockParameters
Optional argument jsonparametersobject for submitblock RPC request

Enums§

SubmitBlockErrorResponse
Response to a submitblock RPC request.
SubmitBlockResponse
Response to a submitblock RPC request.

Constants§

SUBMIT_BLOCK_TIMEOUT 🔒
How long submitblock waits for a block to be verified and committed, before it returns inconclusive.
SUBMIT_BLOCK_VERIFY_TIMEOUT 🔒
How long the verification of a submitted block carries on in the background, after submitblock has returned inconclusive for it.