Disable every-block full state validation
We can re-enable it on some nodes to keep an eye on the network, but for debug builds this is too expensive. It can take over 60 sec for low-end environments, causing them to never catch up. I think this is still better than the alternative of telling everyone to run release builds.
This commit is contained in:
@@ -46,7 +46,7 @@ chain_type = "Testnet2"
|
||||
#want to run a full chain validation. Can be:
|
||||
#EveryBlock - run full chain validation when processing each block (except during sync)
|
||||
#Disabled - disable full chain validation (just run regular block validation)
|
||||
#chain_validation_mode=EveryBlock
|
||||
#chain_validation_mode=Disabled
|
||||
|
||||
#run the node in "full archive" mode (default is fast-sync, pruned node)
|
||||
#archive_mode = false
|
||||
|
||||
+1
-1
@@ -98,7 +98,7 @@ pub enum ChainValidationMode {
|
||||
|
||||
impl Default for ChainValidationMode {
|
||||
fn default() -> ChainValidationMode {
|
||||
ChainValidationMode::EveryBlock
|
||||
ChainValidationMode::Disabled
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user