mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
Merge pull request #867 from cffls/develop
Enable parallel evm by default
This commit is contained in:
commit
40a8686d36
5 changed files with 13 additions and 7 deletions
|
|
@ -172,7 +172,7 @@ syncmode = "full"
|
|||
# gaslimit = 11500000
|
||||
|
||||
# [parallelevm]
|
||||
# enable = false
|
||||
# enable = true
|
||||
# procs = 8
|
||||
|
||||
# [pprof]
|
||||
|
|
|
|||
|
|
@ -16,4 +16,4 @@
|
|||
|
||||
- ```save-key```: path to save the ecdsa private key
|
||||
|
||||
- ```dry-run```: validates parameters and prints bootnode configurations, but does not start bootnode (default: false)
|
||||
- ```dry-run```: validates parameters and prints bootnode configurations, but does not start bootnode (default: false)
|
||||
|
|
@ -10,4 +10,4 @@ The ```debug pprof <enode>``` command will create an archive containing bor ppro
|
|||
|
||||
- ```output```: Output directory
|
||||
|
||||
- ```skiptrace```: Skip running the trace (default: false)
|
||||
- ```skiptrace```: Skip running the trace (default: false)
|
||||
|
|
@ -72,6 +72,10 @@ The ```bor server``` command runs the Bor client.
|
|||
|
||||
- ```dev.period```: Block period to use in developer mode (0 = mine only if transaction pending) (default: 0)
|
||||
|
||||
- ```parallelevm.enable```: Enable Block STM (default: true)
|
||||
|
||||
- ```parallelevm.procs```: Number of speculative processes (cores) in Block STM (default: 8)
|
||||
|
||||
- ```dev.gaslimit```: Initial block gas limit (default: 11500000)
|
||||
|
||||
- ```pprof```: Enable the pprof HTTP server (default: false)
|
||||
|
|
@ -209,14 +213,14 @@ The ```bor server``` command runs the Bor client.
|
|||
- ```netrestrict```: Restricts network communication to the given IP networks (CIDR masks)
|
||||
|
||||
- ```nodekey```: P2P node key file
|
||||
-
|
||||
|
||||
- ```nodekeyhex```: P2P node key as hex
|
||||
|
||||
- ```nodiscover```: Disables the peer discovery mechanism (manual peer addition) (default: false)
|
||||
|
||||
- ```v5disc```: Enables the experimental RLPx V5 (Topic Discovery) mechanism (default: false)
|
||||
|
||||
- ```txarrivalwait```: Maximum duration to wait before requesting an announced transaction (default: 500ms)
|
||||
- ```txarrivalwait```: Maximum duration to wait for a transaction before explicitly requesting it (defaults to 500ms) (default: 500ms)
|
||||
|
||||
### Sealer Options
|
||||
|
||||
|
|
@ -232,6 +236,8 @@ The ```bor server``` command runs the Bor client.
|
|||
|
||||
- ```miner.recommit```: The time interval for miner to re-create mining work (default: 2m5s)
|
||||
|
||||
- ```miner.interruptcommit```: Interrupt block commit when block creation time is passed (default: true)
|
||||
|
||||
### Telemetry Options
|
||||
|
||||
- ```metrics```: Enable metrics collection and reporting (default: false)
|
||||
|
|
@ -284,4 +290,4 @@ The ```bor server``` command runs the Bor client.
|
|||
|
||||
- ```txpool.globalqueue```: Maximum number of non-executable transaction slots for all accounts (default: 32768)
|
||||
|
||||
- ```txpool.lifetime```: Maximum amount of time non-executable transaction are queued (default: 3h0m0s)
|
||||
- ```txpool.lifetime```: Maximum amount of time non-executable transaction are queued (default: 3h0m0s)
|
||||
|
|
@ -757,7 +757,7 @@ func DefaultConfig() *Config {
|
|||
// CPUProfile: "",
|
||||
},
|
||||
ParallelEVM: &ParallelEVMConfig{
|
||||
Enable: false,
|
||||
Enable: true,
|
||||
SpeculativeProcesses: 8,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue