How is the amount of proof-of-work invested in a chain calculated?

How is the amount of proof-of-work invested in a chain calculated?

The bitcoin whitepaper (page 3) states

The majority decision is represented by the longest chain, which has the greatest proof-of-work effort invested in it.

I could not find how exactly this difficulty is calculated.

Is it the sum of prefix zeros of the nonces of each block?

I found this answer but it is too short for me to understand.

https://ift.tt/2LDnaYK

Comments

Popular posts from this blog

New z-enemy 1.26 Nvidia GPU Miner With Improved Performance

New coin daemon crashes ReadBlockFromDisk: Errors in block header at CBlockDiskPos(nFile=0, nPos=8)