Browse Source

Wallet migration phase update

20160201_status_updates_d2f
Eric Lombrozo 9 years ago
parent
commit
ec059d1582
  1. 6
      bip-codeshark-jl2012-segwit.mediawiki

6
bip-codeshark-jl2012-segwit.mediawiki

@ -263,12 +263,10 @@ With a soft fork, it is possible to introduce a separate witness structure to al
== Backward compatibility ==
As a soft fork, older software will continue to operate without modification. Non-upgraded nodes, however, will not see nor validate the witness data and will consider all witness programs as anyone-can-spend scripts (except a few edge cases in version 0 witness programs which are provably unspendable with original script semantics). Wallets should always be wary of anyone-can-spend scripts and treat them with suspicion. Non-upgraded nodes are strongly encouraged to upgrade in order to take advantage of the new features.
Wallets will be able to migrate in two phases:
=== P2SH compatibility ===
=== Version 0 witness programs ===
Witness programs are hashed to 256 bit "redeemscripts" which are then hashed to 160 bit P2SH. This format is fully compatible with currently existing wallets that support P2SH. Upgraded wallets will be able to send and receive to and from older wallets without any problems.
=== Native outputs ===
=== Version 1 witness programs ===
Witness programs are hashed to a 256 bit output. This format will not be compatible with older wallets but will require less block space and will have better security due to increased collision resistance.
== Deployment ==

Loading…
Cancel
Save