From 2ad8fdb818f58778391d93540892d35570f33237 Mon Sep 17 00:00:00 2001 From: Danny Ryan Date: Wed, 13 Jan 2021 18:03:40 -0700 Subject: [PATCH] add ability for node to randomly request and descore if not serving blocks on WS period --- specs/phase0/p2p-interface.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/specs/phase0/p2p-interface.md b/specs/phase0/p2p-interface.md index df17258ab..4a412ac19 100644 --- a/specs/phase0/p2p-interface.md +++ b/specs/phase0/p2p-interface.md @@ -753,6 +753,11 @@ Clients MUST keep a record of signed blocks seen on the epoch range where `current_epoch` is defined by the current wall-clock time, and clients MUST support serving requests of blocks on this range. +Synced clients unable to reply to Block requests within the +`MIN_EPOCHS_FOR_BLOCK_REQUESTS` epoch range MAY get descored or disconnected at any time. +Note, due to this it is risky behaviour to begin participating as a full node at the head if having +not yet backfilled on this range. + *Note*: The above requirement implies that nodes that start from a recent weak subjectivity checkpoint MUST backfill the local block database to at least epoch `current_epoch - MIN_EPOCHS_FOR_BLOCK_REQUESTS` to be compliant with `BlocksByRange` requests. To safely perform such a