Open
Description
I am trying to catch up with the mainnet synchronization progress using a snapshot. After I extracted the files from the snapshot to use as the data directory, I restarted the node and encountered the following errors:
WARN [06-05|12:29:17] Head state missing, repairing chain number=84044732 hash=90ca27…e81ae9
WARN [06-05|12:29:49] [initial] initial v2 related parameters
WARN [06-05|12:29:49] [initial] miner wait period period=2
WARN [06-05|12:29:49] [initial] finish initialisation
WARN [06-05|13:21:22] Failed to unregister sync peer peer=d838ae731fa6849b err="peer is not registered"
WARN [06-05|13:21:27] Full stats report failed err="ping timed out"
WARN [06-05|13:21:28] Failed to retrieve stats server message err="read tcp 172.18.0.2:47678->45.82.64.150:3000: use of closed network connection"
ERROR[06-05|13:23:42] [V2 Hook Penalty] parentHeader is nil, wait too long not written to disk parentNumber=84085192
ERROR[06-05|13:23:42] [calcMasternodes] Adaptor v2 HookPenalty has error err="parentHeader is nil"
ERROR[06-05|13:23:42] [verifyHeader] Fail to calculate master nodes list with penalty Number=84085193 Hash=45599a…27a65a
WARN [06-05|13:23:42] [VerifyHeaders] Fail to verify header fullVerify=true blockNum=84085193 blockHash=45599a…27a65a error="parentHeader is nil"
ERROR[06-05|13:23:52]
########## BAD BLOCK #########
Chain config: {"chainId":50,"homesteadBlock":1,"eip150Block":2,"eip150Hash":"0x0000000000000000000000000000000000000000000000000000000000000000","eip155Block":3,"eip158Block":3,"byzantiumBlock":4,"XDPoS":{"period":2,"epoch":900,"reward":5000,"rewardCheckpoint":900,"gap":450,"foundationWalletAddr":"0x92a289fe95a85c53b8d0d113cbaef0c1ec98ac65","SkipV1Validation":false,"v2":{"switchBlock":80370000,"config":{"maxMasternodes":108,"switchRound":3200000,"minePeriod":2,"timeoutSyncThreshold":3,"timeoutPeriod":10,"certificateThreshold":0.667},"allConfigs":{"0":{"maxMasternodes":108,"switchRound":0,"minePeriod":2,"timeoutSyncThreshold":3,"timeoutPeriod":30,"certificateThreshold":0.667},"2000":{"maxMasternodes":108,"switchRound":2000,"minePeriod":2,"timeoutSyncThreshold":2,"timeoutPeriod":600,"certificateThreshold":0.667},"220000":{"maxMasternodes":108,"switchRound":220000,"minePeriod":2,"timeoutSyncThreshold":2,"timeoutPeriod":30,"certificateThreshold":0.667},"3200000":{"maxMasternodes":108,"switchRound":3200000,"minePeriod":2,"timeoutSyncThreshold":3,"timeoutPeriod":10,"certificateThreshold":0.667},"460000":{"maxMasternodes":108,"switchRound":460000,"minePeriod":2,"timeoutSyncThreshold":2,"timeoutPeriod":20,"certificateThreshold":0.667},"8000":{"maxMasternodes":108,"switchRound":8000,"minePeriod":2,"timeoutSyncThreshold":2,"timeoutPeriod":60,"certificateThreshold":0.667}},"SkipV2Validation":false}}}
Number: 84085193
Hash: 0x45599a157336acafd6e3a7f17560460eb7605389b430585374c362947f27a65a
Round: 3766501
Error: parentHeader is nil
##############################
- The steps I followed and the snapshot file came from: XDC Network Documentation.
- The docker image I am using:xinfinorg/xdposchain:v2.4.1
Metadata
Metadata
Assignees
Labels
No labels