How do I address these checkblock errors? "CheckBlockHeader() : block timestamp too far in the future"

+1 vote

2017-12-13 14:09:06 CreateNewBlock(): total size 1000

2017-12-13 14:09:06 MultiChainMiner: Block Found - 0000f3ecd148c49cc91e2d1ead19bfdcb52a784c258efa676b89d8e753c25205, prev: 0000a2b27676cd9ac19e6538a34602ce1761d8723df2e8dff3699392dca6c6ab, height: 35772, txs: 1

2017-12-13 14:09:06 UpdateTip:            new best=0000f3ecd148c49cc91e2d1ead19bfdcb52a784c258efa676b89d8e753c25205  height=35772  log2_work=31.126606  tx=36457  date=2017-12-13 14:12:06 progress=1.000000  cache=0

2017-12-13 14:09:06 CreateNewBlock(): total size 1000

2017-12-13 14:09:06 MultiChainMiner: Block Found - 000037d0c79e3d34fd94a4d98b6a9d673491157de5da28a93e04937934dcb51f, prev: 0000f3ecd148c49cc91e2d1ead19bfdcb52a784c258efa676b89d8e753c25205, height: 35773, txs: 1

2017-12-13 14:09:06 UpdateTip:            new best=000037d0c79e3d34fd94a4d98b6a9d673491157de5da28a93e04937934dcb51f  height=35773  log2_work=31.126646  tx=36458  date=2017-12-13 14:12:06 progress=1.000000  cache=0

2017-12-13 14:09:06 CreateNewBlock(): total size 1000

2017-12-13 14:09:06 MultiChainMiner: Block Found - 0000083bd9ad4d5fbd3a1c1da4d24d091f4b7b07906ebc79fba7c7a3eaaa9e3b, prev: 000037d0c79e3d34fd94a4d98b6a9d673491157de5da28a93e04937934dcb51f, height: 35774, txs: 1

2017-12-13 14:09:06 ERROR: CheckBlockHeader() : block timestamp too far in the future

2017-12-13 14:09:06 ERROR: ProcessNewBlock : CheckBlock FAILED

2017-12-13 14:09:06 ERROR: MultiChainMiner : ProcessNewBlock, block not accepted

2017-12-13 14:09:07 CreateNewBlock(): total size 1000

asked Dec 13, 2017 by danieljamesbertrand

1 Answer

+1 vote
It looks like your node is connected to other node(s) with very different time. When creating the block, adjusted timestamp is used (i.e. some average time between this node and the nodes it is connected to). So you see 14:12 in block timestamp, while your node's clock is 14:09.

You can fix this by adjusting the clock on all nodes, by running ntpd.
answered Dec 14, 2017 by Michael
...