{"id":24606,"date":"2016-10-31T18:12:28","date_gmt":"2016-10-31T18:12:28","guid":{"rendered":"http:\/\/ci027cfe6ed0042697"},"modified":"2016-10-31T18:12:28","modified_gmt":"2016-10-31T18:12:28","slug":"bitcoin-wallet-developers-prepare-for-segregated-witness-1477937548","status":"publish","type":"post","link":"https:\/\/bitcoinmagazine.com\/technical\/bitcoin-wallet-developers-prepare-for-segregated-witness-1477937548","title":{"rendered":"Bitcoin Wallet Developers Prepare for Segregated Witness"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><figure><img decoding=\"async\" src=\"https:\/\/bitcoinmagazine.com\/wp-content\/uploads\/2024\/11\/bitcoin-wallet-developers-prepare-for-segregated-witness.jpg\" title=\"\"><\/figure>\n<p><a href=\"https:\/\/bitcoincore.org\/\" target=\"_blank\" rel=\"noopener\">Bitcoin Core<\/a> 0.13.1 was&nbsp;<a href=\"https:\/\/bitcoinmagazine.com\/articles\/segregated-witness-officially-introduced-with-release-of-bitcoin-core-1477611260\">released<\/a> last week, which means miner signaling on the proposed&nbsp;<a href=\"https:\/\/bitcoinmagazine.com\/articles\/segregated-witness-part-how-a-clever-hack-could-significantly-increase-bitcoin-s-potential-1450553618\">Segregated<\/a><a href=\"https:\/\/bitcoinmagazine.com\/articles\/segregated-witness-part-why-you-should-care-about-a-nitty-gritty-technical-trick-1450827675\">Witness<\/a> (SegWit) soft fork will start soon. If activated, SegWit offers a number of benefits, one of which is an effective block size limit increase to about 1.6 to 2 megabytes, depending on the types of transactions included in blocks.<\/p>\n<p>If and when Segregated Witness is activated on the Bitcoin network, users will be able to take advantage of the added network capacity immediately \u2014 if their wallets are \u201cSegWit-ready.\u201d For users to enjoy this added block space, therefore, much will depend on Bitcoin wallet providers.<\/p>\n<p>On&nbsp;<a href=\"https:\/\/github.com\/bitcoin-core\/bitcoincore.org\/pull\/30\" target=\"_blank\" rel=\"noopener\">GitHub<\/a>,&nbsp;<a href=\"https:\/\/bitcoincore.org\/en\/segwit_adoption\/\" target=\"_blank\" rel=\"noopener\">25 wallets<\/a> have indicated they will integrate SegWit. To poll their progress, <em>Bitcoin Magazine<\/em> reached out to a selection of them.<\/p>\n<p><strong>State of Readiness<\/strong><\/p>\n<p>Depending on miner signaling, Segregated Witness may, at the very soonest, be \u201clive\u201d on the Bitcoin network halfway through December. This somewhat unlikely best-case scenario leaves about six weeks for Bitcoin wallets to update their software.<\/p>\n<p>The wallet providers that <em>Bitcoin Magazine<\/em> reached out to generally expected this should be sufficient time. Several of them are even ready to go already, or are in the final stages of development.<\/p>\n<p><a href=\"https:\/\/greenaddress.it\/en\/\" target=\"_blank\" rel=\"noopener\">GreenAddress<\/a>, the wallet provider that was recently acquired by infrastructure development company&nbsp;<a href=\"https:\/\/blockstream.com\/\" target=\"_blank\" rel=\"noopener\">Blockstream<\/a>, was among the first wallets to have completed Segregated Witness support, as early as February this year.<\/p>\n<p>Speaking to <em>Bitcoin Magazine<\/em>, developer Lawrence Nahum said that GreenAddress users will be able to receive and send SegWit transactions as soon as the soft fork is deployed on the Bitcoin network. After that, he plans to improve the wallet, further utilizing the possibilities offered by Segregated Witness, such as&nbsp;<a href=\"https:\/\/bitcoinmagazine.com\/articles\/the-next-step-to-improve-bitcoin-s-flexibility-scalability-and-privacy-is-called-mast-1476388597\">MAST<\/a>,&nbsp;<a href=\"https:\/\/bitcoinmagazine.com\/articles\/the-power-of-schnorr-the-signature-algorithm-to-increase-bitcoin-s-scale-and-privacy-1460642496\">Schnorr signatures<\/a>, and&nbsp;<a href=\"https:\/\/bitcoinmagazine.com\/articles\/understanding-the-lightning-network-part-building-a-bidirectional-payment-channel-1464710791\">the<\/a><a href=\"https:\/\/bitcoinmagazine.com\/articles\/understanding-the-lightning-network-part-creating-the-network-1465326903\">Lightning<\/a><a href=\"https:\/\/bitcoinmagazine.com\/articles\/understanding-the-lightning-network-part-completing-the-puzzle-and-closing-the-channel-1466178980\">Network<\/a>.<\/p>\n<p>\u201cI am very eager to make use of all good things in SegWit,\u201d Nahum said. \u201cI see it as a great stepping stone towards better fungibility and privacy, which I think are as important as \u2014 if not more important than \u2014 capacity increases.\u201d<\/p>\n<p>Regarding SegWit readiness itself, Nahum added:<\/p>\n<p>\u201cIntegration was quite easy. Desktop, iOS, and Android: All our wallets\u2019 GitHub master branches support SegWit already, and recently we finalised some integration testing with hardware wallets such as Ledger to make sure it all works.\u201d<\/p>\n<p>Most of the other wallet providers contacted by <em>Bitcoin Magazine<\/em> also indicated they should be SegWit-ready if and when the soft fork activates, or not too long after. <a href=\"https:\/\/ciphrex.com\/products\/\" target=\"_blank\" rel=\"noopener\">Ciphrex&#8217;s mSigna<\/a>&nbsp;wallet and the <a href=\"https:\/\/www.ledger.com\/\" target=\"_blank\" rel=\"noopener\">Ledger<\/a> hardware wallet have fully integrated Segregated Witness.&nbsp;<a href=\"https:\/\/wallet.btc.com\/\" target=\"_blank\" rel=\"noopener\">BTC.com<\/a> \u2014 formerly known as&nbsp;<a href=\"https:\/\/blocktrail.com\/\" target=\"_blank\" rel=\"noopener\">Blocktrail<\/a> \u2014 has been experiencing some delays due to the recent acquisition by ASIC-manufacturor&nbsp;<a href=\"https:\/\/www.bitmain.com\" target=\"_blank\" rel=\"noopener\">Bitmain<\/a>, but said that integration shouldn\u2019t take much longer than several weeks.&nbsp;<a href=\"https:\/\/electrum.org\/#home\" target=\"_blank\" rel=\"noopener\">Electrum<\/a>, the popular desktop and Android wallet, will include Segregated Witness support in the next major release, planned before the end of the year. <a href=\"https:\/\/brd.com\/\" target=\"_blank\" rel=\"noopener\">BreadWallet<\/a>, a wallet app available on Android and iOS, is in the testing stage, and will offer SegWit to users once it\u2019s activated and deemed absolutely secure. And <a href=\"https:\/\/mycelium.com\/\" target=\"_blank\" rel=\"noopener\">Mycelium<\/a>, also available on iOS and Android, said it wrapped up the complicated part of integration, with only some user interface questions remaining.<\/p>\n<p>Payment processor <a href=\"https:\/\/bitpay.com\/\" target=\"_blank\" rel=\"noopener\">BitPay<\/a> confirmed its intention to integrate SegWit as well for its <a href=\"https:\/\/github.com\/bitpay\/copay\" target=\"_blank\" rel=\"noopener\">Copay<\/a> wallet and the new&nbsp;<a href=\"https:\/\/bitpay.com\/wallet\/\" target=\"_blank\" rel=\"noopener\">BitPay wallet<\/a>, but the company is taking a slightly more conservative approach. Speaking to <em>Bitcoin Magazine,<\/em> BitPay CEO Stephen Pair explained that they will only start integration once it is more certain that the soft fork will actually activate.<\/p>\n<p>\u201cWe do plan to support SegWit. The timeline for that support will be driven by the activation of the required soft fork,\u201d Pair said, \u201cbut we don&#8217;t know exactly when the activation will occur, so we don&#8217;t want to spend time now only to have it take another six months or a year before activation happens.\u201d<\/p>\n<p><strong>Increased Complexity<\/strong><\/p>\n<p>In order to be able to deploy Segregated Witness as a soft fork, the Bitcoin Core developers opted to place a reference to signature data in a somewhat odd part of Bitcoin blocks. Although this does not make the solution insecure, it does add some complexity to Bitcoin\u2019s code-base, but the added effort for the wallet providers is not extreme.<\/p>\n<p>Most of the complexity is \u201chidden inside\u201d the open-source software libraries many wallets rely on. Several of these libraries have already integrated Segregated Witness support, and others should be able to include it within a few weeks.<\/p>\n<p>Ruben de Vries is a developer for&nbsp;<a href=\"https:\/\/wallet.btc.com\/\" target=\"_blank\" rel=\"noopener\">BTC.com<\/a>, and one of the maintainers of the bitcoinjs JavaScript library. At BTC.com he also works with Thomas Kerin, lead maintainer of the Bitcoin-php library. Speaking to <em>Bitcoin Magazine<\/em>, de Vries said:<\/p>\n<p>\u201cBitcoin-php has been ready for months. Bitcoinjs is pending review and some discussion because there are some backwards compatibility breaks. We could have it ready as soon as next week, though. For wallets, the change is very minor, technically. Looking purely at transaction building and signing, SegWit adds a bit of complexity, but not that much. Really, only full-node developers and projects have to bear with the full complexity.\u201d<\/p>\n<p>As a general sentiment, wallet developers seemed to agree that the Segregated Witness solution is somewhat \u201chacky\u201d \u2014 but worth it. \u201cI consider SegWit to be \u2018Bitcoin 1.0;\u2019 it&#8217;s fixing a couple of issues that are like \u2018beta bugs,\u2019\u201d de Vries said.<\/p>\n<p>For Mycelium, Daniel Weigl has done most of the SegWit integration:<\/p>\n<p>\u201cWhen \u2014 in a SegWit world \u2014 a new developer learns about Bitcoin and how things work, he or she will stumble over a lot of strange things that will not be self-explanatory without knowing what transactions and blocks looked like before SegWit,\u201d Weigl said. \u201cThat adds barriers to entry in an already complicated topic. But I\u2019m no friend of hard forks either, so I also would not know how we could solve that without those quirks.\u201d<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bitcoin Core 0.13.1 was&nbsp;released last week, which means miner signaling on the proposed&nbsp;SegregatedWitness (SegWit) soft fork will start soon. If activated, SegWit offers a number of benefits, one of which is an effective block size limit increase to about 1.6 to 2 megabytes, depending on the types of transactions included in blocks. If and when [&hellip;]<\/p>\n","protected":false},"author":2509,"featured_media":24607,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35],"tags":[1999,91,783,1079,163],"class_list":["post-24606","post","type-post","status-publish","format-standard","has-post-thumbnail","category-technical","tag-android","tag-bitcoin-magazine","tag-bitpay","tag-segwit","tag-wallets"],"author_data":{"id":2509,"name":"Aaron van Wirdum","nicename":"aaron-van-wirdum","avatar_url":"https:\/\/bitcoinmagazine.com\/wp-content\/uploads\/2024\/12\/aaron-van-wirdum-96x96.jpg"},"featured_image_url":"https:\/\/bitcoinmagazine.com\/wp-content\/uploads\/2024\/11\/bitcoin-wallet-developers-prepare-for-segregated-witness.jpg","_links":{"self":[{"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/posts\/24606","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/users\/2509"}],"replies":[{"embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/comments?post=24606"}],"version-history":[{"count":0,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/posts\/24606\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/media\/24607"}],"wp:attachment":[{"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/media?parent=24606"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/categories?post=24606"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/tags?post=24606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}