rocket-pool / smartnode-install

The install script for a Rocket Pool smart node.
GNU General Public License v3.0
129 stars 77 forks source link

Add Nethermind correct variables for fast sync #98

Closed shayanb closed 1 year ago

shayanb commented 1 year ago

Based on the personal experience running Nethermind using rocketpool cli, and debugging through Nethermind discord, it turns out the fast sync requires to have proper values for AncientBodiesBarrier and AncientReceiptsBarrier to be effective.

This pull request adds the correct values based on the sample config (and discord conversation): https://docs.nethermind.io/nethermind/ethereum-client/configuration/sample-configuration

This PR also includes a minor typo fix in the ec script.

shayanb commented 1 year ago

Closing this PR for a better method to implement it in another PR later.

From Nethermind discord:

AncientBodiesBarrier and AncientReceiptsBarrier are network dependant. 
so they will be different for georli than for mainnet. need to keep that in mind when writing the PR.
actually removing them is the better option here. 
since we specify them in the config of the network with the nethermind binary.