From d561da8b5e38b383ef472978b832cd00d15560f9 Mon Sep 17 00:00:00 2001 From: shaolinfry Date: Sat, 29 Apr 2017 10:37:25 +0000 Subject: [PATCH 1/5] BIP proposal: segwit-uasf --- bip-segwit-uasf.mediawiki | 59 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 bip-segwit-uasf.mediawiki diff --git a/bip-segwit-uasf.mediawiki b/bip-segwit-uasf.mediawiki new file mode 100644 index 00000000..36719f33 --- /dev/null +++ b/bip-segwit-uasf.mediawiki @@ -0,0 +1,59 @@ +
+  BIP: ?
+  Layer: Consensus (soft fork)
+  Title: Segwit deployment with versionbits and guaranteed lock-in
+  Author: Shaolin Fry 
+  Comments-Summary: No comments yet.
+  Comments-URI: https://github.com/bitcoin/bips/wiki/Comments:BIP-????
+  Status: Draft
+  Type: Standards Track
+  Created: 2017-04-14
+  License: BSD-3-Clause
+           CC0-1.0
+
+ +==Abstract== + +This document specifies a user activated soft fork for [[bip-0141.mediawiki|BIP141]], [[bip-0143.mediawiki|BIP143]] and [[bip-0147.mediawiki|BIP147]] using versionbits with guaranteed lock-in. + +==Motivation== + +Miners have been reluctant to signal the BIP9 segwit deployment despite a large portion of the Bitcoin ecosystem who want the soft fork activated. This BIP specifies a user activated soft fork (UASF) that deploys segwit again using versionbits with guaranteed lock-in on timeout if the BIP is not already locked-in or activated by the timeout. This ensures users have sufficient time to prepare and no longer require a miner supermajority, while still allowing for an earlier miner activated soft fork (MASF). + +==Reference implementation== + +https://github.com/bitcoin/bitcoin/compare/master...shaolinfry:uasegwit-flagday + +==Specification== + +This deployment will set service bit (1<<5) as NODE_UAWITNESS. + +==Deployment== + +This BIP will be deployed by BIP8 with the name "uasegwit" and using bit 2. + +For Bitcoin mainnet, the BIP8 starttime will be midnight 16 November 2017 UTC (Epoch timestamp 1510790400) and BIP8 timeout will be 4 July 2018 UTC (Epoch timestamp 1530662400). + +For Bitcoin testnet, segwit is already activated so no deployment is specified. + +==Rationale== + +This BIP can be deployed well in advance of the BIP8 '''starttime''' so that the '''timeout''' will be sufficiently far in the future to allow Bitcoin users to uprgade in preparation. + +The '''starttime''' of this BIP is after the BIP9 "segwit" timeout to remove compatibility issues with old nodes. + +==References== + +[[bip-0008.mediawiki|BIP8]] + +[[bip-0009.mediawiki|BIP9]] + +[[bip-0141.mediawiki|BIP141]] + +[[bip-0143.mediawiki|BIP143]] + +[[bip-0147.mediawiki|BIP147]] + +==Copyright== + +This document is dual licensed as BSD 3-clause, and Creative Commons CC0 1.0 Universal. From b21b63cbdfec3710071c6da75908f5e70bdd7c2a Mon Sep 17 00:00:00 2001 From: shaolinfry Date: Sun, 30 Apr 2017 08:58:03 +0000 Subject: [PATCH 2/5] Correct spelling and remove bit --- bip-segwit-uasf.mediawiki | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bip-segwit-uasf.mediawiki b/bip-segwit-uasf.mediawiki index 36719f33..988bc2f8 100644 --- a/bip-segwit-uasf.mediawiki +++ b/bip-segwit-uasf.mediawiki @@ -30,7 +30,7 @@ This deployment will set service bit (1<<5) as NODE_UAWITNESS. ==Deployment== -This BIP will be deployed by BIP8 with the name "uasegwit" and using bit 2. +This BIP will be deployed by BIP8 with the name "uasegwit" and using bit TBD. For Bitcoin mainnet, the BIP8 starttime will be midnight 16 November 2017 UTC (Epoch timestamp 1510790400) and BIP8 timeout will be 4 July 2018 UTC (Epoch timestamp 1530662400). @@ -38,7 +38,7 @@ For Bitcoin testnet, segwit is already activated so no deployment is specified. ==Rationale== -This BIP can be deployed well in advance of the BIP8 '''starttime''' so that the '''timeout''' will be sufficiently far in the future to allow Bitcoin users to uprgade in preparation. +This BIP can be deployed well in advance of the BIP8 '''starttime''' so that the '''timeout''' will be sufficiently far in the future to allow Bitcoin users to upgrade in preparation. The '''starttime''' of this BIP is after the BIP9 "segwit" timeout to remove compatibility issues with old nodes. From e8e8e1b1e51b09161ac657c4feb488cb055cb894 Mon Sep 17 00:00:00 2001 From: shaolinfry Date: Sun, 30 Apr 2017 09:16:22 +0000 Subject: [PATCH 3/5] Add ML discussion --- bip-segwit-uasf.mediawiki | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bip-segwit-uasf.mediawiki b/bip-segwit-uasf.mediawiki index 988bc2f8..572cffd1 100644 --- a/bip-segwit-uasf.mediawiki +++ b/bip-segwit-uasf.mediawiki @@ -44,6 +44,8 @@ The '''starttime''' of this BIP is after the BIP9 "segwit" timeout to remove com ==References== +[https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2017-April/014234.html Mailing list discussion] + [[bip-0008.mediawiki|BIP8]] [[bip-0009.mediawiki|BIP9]] From a7a89dc6a0dd27b4717486482adde86db9d7dc05 Mon Sep 17 00:00:00 2001 From: shaolinfry Date: Mon, 1 May 2017 01:55:33 +0000 Subject: [PATCH 4/5] Add compatibility section and remove bit --- bip-segwit-uasf.mediawiki | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bip-segwit-uasf.mediawiki b/bip-segwit-uasf.mediawiki index 572cffd1..bc01cb6b 100644 --- a/bip-segwit-uasf.mediawiki +++ b/bip-segwit-uasf.mediawiki @@ -30,12 +30,16 @@ This deployment will set service bit (1<<5) as NODE_UAWITNESS. ==Deployment== -This BIP will be deployed by BIP8 with the name "uasegwit" and using bit TBD. +This BIP will be deployed by BIP8 with the name "segwit" and using bit TBD. For Bitcoin mainnet, the BIP8 starttime will be midnight 16 November 2017 UTC (Epoch timestamp 1510790400) and BIP8 timeout will be 4 July 2018 UTC (Epoch timestamp 1530662400). For Bitcoin testnet, segwit is already activated so no deployment is specified. +==Backwards Compatibility== + +This deployment reuses the GBT deployment name "segwit" to maintain compatibility with existing mining software. + ==Rationale== This BIP can be deployed well in advance of the BIP8 '''starttime''' so that the '''timeout''' will be sufficiently far in the future to allow Bitcoin users to upgrade in preparation. From 54f63e56be6f3a7c52ded255b98bcbcee1fef604 Mon Sep 17 00:00:00 2001 From: shaolinfry Date: Mon, 1 May 2017 16:09:18 +0000 Subject: [PATCH 5/5] Assign BIP149 --- README.mediawiki | 7 +++++++ bip-segwit-uasf.mediawiki => bip-0149.mediawiki | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) rename bip-segwit-uasf.mediawiki => bip-0149.mediawiki (96%) diff --git a/README.mediawiki b/README.mediawiki index 4f6b8bca..5edf3346 100644 --- a/README.mediawiki +++ b/README.mediawiki @@ -652,6 +652,13 @@ Those proposing changes should consider that ultimately consent may rest with th | Standard | Draft |- +| [[bip-0149.mediawiki|149]] +| Consensus (soft fork) +| Segregated Witness (second deployment) +| Shaolin Fry +| Standard +| Draft +|- | [[bip-0150.mediawiki|150]] | Peer Services | Peer Authentication diff --git a/bip-segwit-uasf.mediawiki b/bip-0149.mediawiki similarity index 96% rename from bip-segwit-uasf.mediawiki rename to bip-0149.mediawiki index bc01cb6b..4d8fe829 100644 --- a/bip-segwit-uasf.mediawiki +++ b/bip-0149.mediawiki @@ -1,10 +1,10 @@
-  BIP: ?
+  BIP: 149
   Layer: Consensus (soft fork)
-  Title: Segwit deployment with versionbits and guaranteed lock-in
+  Title: Segregated Witness (second deployment)
   Author: Shaolin Fry 
   Comments-Summary: No comments yet.
-  Comments-URI: https://github.com/bitcoin/bips/wiki/Comments:BIP-????
+  Comments-URI: https://github.com/bitcoin/bips/wiki/Comments:BIP-0149
   Status: Draft
   Type: Standards Track
   Created: 2017-04-14