Bitcoin Forum
October 21, 2017, 10:54:40 AM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: What will trigger a reorg after BIP148 split? "longest chain" or "most work" ?  (Read 327 times)
Brandsen
Jr. Member
*
Offline Offline

Activity: 48


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* ?
1508583280
Hero Member
*
Offline Offline

Posts: 1508583280

View Profile Personal Message (Offline)

Ignore
1508583280
Reply with quote  #2

1508583280
Report to moderator
1508583280
Hero Member
*
Offline Offline

Posts: 1508583280

View Profile Personal Message (Offline)

Ignore
1508583280
Reply with quote  #2

1508583280
Report to moderator
1508583280
Hero Member
*
Offline Offline

Posts: 1508583280

View Profile Personal Message (Offline)

Ignore
1508583280
Reply with quote  #2

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

Posts: 1508583280

View Profile Personal Message (Offline)

Ignore
1508583280
Reply with quote  #2

1508583280
Report to moderator
1508583280
Hero Member
*
Offline Offline

Posts: 1508583280

View Profile Personal Message (Offline)

Ignore
1508583280
Reply with quote  #2

1508583280
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 1190


17kKQppUsngUiByDsce4JXoZEjjpvX9bpR


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.

          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
.
|
.
|
          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
unthy
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!