Bitcoin Forum
June 19, 2018, 02:54:54 PM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   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
Merit: 0


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

Posts: 1529420094

View Profile Personal Message (Offline)

Ignore
1529420094
Reply with quote  #2

1529420094
Report to moderator
1529420094
Hero Member
*
Offline Offline

Posts: 1529420094

View Profile Personal Message (Offline)

Ignore
1529420094
Reply with quote  #2

1529420094
Report to moderator
The World's Betting Exchange

Bet with play money. Win real Bitcoin. 5BTC Prize Fund for World Cup 2018.

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

Posts: 1529420094

View Profile Personal Message (Offline)

Ignore
1529420094
Reply with quote  #2

1529420094
Report to moderator
1529420094
Hero Member
*
Offline Offline

Posts: 1529420094

View Profile Personal Message (Offline)

Ignore
1529420094
Reply with quote  #2

1529420094
Report to moderator
1529420094
Hero Member
*
Offline Offline

Posts: 1529420094

View Profile Personal Message (Offline)

Ignore
1529420094
Reply with quote  #2

1529420094
Report to moderator
CarlOrff
Sr. Member
****
Offline Offline

Activity: 574
Merit: 384



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).

Bitcoin + privacy respect = BitcoinZ (topic BitcoinZ)
The only decentralized crypto that complements Bitcoin on privacy.
You missed Bitcoin in 2009 ? Do not miss BitcoinZ in 2018 !
os2sam
Legendary
*
Offline Offline

Activity: 2464
Merit: 1001


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: 442
Merit: 252


Get Paid to Play your Media on Current


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.

.
▄████████████████████████▄
██████████████████████████
██████████████████████████
██████████████████████████
▀█████████████████████████
   ▀██████████████████████
█▄▄   ▀███████████████████
████▄▄   ▀████████████████
███████▄▄   ▀█████████████
██████████    ▀██████████
███████▀▀        ▀███████
████▀▀              ▀████
█▀▀                    ▀█
..   █
█  █
█  █
█  █
█  █
█  █
█  █
   █
   Just Press Play
Spotify
YouTube
Soundcloud


8Tracks
Radio
Podcast

█  █
█  █
█  █
█  █
█  █
█  █
.
.
GET IN TOUCH
Telegram
.
ANN Thread
.
Gustavotonini
Newbie
*
Offline Offline

Activity: 2
Merit: 0


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: 2464
Merit: 1001


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!