Skip to main content

EARLY_RELAY_PARENT_TIMEOUT

Constant EARLY_RELAY_PARENT_TIMEOUT 

Source
const EARLY_RELAY_PARENT_TIMEOUT: Duration;
Expand description

How long to wait for the parent of a block from a peer that negotiated compact block relay to become the best tip, when the block fails later validation first.

The peer can relay the block once its parent is the peer’s best tip, so the block can fail here before its parent is committed. Timing out keeps the peer’s score.