Bitcoin Forum
May 30, 2024, 02:28:42 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What will trigger a reorg after BIP148 split? "longest chain" or "most work" ?  (Read 465 times)
Brandsen (OP)
Jr. Member
*
Offline Offline

Activity: 52
Merit: 53


View Profile
May 30, 2017, 05:40:16 PM
 #1

Question:
Assuming a split occurs after the BIP148 UASF..
What condition will trigger a reorg of the non-segwit-chain?
Is it *longest chain* or is it *most work chain* ?
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3402
Merit: 6659


Just writing some code


View Profile WWW
May 31, 2017, 01:43:09 AM
 #2

When it comes to the blockchain, the "longest chain" means the chain that has the highest sum of the nbits (difficulty specifier in a block) fields, i.e. the chain with the most work. So technically reorgs will always go to the "most work chain", but that usually ends up being the longer chain (more blocks at the same difficulty means more work) so the misnomer "longest chain" is used.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!