Bitcoin Forum

Bitcoin => Bitcoin Discussion => Topic started by: The_Real_One on December 18, 2018, 03:26:26 PM



Title: Chains
Post by: The_Real_One on December 18, 2018, 03:26:26 PM
Is it possible to keep one chain prior the fork of bitcoin and bitcoin cash then two chains after the fork, one for each coin? I read it was possible but forgot where i got it from.


Title: Re: Chains
Post by: seoincorporation on December 18, 2018, 03:41:17 PM
Is it possible to keep one chain prior the fork of bitcoin and bitcoin cash then two chains after the fork, one for each coin? I read it was possible but forgot where i got it from.

We have the main chain called bitcoin, after the fork there was two chains, bitcoin and bitcoin cash, and after the new BCH fork now we have 3 chains: Bitcoin, BitcoinSV and BitcoinABC.

But all that is a lie, now we have tons of chains, let me show it with an image:

http://www.edicionesma40.com/downloads/blockchain.png
Source: https://bitcointalk.org/index.php?topic=2419168.0


Title: Re: Chains
Post by: The_Real_One on December 18, 2018, 04:13:13 PM
Very nice flowchart. However that doesn't answer my question.


Title: Re: Chains
Post by: seoincorporation on December 18, 2018, 08:12:16 PM
Very nice flowchart. However that doesn't answer my question.

I think i explain it clear, but let me try again.. The question:

Quote
Is it possible to keep one chain prior the fork of bitcoin and bitcoin cash then two chains after the fork, one for each coin?

Yes is possible to have one chain before the fork, because there was only one coin. And yes, after the fork we have two chains, one for the old coin and other for the new coin. But the chains should look equal on the first blocks but they will look different after the fork. and you can see that on a block explorer:

Lets compare BTC with BCH

Block 1:

https://www.blockchain.com/btc/block/00000000839a8e6886ab5951d76f411475428afc90947ee320161bbf18eb6048
https://explorer.bitcoin.com/bch/block/00000000839a8e6886ab5951d76f411475428afc90947ee320161bbf18eb6048

Block #554384
https://www.blockchain.com/btc/block/0000000000000000001ab3d2bca70bcaa753681c86437c75a346ccdca542d632
https://bsvexplorer.io/block/000000000000000001c758c915d7e0efe33c99b247905f1ed5933c7bc49604c0

As you can see the first blocks was equal, and after the fork each chain get it's own way. Hope this answer your question.  :D


Title: Re: Chains
Post by: The_Real_One on December 18, 2018, 09:33:26 PM
I am talking about keeping the data on my harddrive. Instead of two copies before the fork, use only one.


Title: Re: Chains
Post by: franky1 on December 19, 2018, 12:34:48 AM
I am talking about keeping the data on my harddrive. Instead of two copies before the fork, use only one.

you mean
one copy of the chain upto block 478558

then a btc chain of 478559->ongoing
and a bch chain of 478559-556767
then a bch chain of 556768->ongoing
then a bchsv chain of 556768->ongoing

like this:
2009----------------------------------o-----2018 btc
                                                   |
2009----------------------------------o---e-2018 bch
                                                         |                            
2009--------------------------------------e-2018 bchsv

instead of this:
2009----------------------------------------2018 btc
2009----------------------------------------2018 bch
2009----------------------------------------2018 bchsv


Title: Re: Chains
Post by: The_Real_One on December 19, 2018, 01:10:00 AM
I am talking about keeping the data on my harddrive. Instead of two copies before the fork, use only one.

you mean
one copy of the chain upto block 478558

then a btc chain of 478559->ongoing
and a bch chain of 478559-556767
then a bch chain of 556768->ongoing
then a bchsv chain of 556768->ongoing


By the grace of god... you got it.


Title: Re: Chains
Post by: The_Real_One on December 19, 2018, 07:54:16 PM
Does anyone know how to code the bitcoin.conf file to do the above as franky1 understood?


Title: Re: Chains
Post by: seoincorporation on December 19, 2018, 11:58:33 PM
Does anyone know how to code the bitcoin.conf file to do the above as franky1 understood?

Sorry but what you are trying to do is impossible because they could look alike but they are different blockchains, and in the name blockchain you have the answer why it couldn't be done. You can't make a composed chain taking a piece from somewhere and the compliment from another site.

I know it sucks, but you will have to spend those 200Gb on each chain... there are no shortcuts for this. But the idea is great maybe devs can create a tool to do it.


Title: Re: Chains
Post by: The_Real_One on December 21, 2018, 09:55:04 AM
I recall someone wrote a code to do that but i forgot to check back last year.

Shared database till fork then split into two separate directories such as ......roaming\btc and ....roaming\bcash from block 478558.

Nothing is impossible.


Title: Re: Chains
Post by: realcrypto on December 21, 2018, 12:59:49 PM
Does anyone know how to code the bitcoin.conf file to do the above as franky1 understood?

Sorry but what you are trying to do is impossible because they could look alike but they are different blockchains, and in the name blockchain you have the answer why it couldn't be done. You can't make a composed chain taking a piece from somewhere and the compliment from another site.

I know it sucks, but you will have to spend those 200Gb on each chain... there are no shortcuts for this. But the idea is great maybe devs can create a tool to do it.

I am glad to come across this discussion today, I long to have higher knowledge on how blockchain work and also become blockchain developer. I have not come across anyone physically in my country, so I will appreciate if I see an online mentor. I will like you to be my mentor if you are a blockchain developer.


Title: Re: Chains
Post by: seoincorporation on December 22, 2018, 04:30:37 PM
I recall someone wrote a code to do that but i forgot to check back last year.

Shared database till fork then split into two separate directories such as ......roaming\btc and ....roaming\bcash from block 478558.

Nothing is impossible.

I agree with you, in the coding world anything is possible, but what you want no one has done it before. In this right moment is impossible, but will not be impossible forever. So, for this you should need 3 blockchains, 1 for the blocks 0 to 478558, other for btc and other for bch. the btc and the bch should start from block 478559. And each node should work independently, they couldn't work together because if you call a command like:

Code:
bitcoin-cli getinfo

It should give the info for one chain and not from both.

I recommend you to take this conversation to https://bitcointalk.org/index.php?board=6.0 (Bitcoin Forum > Bitcoin > Development & Technical Discussion) maybe they can offer a solution.


Title: Re: Chains
Post by: The_Real_One on December 22, 2018, 06:51:35 PM
I recall someone wrote a code to do that but i forgot to check back last year.

Shared database till fork then split into two separate directories such as ......roaming\btc and ....roaming\bcash from block 478558.

Nothing is impossible.

I agree with you, in the coding world anything is possible, but what you want no one has done it before. In this right moment is impossible, but will not be impossible forever. So, for this you should need 3 blockchains, 1 for the blocks 0 to 478558, other for btc and other for bch. the btc and the bch should start from block 478559. And each node should work independently, they couldn't work together because if you call a command like:

Code:
bitcoin-cli getinfo

It should give the info for one chain and not from both.

I recommend you to take this conversation to https://bitcointalk.org/index.php?board=6.0 (Bitcoin Forum > Bitcoin > Development & Technical Discussion) maybe they can offer a solution.

You got it.


Title: Re: Chains
Post by: Gargo on December 22, 2018, 06:56:00 PM
These forks are a real cryptocurrency pathology. Each next fork  decreases the value and weakens the currency. If they do not stop doing this, it will finally lead to a catastrophe.


Title: Re: Chains
Post by: Loubap on December 22, 2018, 08:54:07 PM
the best chain is wanchain


Title: Re: Chains
Post by: V1ad99 on January 29, 2019, 01:18:54 PM
Is it possible to keep one chain prior the fork of bitcoin and bitcoin cash then two chains after the fork, one for each coin? I read it was possible but forgot where i got it from.

We have the main chain called bitcoin, after the fork there was two chains, bitcoin and bitcoin cash, and after the new BCH fork now we have 3 chains: Bitcoin, BitcoinSV and BitcoinABC.

But all that is a lie, now we have tons of chains, let me show it with an image:

http://www.edicionesma40.com/downloads/blockchain.png
Source: https://bitcointalk.org/index.php?topic=2419168.0
Wow, thank you for the information, I was also looking for this, there is something to delve into.