{"id":220286,"date":"2017-06-17T00:11:06","date_gmt":"2017-06-17T04:11:06","guid":{"rendered":"http:\/\/www.euvolution.com\/futurist-transhuman-news-blog\/uncategorized\/bip91-the-segwit-activation-kludge-that-should-keep-bitcoin-whole-bitcoin-magazine.php"},"modified":"2017-06-17T00:11:06","modified_gmt":"2017-06-17T04:11:06","slug":"bip91-the-segwit-activation-kludge-that-should-keep-bitcoin-whole-bitcoin-magazine","status":"publish","type":"post","link":"https:\/\/www.euvolution.com\/futurist-transhuman-news-blog\/bitcoin-2\/bip91-the-segwit-activation-kludge-that-should-keep-bitcoin-whole-bitcoin-magazine.php","title":{"rendered":"BIP91: The SegWit Activation &quot;Kludge&quot; That Should Keep Bitcoin Whole &#8211; Bitcoin Magazine"},"content":{"rendered":"<p><p>    Bitcoins long-lasting scaling debate appeared to be heading    toward a climax lately, with two proposals gaining significant    traction. At one end of the fence there is     Bitcoin Improvement Proposal 148 (BIP148), a     user activated soft fork (UASF) originally proposed by the    pseudonymous developer shaolinfry. On the other, theres        SegWit2x, an agreement forged between a significant number    of Bitcoin companies and miners.<\/p>\n<p>    The good news is that both of these proposals have a short-term    solution in common: both plan to activate     Segregated Witness (SegWit) this summer. The bad news is    that the activation method of the two has differed, which could    lead to a     coin-split.  <\/p>\n<p>    As of today, it seems this schism will be avoided  at least    initially. The SegWit2x development team     plans to implement     BIP91, a proposal by Bitmain Warranty engineer    James Hilliard that cleverly makes the two conflicting    activation methods compatible.  <\/p>\n<p>    Heres how.  <\/p>\n<p>    The current implementation of Segregated Witness is defined by        BIP141. This version is included in the latest Bitcoin Core releases, and is    widely deployed on the Bitcoin network. BIP141 is activated    through the activation method defined by BIP9. This means that    95 percent of all blocks within a two-week period need to    include a piece of data: bit 1. This indicates that a miner    is ready for the upgrade. As such, SegWit would be activated if    the vast majority of miners are ready for it.  <\/p>\n<p>    Or that was the intention. So far, only some 30 percent of hash    power is signaling support for the upgrade. There is a lot of    speculation as to why this is the case, but it almost certainly    has nothing to do with (a lack of) readiness.  <\/p>\n<p>    Thats why other activation methods are increasingly being    considered.  <\/p>\n<p>        BIP148 is a user activated soft fork (UASF), specifically    designed to trigger BIP141.  <\/p>\n<p>    On August 1st, anyone running Bitcoin software that implemented    BIP148 will start rejecting all blocks that do not include bit    1, the SegWit signalling data.  <\/p>\n<p>    This means that if a mere majority of miners (by hash power)    runs this software, they will reject all blocks from the    minority of miners that does not. As a result, this majority of    miners will always have the longest valid chain according to    all Bitcoin nodes on the network. Consequently, all deployed    BIP141 nodes will see a chain that includes over 95 percent of    bit 1 blocks, meaning SegWit would be activated on the network.  <\/p>\n<p>    However, if BIP148 is not supported by a majority of miners (by    hash power), Bitcoins blockchain could split in two. In that    case, there would effectively be two types of Bitcoin, where    one activated BIP148 and the other did not. This may resolve    over time  or it may not.  <\/p>\n<p>    SegWit2x (also referred to as SegWit2MB or the Silbert    Accord), is the scaling agreement reached by a numer of    Bitcoin companies and over 80 percent of miners (by hash    power), drafted just before the Consensus    2017 conference.  <\/p>\n<p>    For some time, the details surrounding SegWit2x were not very    specific. As the name suggests, all that was really known was    that SegWit was included in the agreement, and that it included    a hard fork to double Bitcoins base block size to two    megabytes.  <\/p>\n<p>    And, of course, SegWit was meant to be implemented using a    different activation method. Like the original BIP141 proposal,    SegWit2x was to be activated by miners through hash power. But    where BIP141 requires 95 percent hash power support, SegWit2x    would only require 80 percent. Moreover, SegWit2x readiness    would be signaled using another piece of activation data: bit    4 instead of bit 1.  <\/p>\n<p>    This makes SegWit2x largely incompatible with BIP141, and    especially with BIP148: Different nodes would be looking at    different activation bits, meaning they could activate SegWit    under different circumstances and at different times; and that    would mess up SegWit-specific block relay policy between nodes,    potentially fracturing the network.  <\/p>\n<p>    Now, it seems BIP91 has provided the solution.  <\/p>\n<p>    BIP91 is a proposal by Bitmain Warranty (not to be    confused with Bitmain)    engineer James Hilliard which was specifically designed to    prevent a coin-split by making SegWit2x and BIP148 compatible.  <\/p>\n<p>    The proposal resembles BIP148 to some extent. Upon activation    of BIP91, all BIP91 nodes will reject any blocks that do not    signal support for SegWit through bit 1. As such, if a majority    of miners (by hash power) run BIP91, the longest valid Bitcoin    chain will consist of SegWit-signaling blocks only, and    all regular BIP141 SegWit nodes will activate the protocol    upgrade.  <\/p>\n<p>    Where BIP91 differs from BIP148 is that it doesnt have a set    activation date, but is instead triggered by hash power. BIP91    nodes will reject any non-SegWit signalling blocks if, and only    if, 80 percent of blocks first indicate within two days    thats what theyll do.  <\/p>\n<p>    This indication is done with bit 4. As such, the Silbert Accord    can technically be upheld  80 percent hash power activation    with bit 4  while at the same time activating the existing    SegWit proposal. And if this is done before August 1st, its    also compatible with BIP148, since BIP148 nodes would    reject non-bit 1 blocks just the same.  <\/p>\n<p>    This proposal gives miners a little over six weeks to avoid a    coin-split, under their own agreed-upon terms. With a SegWit2x    launch date     planned for July 21st, that should not be a problem    assuming that the miners actually follow through.  <\/p>\n<p><!-- Auto Generated --><\/p>\n<p>Read the original post: <\/p>\n<p><a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/bitcoinmagazine.com\/articles\/bip91-segwit-activation-kludge-should-keep-bitcoin-whole\/\" title=\"BIP91: The SegWit Activation &quot;Kludge&quot; That Should Keep Bitcoin Whole - Bitcoin Magazine\">BIP91: The SegWit Activation &quot;Kludge&quot; That Should Keep Bitcoin Whole - Bitcoin Magazine<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p> Bitcoins long-lasting scaling debate appeared to be heading toward a climax lately, with two proposals gaining significant traction. At one end of the fence there is Bitcoin Improvement Proposal 148 (BIP148), a user activated soft fork (UASF) originally proposed by the pseudonymous developer shaolinfry.  <a href=\"https:\/\/www.euvolution.com\/futurist-transhuman-news-blog\/bitcoin-2\/bip91-the-segwit-activation-kludge-that-should-keep-bitcoin-whole-bitcoin-magazine.php\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"limit_modified_date":"","last_modified_date":"","_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[261455],"tags":[],"class_list":["post-220286","post","type-post","status-publish","format-standard","hentry","category-bitcoin-2"],"modified_by":null,"_links":{"self":[{"href":"https:\/\/www.euvolution.com\/futurist-transhuman-news-blog\/wp-json\/wp\/v2\/posts\/220286"}],"collection":[{"href":"https:\/\/www.euvolution.com\/futurist-transhuman-news-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.euvolution.com\/futurist-transhuman-news-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.euvolution.com\/futurist-transhuman-news-blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.euvolution.com\/futurist-transhuman-news-blog\/wp-json\/wp\/v2\/comments?post=220286"}],"version-history":[{"count":0,"href":"https:\/\/www.euvolution.com\/futurist-transhuman-news-blog\/wp-json\/wp\/v2\/posts\/220286\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.euvolution.com\/futurist-transhuman-news-blog\/wp-json\/wp\/v2\/media?parent=220286"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.euvolution.com\/futurist-transhuman-news-blog\/wp-json\/wp\/v2\/categories?post=220286"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.euvolution.com\/futurist-transhuman-news-blog\/wp-json\/wp\/v2\/tags?post=220286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}