Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Release v1.1.12 is a performance release. the following two features are introduced in this release.
Separate Processing and State Verification.
Pruning AncientDB inline at runtime.
Separate Processing and State Verification
Separate Processing and State Verification is introduced in #926. it introduces two type nodes to make full use of different storage, one is named fast node, and the other is named verify node. The fast node will do block processing with snapshot, it will do all verification against blocks except state root. The verify node receives diffhash from the fast node and then responds MPT root to the fast node.
If you want to use this feature, See more details here
Pruning AncientDB inline at runtime
A new flag is introduced to prune ancient undesired block data at runtime, it will discard
block
,receipt
,header
in the ancient DB to save space.Example:
geth --config ./config.toml --datadir ./node --cache 8000 --rpc.allow-unprotected-txs --txlookuplimit 0 --puneancient
.Note: once turned on, the ancient data will not be recovered again
Command Changes
After merging the Ethereum version, some Flag parameters have changed, please refer to the following list.
Removed
--yolov3
--vm.ewasm
--vm.evm
--rpc
(use --http)--rpcaddr
(use --http.addr)--rpccorsdomain
(use --http.port)--rpcvhosts
(use --http.corsdomain)--rpcapi
(use --http.vhosts)Added
--dev.gaslimit
Initial block gas limit--sepolia
Sepolia network: pre-configured proof-of-work test network--override.arrowglacier
Manually specify Arrow Glacier fork-block, overriding the bundled setting--override.terminaltotaldifficulty
Manually specify TerminalTotalDifficulty, overriding the bundled setting--rpc.evmtimeout
Sets a timeout used for eth_call (0=infinite)--gpo.ignoreprice
Gas price below which gpo will ignore transactions--metrics.influxdbv2
Enable metrics export/push to an external InfluxDB v2 database--metrics.influxdb.token
Token to authorize access to the database (v2 only)--metrics.influxdb.bucket
InfluxDB bucket name to push reported metrics to (v2 only)--metrics.influxdb.organization
InfluxDB organization name (v2 only)Changed
--syncemode
removed thefast
modeRationale
N/A
Example
N/A
Changes
FEATURE
IMPROVEMENT
BUGFIX