mirror of
https://github.com/status-im/EIPs.git
synced 2025-02-23 12:18:16 +00:00
EIP-3675: update Network section (#3714)
This commit is contained in:
parent
f2494e6a09
commit
ac1fcbce60
@ -116,11 +116,15 @@ The networking stack **SHOULD NOT** send the following messages if they advertis
|
|||||||
* [`NewBlockHashes (0x01)`](https://github.com/ethereum/devp2p/blob/master/caps/eth.md#newblockhashes-0x01)
|
* [`NewBlockHashes (0x01)`](https://github.com/ethereum/devp2p/blob/master/caps/eth.md#newblockhashes-0x01)
|
||||||
* [`NewBlock (0x07)`](https://github.com/ethereum/devp2p/blob/master/caps/eth.md#newblock-0x07)
|
* [`NewBlock (0x07)`](https://github.com/ethereum/devp2p/blob/master/caps/eth.md#newblock-0x07)
|
||||||
|
|
||||||
Beginning with the first `POS_BLOCK_FINALIZED` event, the networking stack **MUST** remove the handlers corresponding to the following ETH protocol messages:
|
Beginning with the first `POS_BLOCK_FINALIZED` event, the networking stack **MUST** discard the following ingress messages:
|
||||||
* [`NewBlockHashes (0x01)`](https://github.com/ethereum/devp2p/blob/master/caps/eth.md#newblockhashes-0x01)
|
* [`NewBlockHashes (0x01)`](https://github.com/ethereum/devp2p/blob/master/caps/eth.md#newblockhashes-0x01)
|
||||||
* [`NewBlock (0x07)`](https://github.com/ethereum/devp2p/blob/master/caps/eth.md#newblock-0x07)
|
* [`NewBlock (0x07)`](https://github.com/ethereum/devp2p/blob/master/caps/eth.md#newblock-0x07)
|
||||||
|
|
||||||
Beginning with the first `POS_BLOCK_FINALIZED` event, peers that keep sending these messages **SHOULD** be disconnected.
|
Beginning with the second `POS_BLOCK_FINALIZED` event, the networking stack **MUST** remove the handlers corresponding to the following messages:
|
||||||
|
* [`NewBlockHashes (0x01)`](https://github.com/ethereum/devp2p/blob/master/caps/eth.md#newblockhashes-0x01)
|
||||||
|
* [`NewBlock (0x07)`](https://github.com/ethereum/devp2p/blob/master/caps/eth.md#newblock-0x07)
|
||||||
|
|
||||||
|
Peers that keep sending these messages after the handlers have been removed **SHOULD** be disconnected.
|
||||||
|
|
||||||
*Note:* The logic of message handlers that are not affected by this section **MUST** remain unchanged.
|
*Note:* The logic of message handlers that are not affected by this section **MUST** remain unchanged.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user