{"id":18852,"date":"2019-12-19T13:00:20","date_gmt":"2019-12-19T13:00:20","guid":{"rendered":"http:\/\/ci027cfe6ce0092697"},"modified":"2019-12-19T13:00:20","modified_gmt":"2019-12-19T13:00:20","slug":"bitcoins-2019-in-tech-what-this-year-brought-us-part-1","status":"publish","type":"post","link":"https:\/\/bitcoinmagazine.com\/technical\/bitcoins-2019-in-tech-what-this-year-brought-us-part-1","title":{"rendered":"Bitcoin\u2019s 2019 in Tech: What This Year Brought Us (Part 1)"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><figure><img decoding=\"async\" src=\"https:\/\/bitcoinmagazine.com\/wp-content\/uploads\/2024\/11\/2019-bitcoin-tech-in-review.jpg\" title=\"\"><\/figure>\n<p>Bitcoin\u2019s technical development is progressing full steam ahead. The leading cryptocurrency\u2019s developer community, growing each year, is hard at work to improve the Bitcoin protocol and everything around it. Some of the bigger projects \u2014 <a href=\"https:\/\/bitcoinmagazine.com\/articles\/taproot-coming-what-it-and-how-it-will-benefit-bitcoin\">Taproot<\/a>, <a href=\"https:\/\/bitcoinmagazine.com\/articles\/with-stratum-v2-braiins-plans-big-overhaul-in-pooled-bitcoin-mining\">Stratum V2<\/a>, <a href=\"https:\/\/bitcoinmagazine.com\/articles\/secure-the-bag-cutting-transactions-in-half-to-resolve-bitcoin-network-congestion\">OP_CHECKTEMPLATEVERIFY<\/a> and Drivechain, to name a few examples \u2014 have made much progress throughout the year and could (in some cases optimistically) be released in 2020. Meanwhile, SegWit-usage kept increasing throughout 2019, more coins are mixed through <a href=\"https:\/\/bitcoinmagazine.com\/articles\/hiddenwallet-and-samourai-wallet-join-forces-make-bitcoin-private-zerolink\">Chaumian CoinJoin<\/a> tools each month, and a growing number of wallets and services are adopting the bech32 address standard.<\/p>\n<p>But, as 2019 comes to an end, let\u2019s take a look at which new technologies have been released in the past year.<\/p>\n<h2>Less Trust Required With Guix<\/h2>\n<p>Computers speak binary: they receive instructions from computer programs in \u201cones and zeros.\u201d But humans don\u2019t speak binary. Programs are, therefore, written in human-readable programming languages, to then be compiled (\u201ctranslated\u201d) into binary code.<\/p>\n<p>But this means that when you download binaries, for example the latest Bitcoin Core release, you cannot check that it actually matches the open-source project hosted on Bitcoin Core\u2019s GitHub repository. You are trusting whoever sent you the software or whichever webpage you downloaded it from.<\/p>\n<p>To help subvert this problem, a number of Bitcoin Core developers compile Bitcoin Core\u2019s latest release into binaries as a standard part of the release process, and cross-check that their binaries match. They cryptographically sign the binaries if they match and only if they match. These signatures can, in turn, be checked by users downloading the binaries. In this way, no single developer needs to be trusted. (Of course, users can also compile the binaries themselves, if they don\u2019t even want to trust this group of developers.)<\/p>\n<p>This is harder than it sounds, however. The process of compiling binaries is usually subject to minor variables, for example, because it\u2019s done on different operating systems or at different speeds. This can actually result in different binaries even when compiled from the same source, making cross-checks impossible.<\/p>\n<p>To solve this, Bitcoin developers use a program called Gitian. Gitian is best understood as a virtual computer within a computer, in which programs can be compiled, so they always result in the exact same binaries.<\/p>\n<p>However, Gitian has the problem that Gitian itself was somewhat trusted: It relies heavily on Ubuntu binaries. This theoretically opens the door to sophisticated attacks on the Gitian process, potentially indirectly affecting the Bitcoin Core binaries users end up downloading.<\/p>\n<p>Chaincode Labs engineer Carl Dong, therefore, introduced <a href=\"https:\/\/en.wikipedia.org\/wiki\/GNU_Guix\" target=\"_blank\" rel=\"noopener\">Guix<\/a>, a binary verification system that allows users to check that the Bitcoin Core client they download corresponds exactly with the code that Bitcoin Core developers wrote. In July 2019, the Bitcoin Core project merged support for Dong\u2019s solution, removing another layer of trust.<\/p>\n<p>\u201cGuix allows us to construct the environment in a way where we rely on a severely reduced set of trusted binaries,\u201d Dong <a href=\"https:\/\/bitcoinmagazine.com\/articles\/guix-makes-bitcoin-core-development-trustless\">told<\/a><em>Bitcoin Magazine<\/em> earlier this year. \u201cMost of the environment is constructed by building from a tiny binary seed, and this building process is much more auditable.\u201d<\/p>\n<h2>Sidechains\u2019 Increased Asset Offerings<\/h2>\n<p>2018 was the year in which Bitcoin\u2019s first sidechains were launched: Blockstream\u2019s Liquid and RSK Labs\u2019 RSK, both of which are (for now) secured by a federation. A group of key-holders \u2014 well-known companies in the space \u2014 lets users effectively move bitcoin from the Bitcoin blockchain to the alternative blockchain, where the coins obey different protocol rules.<\/p>\n<p>Now, as of 2019, Bitcoin sidechains are increasingly used for a wider range of assets. Liquid in particular is hosting <a href=\"https:\/\/blockstream.info\/liquid\/assets\" target=\"_blank\" rel=\"noopener\">a list of alternative assets<\/a>, which under Liquid\u2019s protocol rules allows them to change hands quickly and privately. Barring some tests and playtokens, or assets that aren\u2019t actually used yet (like Infinite Fleet\u2019s INF, because the game is still to be released), SideShift AI was perhaps the first company of note to deploy its native token <a href=\"https:\/\/help.sideshift.ai\/en\/articles\/2834521-what-is-sai-token\" target=\"_blank\" rel=\"noopener\">SAI<\/a> on the Liquid sidechain. (SideShift AI first suggested it might do this in January 2019 and followed suit later in the year \u2014 but we\u2019ve been unable to find out when exactly. Edit: It was July.)<\/p>\n<p>Additionally, several stablecoins found a home on Liquid, for example those issued by <a href=\"https:\/\/www.listedreserve.com\/\" target=\"_blank\" rel=\"noopener\">Listed Reserve<\/a> and <a href=\"https:\/\/condensat.tech\/\" target=\"_blank\" rel=\"noopener\">Condensat Technologies<\/a>. Then, in July 2019, Tether (USDT) \u2014 the industry\u2019s biggest stablecoin by market cap \u2014 was <a href=\"https:\/\/tether.to\/tether-add-support-for-liquid-network\/?__cf_chl_jschl_tk__=f3882a15ddfc3f6ebfebeaf2d6ee59662f9bf7a2-1576082705-0-AW6_NJKlkhGEo4rw21Wo_sTe3eyUzW2osWtCukpxVDsZlBkNTNGOciuZZOkkHRbk1001jsEjqAXAM8x9sVz-nfofjOV3y7sGUZrJdm089ve9fBc2VuNKEt6hx1ZukqBPGZED9ailF8f135DCRv24QXxqy-USVzyWJhbsN41guGzmfVlQL-TCB6Yke-oQSrjxLpe6XtmQRNVZ9S2RN1N8knpvCSMOcYIYbmqClX6TjIeQlmgaM29BdDahUWCPD80yNrJL0cS1HnfSRGGVvZmiEXlvuVJWZC-eET---Lswn3MsyxmcVetpDWmgid_fEC17EQ\" target=\"_blank\" rel=\"noopener\">deployed<\/a> on Blockstream\u2019s sidechain. In itself considered the fourth-largest cryptocurrency by market cap at the time of writing, USDT is now ready to be leveraged for arbitrage between exchanges and potentially <a href=\"https:\/\/bitcoinmagazine.com\/guides\/what-are-atomic-swaps\">atomic swaps<\/a>, and accessible through Blockstream\u2019s Green wallet.<\/p>\n<p>&#8220;The growth of alternative assets like stablecoins and security tokens on the Liquid Network shows that sidechain technology is maturing rapidly,\u201d Blockstream CSO Samson Mow told <em>Bitcoin Magazine<\/em>. \u201cWe hope and expect that Liquid usage will only increase in 2020.\u201d<\/p>\n<p>It seems that Liquid may indeed host more assets in the near future. Just in early December 2019, Dubai-based cryptocurrency exchange BTSE <a href=\"https:\/\/www.coindesk.com\/btse-exchange-plans-50m-token-raise-on-blockstreams-ethereum-rival-liquid\" target=\"_blank\" rel=\"noopener\">announced<\/a> a token offering hosted on Blockstream\u2019s sidechain.<\/p>\n<h2>Shamir Backups for More Secure Storage<\/h2>\n<p>Hardware wallets are generally considered to be among the more secure solutions to store bitcoin. But even hardware wallets can break, get lost, be stolen or become otherwise unusable. This is why users are encouraged to keep a backup seed: A list of words, typically written down on a piece of paper, with which the funds on a hardware wallet can be recovered. But this introduces a new risk: If the seed is stolen, the thief could gain access to all your funds. If the seed is lost (or part of it is, for example, because it was cut in pieces and stored in different locations), it cannot be used to recover the wallet if needed.<\/p>\n<p>In August 2019, SatoshiLabs introduced a solution to this problem:<a href=\"https:\/\/bitcoinmagazine.com\/articles\/hardware-wallets-just-got-a-bit-more-secure-with-trezors-shamir-backups\"> Shamir Backups<\/a>. After more than a year of development, the company behind the Trezor hardware wallet finished a seed format based on Shamir\u2019s Secret Sharing: A cryptographic algorithm created by well-known cryptographer Adi Shamir. It\u2019s now possible to \u201csplit up\u201d a wallet seed into several different seeds (\u201cshares\u201d), of which a predetermined subset of them is needed to recover the wallet. SatoshiLabs\u2019 Shamir Backups allow for the creation of up to 16 shares, while individual shares can even be divided into sub-shares.<\/p>\n<p>\u201cTo give one of the practical use tips \u2014 if you want your kids or loved ones to have fair access to your digital assets even after you are not here, you can split the shares evenly among them, preventing single individuals from accessing your funds,\u201d SatoshiLabs CEO Marek \u201cSlush\u201d Palatinus suggested, speaking with <em>Bitcoin Magazine<\/em>. \u201cThe possibilities are now much broader, and we are happy to offer this open-source solution to any project in the industry.\u201d<\/p>\n<h2>New Privacy Tools With Pay to Endpoint (P2EP)<\/h2>\n<p><a href=\"https:\/\/bitcoinmagazine.com\/articles\/blockchain-analysis-about-get-harder-p2ep-enters-testing-phase\">Pay to Endpoint<\/a> (P2EP) is a privacy technique first popularized <a href=\"https:\/\/blockstream.com\/2018\/08\/08\/en-improving-privacy-using-pay-to-endpoint\/\" target=\"_blank\" rel=\"noopener\">through<\/a><a href=\"https:\/\/medium.com\/@nopara73\/pay-to-endpoint-56eb05d3cac6\" target=\"_blank\" rel=\"noopener\"> blogs<\/a> and <a href=\"https:\/\/www.youtube.com\/watch?v=0-DS7X99F7Y&amp;feature=youtu.be&amp;t=2427\" target=\"_blank\" rel=\"noopener\">podcasts<\/a> in the summer of 2018, following a privacy-focused brainstorm event attended by Bitcoin privacy researchers. (Fittingly, it remains unknown who attended the event exactly.)<\/p>\n<p>In short, P2EP is a trick that would break the assumptions that much of blockchain analysis relies on, even if only a small segment of Bitcoin users would utilize it. It does this by having the recipient of a transaction <em>partake <\/em>in the transaction through a <a href=\"https:\/\/bitcoinmagazine.com\/articles\/coinjoin-combining-bitcoin-transactions-to-obfuscate-trails-and-increase-privacy-1465235087\">CoinJoin<\/a>, to basically send funds to themselves, in addition to the actual payment. If blockchain spies assume that all coins sent in a transaction belonged to the sender \u2014 as would normally be the case \u2014 they would be wrong. Being wrong a bit too often might render this type of heuristics useless altogether.<\/p>\n<p>In the final weeks of 2018, a demo version and early implementation of this privacy tool had already been <a href=\"https:\/\/bitcoinmagazine.com\/articles\/blockchain-analysis-about-get-harder-p2ep-enters-testing-phase\">introduced<\/a>, in the form of Bustapay and PayJoin, for JoinMarket. These versions have not been developed much further, however.<\/p>\n<p>But in August 2019, the privacy-focused Samourai Wallet <a href=\"https:\/\/blog.samouraiwallet.com\/post\/187001617347\/wallet-update-09985-get-in-cahoots\" target=\"_blank\" rel=\"noopener\">released<\/a> its own version of P2EP, called Stowaway, under the Cahoots umbrella. Stowaway slightly differs from some other versions of P2EP, in that it only lets users make such payments to explicitely selected peers. Samourai Wallet developers believe this is a bit better for privacy, as recipients do need to reveal some of their coin ownership to the sender.&nbsp;<\/p>\n<p>A related trick under Samourai Wallet\u2019s same Cahoots umbrella, also released this year, is STONEWALLx2. With STONEWALL (without the \u201cx2\u201d), users could make normal payments <em>look like<\/em> CoinJoin payments even though they aren\u2019t, simply to confuse blockchain spies. With STONEWALLx2, real CoinJoins are made, in which the coins of a selected peer are used to make the mix. This trusted peer just gets his funds returned to him. Samourai Wallet will soon also offer Cahoots as a Service, a premium spend where the Samourai team itself acts as the selected peer.<\/p>\n<p>\u201cOne of our main goals is to provide the best possible on-chain transactional privacy for our users,\u201d pseudonymous Samourai Wallet developer \u201cSamouraidev\u201d told <em>Bitcoin Magazine<\/em>. \u201cThe past year has been spent moving ahead with our roadmap and placing on-chain transactional privacy tools not only front-and-center, but in the palm of everyone\u2019s hand.\u201d<\/p>\n<p>Adding to Cahoots (and its Chaumian CoinJoin implementation Whirlpool), Samourai Wallet in 2019 also introduced its \u201cDojo\u201d: a dedicated backend full node server benefiting privacy (as well as security).<\/p>\n<h2>Miniscript Is Making Bitcoin Programming Easy(er)<\/h2>\n<p>Spending bitcoin, on a technical level, really means \u201cunlocking\u201d bitcoin, and \u201clocking them up\u201d again. The conditions under which coins can be \u201cunlocked\u201d are embedded in code, which is created in a programming language specifically designed for Bitcoin, called \u201cScript.\u201d Script has some complications, however, most notably that it isn\u2019t always easy to interpret by humans, which makes it tricky to work with.<\/p>\n<p>To improve on this, Blockstream&#8217;s Andrew Poelstra, Pieter Wuille and Sanket Kanjalkar (an intern) designed a \u201cstripped down\u201d version of Script: A selection of \u201ctools\u201d from the \u201cScript toolkit\u201d that makes it easier to use and easier to verify. <a href=\"https:\/\/bitcoinmagazine.com\/articles\/miniscript-how-blockstream-engineers-are-making-bitcoin-programming-easyer\">Miniscript<\/a>, as it&#8217;s called, allows for virtually everything that Script allows, save some fringe use cases, but it is much more straightforward and predictable.<\/p>\n<p>\u201cMiniscript is, in a theoretical sense, more limiting than Script,\u201d Blockstream director of research and Miniscript co-designer Andrew Poelstra <a href=\"https:\/\/bitcoinmagazine.com\/articles\/miniscript-how-blockstream-engineers-are-making-bitcoin-programming-easyer\">told<\/a><em>Bitcoin Magazine<\/em> earlier this year. \u201cBut it can do everything that people <em>actually use<\/em> Script for.\u201d<\/p>\n<p>To make the process of writing Miniscript even easier, Wuille also designed a \u201cpolicy language.\u201d The policy language is really like a programming language of its own. After programming the conditions under which a coin can be spent in this policy language, it can be compiled into Miniscript, and, therefore, into valid Script. An added benefit of this policy language is that it automatically compiles into the best, most efficient version of Miniscript possible.<\/p>\n<p>While the current version of Miniscript is not actually the final version, Blockstream is already using it internally, and Wuille is <a href=\"http:\/\/bitcoin.sipa.be\/miniscript\/\" target=\"_blank\" rel=\"noopener\">hosting<\/a> a demo version of a policy language for anyone to use.<\/p>\n<p><em>In part two of this series on what 2019 brought to Bitcoin: The Lightning Network.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As 2019 comes to an end, let\u2019s take a look at the most impactful new technologies that were released for Bitcoin this year.<\/p>\n","protected":false},"author":2509,"featured_media":18853,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35],"tags":[3152,1755,1358],"class_list":{"0":"post-18852","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-technical","8":"tag-guix","9":"tag-miniscript","10":"tag-shamir-backups"},"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\/2019-bitcoin-tech-in-review.jpg","_links":{"self":[{"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/posts\/18852","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=18852"}],"version-history":[{"count":0,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/posts\/18852\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/media\/18853"}],"wp:attachment":[{"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/media?parent=18852"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/categories?post=18852"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/tags?post=18852"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}