Skip to main content

MINING_CANDIDATE_TIMEOUT

Constant MINING_CANDIDATE_TIMEOUT 

Source
const MINING_CANDIDATE_TIMEOUT: Duration;
Expand description

How long early mining work on a block stays available while the block is being verified.

Blocks are verified in well under a second. This bounds how long miners build on a block with a valid proof of work whose verification has stalled, for example on a transparent input that doesn’t exist. A block that takes longer to verify is mined on once it is committed, as it would be without early work.