You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have a way to delay syncing by a specific amount of blocks.
1. Designing the Delayed Sync Mechanism:
The first step would be to design a delayed sync mechanism that allows the node to only sync up to a certain block, which is "n" blocks behind the current head of the chain. This design must consider the implications of not participating in the propagation of the most recent blocks, including potential impacts on network health and security.
2. Modifications to the Beacon Node:
Custom Sync Strategy: Implement a custom sync strategy in the Beacon node that supports syncing to a block that is "n" blocks behind the head. This strategy would need to periodically update which block is considered the "delayed head" as new blocks are finalized.
API for Block Retrieval: Enhance the Beacon node's API to allow retrieval of blocks up to the "delayed head" only, ensuring that clients connected to the Beacon node cannot access or propagate blocks beyond this point.
3. Execution Layer Adjustments:
Compliance with Delayed Sync: Ensure that the execution layer client (e.g., Geth) can operate in a mode that respects the delayed sync strategy, only processing and executing transactions up to the "delayed head."
Disabling the Transaction Pool: Implement an option to disable the transaction pool to prevent the node from propagating transactions, addressing part of the compliance requirement.
4. Peer Management and Gossip Protocol:
Modified Gossip Behavior: Adjust the P2P gossip protocol to prevent the node from receiving or propagating blocks newer than the "delayed head." This may involve modifications to the libp2p gossipsub protocol used by Ethereum nodes.
Peer Connectivity: Implement logic to manage peer connections effectively, ensuring that the node does not become a poor network participant due to its inability to propagate the latest blocks.
Describe the solution you'd like
Have a flag called --delay-sync that takes an input integer argument to specify the number of blocks to delay syncing.
Describe alternatives you've considered
We are open to using any consensus layer client interested in supporting this feature.
The text was updated successfully, but these errors were encountered:
馃殌 Feature Request
Description
Have a way to delay syncing by a specific amount of blocks.
1. Designing the Delayed Sync Mechanism:
The first step would be to design a delayed sync mechanism that allows the node to only sync up to a certain block, which is "n" blocks behind the current head of the chain. This design must consider the implications of not participating in the propagation of the most recent blocks, including potential impacts on network health and security.
2. Modifications to the Beacon Node:
3. Execution Layer Adjustments:
4. Peer Management and Gossip Protocol:
Describe the solution you'd like
Have a flag called
--delay-sync
that takes an input integer argument to specify the number of blocks to delay syncing.Describe alternatives you've considered
We are open to using any consensus layer client interested in supporting this feature.
The text was updated successfully, but these errors were encountered: