Bitcoin Forum
January 18, 2018, 08:36:55 PM *
News: Electrum users must upgrade to 3.0.5 if they haven't already. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: The longest blockchain is the truth?  (Read 1568 times)
Frozenlock
Sr. Member
****
Offline Offline

Activity: 434



View Profile
May 23, 2011, 06:50:30 PM
 #1

If I understand correctly, when the client is faced with two different blockchain, the longest will prevail.

If it's the case, wouldn't be possible to generate a longer blockchain (starting from scratch, or almost) by simply using an easier difficulty than the network?

The new blockchain would then be seen as the truth and the real one simply discarded.

I must be missing something. Could someone please enlighten me?
1516307815
Hero Member
*
Offline Offline

Posts: 1516307815

View Profile Personal Message (Offline)

Ignore
1516307815
Reply with quote  #2

1516307815
Report to moderator
1516307815
Hero Member
*
Offline Offline

Posts: 1516307815

View Profile Personal Message (Offline)

Ignore
1516307815
Reply with quote  #2

1516307815
Report to moderator
1516307815
Hero Member
*
Offline Offline

Posts: 1516307815

View Profile Personal Message (Offline)

Ignore
1516307815
Reply with quote  #2

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

Activity: 78


View Profile
May 23, 2011, 06:52:01 PM
 #2

If I understand correctly, when the client is faced with two different blockchain, the longest will prevail.

If it's the case, wouldn't be possible to generate a longer blockchain (starting from scratch, or almost) by simply using an easier difficulty than the network?

The new blockchain would then be seen as the truth and the real one simply discarded.

I must be missing something. Could someone please enlighten me?
It picks the most difficult chain.
xlcus
Hero Member
*****
Offline Offline

Activity: 784


ArcBlock-BORN FOR BLOCKCHAIN 3.0


View Profile
May 23, 2011, 07:11:14 PM
 #3

If it's the case, wouldn't be possible to generate a longer blockchain (starting from scratch, or almost) by simply using an easier difficulty than the network?
That's freaky.  I was thinking the exact same thing earlier today.

It picks the most difficult chain.
And that makes sense :-)

                  ▄█▄
               █████████
            ███    █    ███
        ████       █       ████
     ███           █           ███
 ████              █              ████
█████             ███             █████
██   ███         █████         ████  ██
██      ███▓    ██ █ ██     ███      ██
██         ██████  █  ██████         ██
██           █████ █ █████           ██
██          ██   █████   ██          ██
██         ██ ███  █  ███ ██         ██
██        ████     █     ████        ██
██     ███ ███     █     ███ ███     ██
██ ████       ████ █  ███       ████ ██
███              █████              ███
   ███             █             ███
      ████         █         ████
          ███      █      ████
             ████  █   ███
                ███████
                  ▀█▀















                  ▄█▄
               █████████
            ███    █    ███
        ████       █       ████
     ███           █           ███
 ████              █              ████
█████             ███             █████
██   ███         █████         ████  ██
██      ███▓    ██ █ ██     ███      ██
██         ██████  █  ██████         ██
██           █████ █ █████           ██
██          ██   █████   ██          ██
██         ██ ███  █  ███ ██         ██
██        ████     █     ████        ██
██     ███ ███     █     ███ ███     ██
██ ████       ████ █  ███       ████ ██
███              █████              ███
   ███             █             ███
      ████         █         ████
          ███      █      ████
             ████  █   ███
                ███████
                  ▀█▀

















.
TELEGRAM
FACEBOOK
TWITTER
REDDIT

















.
LINKEDIN
INSTAGRAM
GITHUB
BITCOINTALK
BitterTea
Sr. Member
****
Offline Offline

Activity: 294



View Profile
May 23, 2011, 07:22:48 PM
 #4

The difficulty for which the block was generated is encoded into the block header. The "length" of a chain is actually the sum of all of its constituent block's difficulties.
Dobrodav
Full Member
***
Offline Offline

Activity: 238



View Profile
May 24, 2011, 05:39:14 AM
 #5

Header you say ? Om-nom-nom. I should think about it.

▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  TRADE.IO       ║     WHITEPAPER  •  ANN THREAD  •  TELEGRAM     ║     JOIN THE TRADING REVOLUTION
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
knightmb
Sr. Member
****
Offline Offline

Activity: 322


mymdn.io


View Profile WWW
May 25, 2011, 03:16:08 PM
 #6

If I understand correctly, when the client is faced with two different blockchain, the longest will prevail.

If it's the case, wouldn't be possible to generate a longer blockchain (starting from scratch, or almost) by simply using an easier difficulty than the network?

The new blockchain would then be seen as the truth and the real one simply discarded.

I must be missing something. Could someone please enlighten me?
I brought this up a long time ago, basically I called it a reverse-time attack. You generated a block chain with 2 PCs at the lowest difficult and wait until it over-takes the real block chain and then bring that block chain into the network. To get around the issue, the clients since had a hard-coded block lock put into place with every release. That way if someone did try this, the clients would see that the block chain history didn't match the new "fake" generated chain and refuse using it.

The only reason that attack would work is, 1) you get a perfect 1 block / 10 minute generation cycle. This would eventually catch up with the real block generation because it can vary from 10 minutes to an hour sometimes 2) There was nothing in the software to say otherwise until the block chain locks were added

The effect would be, you would wipe out all transactions and end up owning all the bitcoins generated with that fake block chain. But like I said, something to counter that was put into place long, long ago.  Grin




      ▄▄          ▄▄
     ▄███▄      ▄███▄
     ███████▄ ▄██████▄
    ██████████████████▄
   ███████████████████
  ▄█████████████████████
 ▄███████████████████████
▄█████████████████████████
███████████████████████████
▀▀███████████████████████▀▀
    ▀▀███████████████▀▀
        ▀▀██████▀▀
            ▀
Meridian

myMDN.io
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
Digital Collateral


JOIN ICO
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!