Blockchain length by number of blocks or transactions?

3

It is my understanding that the longest blockchain is the one that should be used.

Is "longest" measured by the number of blocks or the number of transactions?

user5107

Posted 2014-01-08T19:07:18.553

Reputation:

Answers

0

The longest blockchain is measured by the number of blocks, not the number of transactions. This is because the proof-of-work is linked to the creation of blocks, not transactions.

Greg Hewgill

Posted 2014-01-08T19:07:18.553

Reputation: 3 321

Actually it's the sum of the difficulty of all blocks, but that usually doesn't make a difference when comparing different chains.jnnk 2014-01-08T20:04:46.933

0

The best chain-tip is picked by the total difficulty of its blocks. This usually corresponds to the chain with the most blocks unless the chain-tips differ in difficulty.

Murch

Posted 2014-01-08T19:07:18.553

Reputation: 41 609