Bitcoin Forum
May 05, 2024, 06:47:41 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Hard forks and soft forks  (Read 412 times)
jackg (OP)
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
September 20, 2017, 04:21:19 PM
Last edit: September 21, 2017, 12:34:24 AM by achow101
 #1

They're lying to you...

You can easily import a bitcoin private key/bitcoin cash private key into another wallet. BCC is a soft fork of BTC, therefore, BCC private keys have the exact same format as BTC private keys.

They probably don't want to help you as it takes them time for something they consider to be your mistake (even though it is probably recommended tha they set the bcc and btc deposit addresses to the same unless a user requests a different one for eac wallet to resolve this issue). However, good luck in getting your coins back!

I guess it is just a slip of the tongue here and that you meant to say a hard fork.
Afaik it's a soft fork. There weren't any previous transactions/blocks edited and legacy bitcoin addresses can still be used in the new version. Although enlighten me if I'm wrong here.
1714891661
Hero Member
*
Offline Offline

Posts: 1714891661

View Profile Personal Message (Offline)

Ignore
1714891661
Reply with quote  #2

1714891661
Report to moderator
1714891661
Hero Member
*
Offline Offline

Posts: 1714891661

View Profile Personal Message (Offline)

Ignore
1714891661
Reply with quote  #2

1714891661
Report to moderator
1714891661
Hero Member
*
Offline Offline

Posts: 1714891661

View Profile Personal Message (Offline)

Ignore
1714891661
Reply with quote  #2

1714891661
Report to moderator
"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714891661
Hero Member
*
Offline Offline

Posts: 1714891661

View Profile Personal Message (Offline)

Ignore
1714891661
Reply with quote  #2

1714891661
Report to moderator
1714891661
Hero Member
*
Offline Offline

Posts: 1714891661

View Profile Personal Message (Offline)

Ignore
1714891661
Reply with quote  #2

1714891661
Report to moderator
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4616



View Profile
September 20, 2017, 04:51:31 PM
 #2

Afaik it's a soft fork. There weren't any previous transactions/blocks edited and legacy bitcoin addresses can still be used in the new version. Although enlighten me if I'm wrong here.

Hard fork does not require changes to previous transactions/blocks, nor does it require that legacy bitcoin addresses be invalidated.

A hard fork is a software change such that blocks that are valid in nodes running the new version of the software are invalid in nodes running the previous version of the software.

Since blocks that are valid in BCC are invalid in BTC, it is a hard fork.



A soft fork is a software change such that the blocks that are valid in nodes running the new version of the software are still valid in nodes running the previous version of the software.

Since blocks that are valid in nodes that run SegWit are also still valid in older nodes that are not yet running SegWit, it is a soft fork.



Because a hard fork is not backwards compatible to older versions of the software, a hard fork will isolate any node that is still running the old software.  Those older nodes will be incapable of synchronizing the hard-fork blockchain and will split off on to their own chain that does not include any of the blocks that use the new rules.

Because a soft fork is backwards compatible to older versions of the software, a soft fork will not isolate nodes that are still running the old software.  Those older nodes will be able to synchronize the soft-fork blockchain and will not split off on to their own chain as long as the majority of the mining hashpower supports the new rules.
jackg (OP)
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
September 20, 2017, 05:00:28 PM
 #3

Afaik it's a soft fork. There weren't any previous transactions/blocks edited and legacy bitcoin addresses can still be used in the new version. Although enlighten me if I'm wrong here.

Hard fork does not require changes to previous transactions/blocks, nor does it require that legacy bitcoin addresses be invalidated.

A hard fork is a software change such that blocks that are valid in nodes running the new version of the software are invalid in nodes running the previous version of the software.

Since blocks that are valid in BCC are invalid in BTC, it is a hard fork.



A soft fork is a software change such that the blocks that are valid in nodes running the new version of the software are still valid in nodes running the previous version of the software.

Since blocks that are valid in nodes that run SegWit are also still valid in older nodes that are not yet running SegWit, it is a soft fork.



Because a hard fork is not backwards compatible to older versions of the software, a hard fork will isolate any node that is still running the old software.  Those older nodes will be incapable of synchronizing the hard-fork blockchain and will split off on to their own chain that does not include any of the blocks that use the new rules.

Because a soft fork is backwards compatible to older versions of the software, a soft fork will not isolate nodes that are still running the old software.  Those older nodes will be able to synchronize the soft-fork blockchain and will not split off on to their own chain as long as the majority of the mining hashpower supports the new rules.
So it's a hard fork but with backwards compatibility?
I read on the bitcoin site, not sure if this is useful, but segwit addresses are acceptable in older versions as well but there must be a confirmation from the segwit address to the legacy address before it will be added (basically, it doesn't accept the transactions in the network, just ones already in the blockchsin). Anything segwit comparable and onwards will still use it as if it were a legacy address though.
aleksej996
Sr. Member
****
Offline Offline

Activity: 490
Merit: 389


Do not trust the government


View Profile
September 20, 2017, 05:34:28 PM
 #4

So it's a hard fork but with backwards compatibility?
I read on the bitcoin site, not sure if this is useful, but segwit addresses are acceptable in older versions as well but there must be a confirmation from the segwit address to the legacy address before it will be added (basically, it doesn't accept the transactions in the network, just ones already in the blockchsin). Anything segwit comparable and onwards will still use it as if it were a legacy address though.

No. There is no backward compatible hard forks. That is pretty much a definition.
Bitcoin Cash was a hard fork, Segwit was a soft fork. People don't need to update to new clients to still accept Segwit blocks. People do need to update to a new client to use Bitcoin Cash as old Bitcoin clients will not accept the 8 mb blocks.
As I understand when you send to a segwit address an old node will see those funds to be spendable by anyone, since you don't need a signature in the input for the transaction to be valid. In segwit signatures are detached from the transactions. The point is that miners agreed with the segwit activation that they will not accept transactions that spend from segwit address without providing a signature that is outside the transaction.
jackg (OP)
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
September 20, 2017, 09:19:59 PM
Last edit: September 21, 2017, 07:38:29 PM by jackg
 #5

No. There is no backward compatible hard forks. That is pretty much a definition.
Bitcoin Cash was a hard fork, Segwit was a soft fork.
This is what I meant, sorry if I didn't make that clear but it would be a stupid idea to make the regular core have a switch to change the blockchain (as, if you accidently click it, you'd have to go through a full resync of the blockchain and end up with almost double the previous data stored
People don't need to update to new clients to still accept Segwit blocks. People do need to update to a new client to use Bitcoin Cash as old Bitcoin clients will not accept the 8 mb blocks.
As I understand when you send to a segwit address an old node will see those funds to be spendable by anyone, since you don't need a signature in the input for the transaction to be valid. In segwit signatures are detached from the transactions. The point is that miners agreed with the segwit activation that they will not accept transactions that spend from segwit address without providing a signature that is outside the transaction.
The segwit address as I understand it is generated with a same private key as the regular bitcoin legacy address. The difference is the coins must be transferred to and sent from a SEGWIT address. It cannot come from a legacy address and have the pay-to-script features - so the segwit address must be loaded instead of the legacy address.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!