This config downloads a minimal amount of bodies and receipts to be able to serve ETH2 validator requests since the deposit contract deployment. It also enables JSON RPC (make sure that you do not open firewall to the outside world!)
./Nethermind.Runner --config mainnet --JsonRpc.Enabled true --Sync.DownloadBodiesInFastSync true --Sync.DownloadReceiptsInFastSync true --Sync.AncientBodiesBarrier 11052984 --Sync.AncientReceiptsBarrier 11052984 --Init.BaseDbPath /your/db/path
If you synced with versions before 1.9.39:
Update to 1.9.39 and launch it once with '--Sync.FixReceipts true' and this should heal your database if it is missing any logs / receipts. Please make sure that follow the Upgrade guidelines:
If you have any issues, please reach out on Discord: https://discord.gg/X539yhn
You can find more details on running validators in the docs -> for AuRa and for Clique.
Try changing the config to a lower number (--Network.ActivePeersMaxCount 25
)
Your node is synced when it shows log lines starting with:
Processed ...
And the block numbers shown are at the head of the chain.
In blockchain any node can never be 100% sure it is synced because there is no central source of truth - so your node is generally not able to tell you that it is synced but it is able to tell you that it believes it is synced based on what it know from the peers that it talks to).