I have created a private network using geth in ubuntu, but it takes date & time from the system on which it runs. So if the system date of the master node is changed, it affects syncing on the slave nodes.


"config": {
"chainId": id,
"homesteadBlock": 0,
"eip155Block": 0,
"eip158Block": 0
"alloc": {
"0x0000000000000000000000000000000000000001": {"balance": 
"0x0000000000000000000000000000000000000002": {"balance": "222222222"}
"coinbase"   : "0x0000000000000000000000000000000000000001",
"difficulty" : "0x0",
"extraData"  : "",
"gasLimit"   : "9000000000",
"nonce"      : "0x0000000000000042",
"mixhash"    : 
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"timestamp"  : "0x00"
  • Can you add some info on your setup? What OS are you using? Are you running all Geth instances directly on your machine or do you have VM or containers? Do you already have an NTP client running on this machine? – Nicolas Massart Jul 2 at 10:56
  • Geth instances are executed directly on machine with geth command and I'm not using NTP client. – angelmaria Jul 2 at 12:12
  • can you provide the other infos? OS at least and if you are running VMs nor Docker. Thanks. – Nicolas Massart Jul 2 at 13:19
  • I mean assuming all your nodes are running on the same machine, I can't see why each node don't have the same date and time. So the only way I see is that either you have multiple machines or VM/container context – Nicolas Massart Jul 2 at 13:20
  • 1
    Ok, so yes your machines are maybe not in sync on the time. Using a NTP client will help. – Nicolas Massart Jul 3 at 6:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.