celo-blockchain
celo-blockchain copied to clipboard
Specify `chain/inserts`
trafficstars
Description
chain_inserts_count now is only called when inserting chain segments while syncing.
The new code path for inserting blocks from the consensus engine is as follows
core.Commitbackend.Commitgo sb.onNewConsensusBlock- anonymous function defined at
miner/worker.go:196 chain.InsertPreprocessedBlockchain.insertPreprocessedBlock
The new code path does not have the same metrics.