From fc3260731c610799c5c37f502220ac939f533194 Mon Sep 17 00:00:00 2001 From: Peter Todd Date: Fri, 23 Oct 2015 17:07:21 -0400 Subject: BIP65: Fix deployment rules Previous version was incorrect and did not match how the actual IsSuperMajority() mechanism works. --- bip-0065.mediawiki | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bip-0065.mediawiki') diff --git a/bip-0065.mediawiki b/bip-0065.mediawiki index 3b477bd..1575956 100644 --- a/bip-0065.mediawiki +++ b/bip-0065.mediawiki @@ -277,8 +277,8 @@ We reuse the double-threshold switchover mechanism from BIPs 34 and 66, with the same thresholds, but for nVersion = 4. The new rules are in effect for every block (at height H) with nVersion = 4 and at least 750 out of 1000 blocks preceding it (with heights H-1000..H-1) also -have nVersion = 4. Furthermore, when 950 out of the 1000 blocks -preceding a block do have nVersion = 4, nVersion = 3 blocks become +have nVersion >= 4. Furthermore, when 950 out of the 1000 blocks +preceding a block do have nVersion >= 4, nVersion < 4 blocks become invalid, and all further blocks enforce the new rules. -- cgit v1.2.3 From 2dd084e7a902a68ce4119114f3da780d4e393352 Mon Sep 17 00:00:00 2001 From: Peter Todd Date: Fri, 23 Oct 2015 17:16:22 -0400 Subject: BIP65: Add SPV client considerations --- bip-0065.mediawiki | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'bip-0065.mediawiki') diff --git a/bip-0065.mediawiki b/bip-0065.mediawiki index 1575956..a2bd40e 100644 --- a/bip-0065.mediawiki +++ b/bip-0065.mediawiki @@ -282,6 +282,16 @@ preceding a block do have nVersion >= 4, nVersion < 4 blocks become invalid, and all further blocks enforce the new rules. +===SPV Clients=== + +While SPV clients are (currently) unable to validate blocks in general, +trusting miners to do validation for them, they are able to validate block +headers and thus can validate a subset of the deployment rules. SPV clients +should reject nVersion < 4 blocks if 950 out of 1000 preceding blocks have +nVersion >= 4 to prevent false confirmations from the remaining 5% of +non-upgraded miners when the 95% threshold has been reached. + + ==Credits== Thanks goes to Gregory Maxwell for suggesting that the argument be compared -- cgit v1.2.3