Ethereum Asked by Div on August 26, 2021
I’m trying to restore blockchain using import a rlp file
geth import backup.rlp
It show an error
Is there any way to exclude the bad blocks while exporting the chain data?
Also, if the gcmode
is archive
then only can get past data of smart contract state?
Geth version: 1.8.16
Looking at the image, it seems to me you are importing the backup of a private network to a node initializated with the Mainnet.
I suspect this because:
If this is the case, just remove the geth database:
$ geth removedb
and init again with the correct genesis block:
$ geth --networkid [yourNetworkID] init [yourGenesisFile.json]
If you don't remember the networkID, you should be able to read it in the genesis file.
Correct answer by Giuseppe Bertone on August 26, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP