Bitcoin Forum
April 25, 2024, 05:45:21 AM *
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 463 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* ?
1714023921
Hero Member
*
Offline Offline

Posts: 1714023921

View Profile Personal Message (Offline)

Ignore
1714023921
Reply with quote  #2

1714023921
Report to moderator
1714023921
Hero Member
*
Offline Offline

Posts: 1714023921

View Profile Personal Message (Offline)

Ignore
1714023921
Reply with quote  #2

1714023921
Report to moderator
1714023921
Hero Member
*
Offline Offline

Posts: 1714023921

View Profile Personal Message (Offline)

Ignore
1714023921
Reply with quote  #2

1714023921
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714023921
Hero Member
*
Offline Offline

Posts: 1714023921

View Profile Personal Message (Offline)

Ignore
1714023921
Reply with quote  #2

1714023921
Report to moderator
1714023921
Hero Member
*
Offline Offline

Posts: 1714023921

View Profile Personal Message (Offline)

Ignore
1714023921
Reply with quote  #2

1714023921
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3374
Merit: 6535


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!