Softfork: Difference between revisions

From Bitcoin Wiki
Jump to navigation Jump to search
Eldentyrell (talk | contribs)
Created page with "A Softfork is a change to the bitcoin protocol that requires only a majority of the miners upgrade. New transaction types can often be added as softforks, requiring only that..."
 
Luke-jr (talk | contribs)
Elaborate a bit
Line 1: Line 1:
A Softfork is a change to the bitcoin protocol that requires only a majority of the miners upgrade.
A softfork is a change to the bitcoin protocol wherein only previously valid blocks/transactions are made invalid.
Since old nodes will recognise the new blocks as valid, a softfork is backward-compatible.
This kind of fork requires only a majority of the miners upgrading to enforce the new rules.


New transaction types can often be added as softforks, requiring only that the sender and the miners understand the new transaction type. This is done by having the new transaction appear to older clients as a pay-to-anybody transaction (of a special form), and getting the miners to agree to reject blocks including the pay-to-anybody transaction unless the transaction validates under the new rules. This is how [[P2SH]] was added to Bitcoin.
New transaction types can often be added as softforks, requiring only that the participants (sender and receiver) and miners understand the new transaction type.
This is done by having the new transaction appear to older clients as a "pay-to-anybody" transaction (of a special form), and getting the miners to agree to reject blocks including these transaction unless the transaction validates under the new rules.
This is how [[P2SH]] was added to Bitcoin.


See also: [[Hardfork]]
See also: [[Hardfork]]

Revision as of 23:14, 23 March 2014

A softfork is a change to the bitcoin protocol wherein only previously valid blocks/transactions are made invalid. Since old nodes will recognise the new blocks as valid, a softfork is backward-compatible. This kind of fork requires only a majority of the miners upgrading to enforce the new rules.

New transaction types can often be added as softforks, requiring only that the participants (sender and receiver) and miners understand the new transaction type. This is done by having the new transaction appear to older clients as a "pay-to-anybody" transaction (of a special form), and getting the miners to agree to reject blocks including these transaction unless the transaction validates under the new rules. This is how P2SH was added to Bitcoin.

See also: Hardfork