summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Lombrozo <elombrozo@gmail.com>2015-12-22 21:24:47 -0500
committerEric Lombrozo <elombrozo@gmail.com>2015-12-22 21:25:41 -0500
commitec059d15822228d11a2c21a14fe6b91d2307888b (patch)
tree1f8ee29a4d7ea52f0c681d9319f9c31c6525a15e
parent656b72695dc0a6d63cb691b02befc15039f7e5bc (diff)
downloadbips-ec059d15822228d11a2c21a14fe6b91d2307888b.tar.xz
Wallet migration phase update
-rw-r--r--bip-codeshark-jl2012-segwit.mediawiki6
1 files changed, 2 insertions, 4 deletions
diff --git a/bip-codeshark-jl2012-segwit.mediawiki b/bip-codeshark-jl2012-segwit.mediawiki
index df43c27..72bb980 100644
--- a/bip-codeshark-jl2012-segwit.mediawiki
+++ b/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 ==