CBlockIndex::nChainWork

(memory only) Total amount of work (expected number of hashes) in the chain up to and including this block

Synopsis

Declared in <chain.h>

arith_uint256 nChainWork = {};