What is calculated towards the sum of PoW of the chain? Is it the target difficulty that has been met or is it the actual block header hash?
Say the target is 000000ABC00000000... and I mine block with hash 00000012300000000... - do I count 000000ABC00000000... amount of work for my block or do I count 00000012300000000... ?
In other words: if someone else mines a block at the same time, extending the same chain as my block (i.e. natural fork) and his hash is 00000002300000000... is his chain's cumulative PoW greater than mine or are we same?