error message:
########## BAD BLOCK #########
Chain config: {ChainID: 1 Homestead: 1150000 DAO: 1920000 DAOSupport: true EIP150: 2463000 EIP155: 2675000 EIP158: 2675000 Byzantium: 4370000 Constantinople: 7280000 Petersburg: 7280000 Istanbul: 9069000, Muir Glacier: 9200000, Engine: ethash}
Number: 9069000
Hash: 0x072cf1df374159c5f23087750d8a2f3201542da196939ce446ff2c5c390fe5f6
·································································
·································································
·································································
·································································
·································································
Error: invalid gas used (remote: 6395997 local: 6449093)
##############################
WARN [12-10|12:01:11.813] Synchronisation failed, dropping peer peer=106a4c4cba9167bf err="retrieved hash chain is invalid"
environment h3>
Geth
Version: 1.9.7
Architecture: amd64
Protocol Versions: [64 63]
Go Version: go1.13.1
Operating System: Linux
cause:
ethereum update 2.0, starting with block 9069000, found on github that this error
occurs with version 1.9.8 1.9.7
scheme:
updates geth to version 1.9.9. The following provides an update method
p>
centos7 environment
- select the latest version to download geth download address
wget -c https://github.com/ethereum/go-ethereum/archive/v1.9.9.zip
- download good, unzip (no unzip download a unzip)
unzip v1.9.9.zip
- then enter the directory, make geth
cd go-ethereum-1.9.9
make geth
- if make geth for a long time no response, probably is the problem of the network, add a proxy, command line input:
export GOPROXY=https://goproxy.cn
-
and then re-make geth is ok.
-
after loading, check the version of geth. If it is still the original version, delete the original geth command
export PATH=$PATH:~/go-ethereum-1.9.9/build/bin/
$PATH:for your geth command
vim /etc/profile
- and then refresh
source /etc/profile
check the next version should be ok
and then back on track, pull block
Read More:
- Go get github.com/kotakanbe/go -Problems encountered in CVE dictionary Download
- Install Java runtime JRE in Ubuntu 16.04
- The Ethereum private chain is built, and the block information cannot be synchronized. The error is resolved: Node data write error err=”state node failed with all peers(1 tries, 1 peers)
- Built on Ethereum, puppeth cannot be used to create the initial block, and an error is reported Fatal: Failed to write genesis block: unsupported fork ordering: eip15
- Command not found: ADB appears on Mac
- Could’t find path to unrear Library
- Troubleshooting of Ubuntu wrk installation error
- ExecutableNotFound: failed to execute [‘dot’, ‘-Tsvg’], make sure the Graphviz executables are on yo
- How to Cancel pending transactions on Ethereum
- UnicodeEncodeError: ‘ascii’ codec can’t encode characters in position 0-2: ordinal not in range(128)
- How to solve the problem of failed installation of golang plug-in dependency in vscode under Windows
- eclipse cdt Program “make” not found in PATH
- unrecognized relocation (0x2a) in section `.text`
- Git solves the problem of failed: http request failed
- Solve the problem of prompt couldn’t find path to unrear library after installing unrear in Python
- How to Fix unexpected directory layout in go language
- How to solve the problem of Cannot find module’npmlog’ when installing nodejs under Linux
- Solutions to the failure of importing Python 3.7 SSL module
- Installing GCC reduced version GCC 4.4.6 under Linux
- unzip error 22 – Invalid argument