From ec059d15822228d11a2c21a14fe6b91d2307888b Mon Sep 17 00:00:00 2001 From: Eric Lombrozo Date: Tue, 22 Dec 2015 21:24:47 -0500 Subject: Wallet migration phase update --- bip-codeshark-jl2012-segwit.mediawiki | 6 ++---- 1 file 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 == -- cgit v1.2.3