Bitcoin Forum
January 18, 2018, 04:15:42 AM *
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: Creating nonsense fork in blockchain  (Read 411 times)
Gustavotonini
Newbie
*
Offline Offline

Activity: 2


View Profile
August 30, 2017, 01:16:11 AM
 #1

It is just a stupid question. Imagine if I start mining over an old block which already has many subsequent blocks, find a new block and submit to the network. Will they accept it and create a nonsense fork?

I know it is the longest chain that really matters, but would the network accept my block, creating the new fork or simply reject it?
1516248942
Hero Member
*
Offline Offline

Posts: 1516248942

View Profile Personal Message (Offline)

Ignore
1516248942
Reply with quote  #2

1516248942
Report to moderator
1516248942
Hero Member
*
Offline Offline

Posts: 1516248942

View Profile Personal Message (Offline)

Ignore
1516248942
Reply with quote  #2

1516248942
Report to moderator
1516248942
Hero Member
*
Offline Offline

Posts: 1516248942

View Profile Personal Message (Offline)

Ignore
1516248942
Reply with quote  #2

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

Activity: 462


View Profile
August 30, 2017, 08:17:40 AM
 #2

It is just a stupid question. Imagine if I start mining over an old block which already has many subsequent blocks, find a new block and submit to the network. Will they accept it and create a nonsense fork?

I know it is the longest chain that really matters, but would the network accept my block, creating the new fork or simply reject it?
If you make a change in the protocol, you make a fork.
As long as you mine with your personnal version of the protocol, your fork is alive, but nobody use it.
To make a new version of the protocol, you have to be a developper (programming, compiling and so on).

BitcoinZ - In Decentralization We Trust.
Join the [ANN] topic : https://bitcointalk.org/index.php?topic=2166510.0
os2sam
Legendary
*
Offline Offline

Activity: 2338


Think for yourself


View Profile
August 30, 2017, 10:23:53 AM
 #3

It is just a stupid question. Imagine if I start mining over an old block which already has many subsequent blocks, find a new block and submit to the network. Will they accept it and create a nonsense fork?

I know it is the longest chain that really matters, but would the network accept my block, creating the new fork or simply reject it?

Only work for the current block is sent out.  If you submit a hash for a past block it will be rejected, probably as stale or not meeting current difficulty.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
reee
Sr. Member
****
Offline Offline

Activity: 417



View Profile
August 30, 2017, 09:28:58 PM
 #4

That block will be simply orphaned.
To do a fork you need to make your own client with its specific rules, and distribute it to people who will use it.

██████████████████████████████████████████████████████████████████▄   ▄
███████████████████████████████████████████████████████████████████▀▄▀
██████████████████████████████████████████████████████████████████▄▀ ▀▄

  ▄▄▄▄▄▄▄▄      ▄▄▄        ▄▄▄  ▄▄▄           ▄▄▄  ▄▄▄▄▄▄▄▄▄       ▄▄▄
  ██████████▄   ███        ███  ████▄         ███  ███████████▄    ███
  ███     ▀███  ███        ███  ██████▄       ███  ███      ▀███   ███
  ███      ███  ███        ███  ███ ▀███▄     ███  ███        ███  ███
  ███     ▄███  ███        ███  ███   ▀███▄   ███  ███        ███  ███
  ██████████▀   ███▄      ▄███  ███     ▀███▄ ███  ███       ▄███  ███
  ███▀▀▀▀▀       ███▄▄▄▄▄▄███   ███       ▀██████  ███▄▄▄▄▄▄███▀   ███
  ███             ▀████████▀    ███         ▀████  █████████▀▀     ███
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
.
Whitepaper   Twitter   Facebook
Telegram     Medium    Youtube
Gustavotonini
Newbie
*
Offline Offline

Activity: 2


View Profile
August 31, 2017, 12:58:13 AM
 #5

Yeah I understand the block would become orphaned. But would the other nodes add it to their databases or reject it?
os2sam
Legendary
*
Offline Offline

Activity: 2338


Think for yourself


View Profile
August 31, 2017, 01:40:23 AM
 #6

Yeah I understand the block would become orphaned. But would the other nodes add it to their databases or reject it?

It would not be orphaned.  Work for old blocks is no longer sent.  Only work for the current block is sent.  So hashes for past blocks would be rejected.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
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!