added configuration parameter to disable tracking of statistics not required for block validation
move where track statistics is enabled