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?
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It only takes a minute to sign up.
Sign up to join this communityIt 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?
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.
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.