If the privacy and scaling upgrade Schnorr/Taproot makes it into bitcoin (BTC), it could pave the way for advanced and heretofore impossible projects. That is, as they say, good for bitcoin.
Schnorr/Taproot has made a great deal of progress recently, moving from a theoretical privacy and scaling idea into actual code. But while the community is very excited about its future, the change is rather confusing. Why? Because it bundles together several different technologies proposed over the years and each one is technically and conceptually unique.
First, there are Merklized Abstract Syntax Trees (MASTs), a smart contract technology developers have been talking about since 2013. Then we add Schnorr signatures, a scaling change first proposed in 2015 by Pieter Wuille, and finally Taproot, a privacy technology built on top of both, proposed in 2018 by Greg Maxwell.
Privacy and scaling are two things bitcoin still lacks. But as badly as these changes are needed, massive updates like this one are hard and, as such, are few and far between in bitcoin.
One thorny issue is simply deciding what would go into the upgrade.
"I think the biggest struggle in the process was to come up with the exact set of features to deploy at the same time," Blockstream researcher Tim Ruffing told CoinDesk.
Here's a rundown of what changes made the cut, and what didn't.
How big is this update?
First, we must remember this update is helpful but it's not a magic pill that instantly morphs bitcoin into a super-scalable and private currency, as experts debated on Twitter recently.
"It's the right thing to do these improvements but they won't suddenly make bitcoin a private currency," Ruffing said.
There will be some clear improvements. First, more complex types of transactions will be easier to use. In the most typical transaction, one person "signs" a transaction, proving he or she owns the bitcoin and can send it. "Multi-signature" (multi-sig) transactions, on the other hand, require more than one person to sign a transaction. This update will make it easier for multi-sig users.
"It's likely that more wallets will support multi-sig because it's cheaper and more private with BIP-taproot," Blockstream researcher Jonas Nick told CoinDesk.
Multi-signature has many important use cases. First, the multi-sig dependent lightning network could potentially speed up and scale payments for bitcoin, solving massive issues with the digital currency. If lightning proves to be the future of bitcoin, this improvement could have a large impact by making these transactions smaller in size and cheaper to process.
Further, multi-sig transactions using the new technology will look the same as normal transactions. So even though the bitcoin blockchain is public and anyone can easily look up a particular transaction, with this technology viewers will have no idea that these transactions actually represent lightning channels.
"Lightning channel openings and cooperatives are indistinguishable on the blockchain from normal payments. This also means that opening a lightning channel is just as expensive as a normal payment," Nick said.
Finally, the change would pave the way for other improvements that weren't possible before. One such possible next step is the addition of "cross-input aggregation," another way of scaling bitcoin by as much as 25 to 30 percent.
Schnorr for more efficient signatures
Understanding these upgrades requires some understanding of how bitcoin works. Only with the right "private key" (like an access code) can someone "sign" a transaction, thereby sending bitcoin to someone else. This process produces a "signature" that is attached to the transaction. The beauty is that anyone in the world can verify that this signature was produced by the right key
We touched on a more complicated version of this, multi-signature transactions, where more than one person is required to sign a transaction. When such a transaction is signed using ECDSA (bitcoin's current signature algorithm), it produces a separate signature for each person.
But this might be unnecessary. With the help of Schnorr signatures, it is possible to squash all of this data into a single signature using key aggregation.
The biggest struggle in the process was to come up with the exact set of features to deploy at the same time.
This makes the special type of bitcoin transaction smaller in size -- to the tune of 30 to 75 percent, according to Bitcoin Optech, an organization that helps bitcoin businesses adopt new scaling technologies like Schnorr/Taproot.
These sorts of scaling technologies are important because downloading the full bitcoin blockchain is the most secure and trust-minimizing way of using bitcoin. But that process requires more than 300 gigabytes of storage space.
Schnorr signatures also allow for something called "batch validation," making it possible to verify that multiple signatures are valid, saving time.
But just as important is what this upgrade leaves out in terms of Schnorr.
Developers have long proposed using "cross-input signature aggregation" to build Schnorr signatures into bitcoin transactions. Usually, each transaction requires more than one signature, one for each "input," which is roughly equivalent to one bill out of a handful of them passed over to a cashier.
But what if we could squash all these signatures for every transaction together?
Schnorr signatures theoretically allow for this. But this feature will have to wait for another time, as developers are still working through some security problems with adding this to bitcoin. Though with Schnorr added as a signature option in bitcoin, this kind of functionality will be one step closer.
"This could be done in a future upgrade," Ruffing said.
MASTs: better smart contracts
Merkelized Abstract Syntax Trees (MASTs) aren't in the name of the upcoming bitcoin upgrade, but it's still a cool technology that developers have been talking about for a long time.
MASTs improve smart contracts in bitcoin, making it easier for users to set more complicated conditions for a transaction.
Think back to the multi-signature option we talked about earlier, where two people instead of just one need to sign a transaction. Then imagine a situation in which you want to say a bitcoin can't be retrieved until after a certain date. A user might want to combine these conditions at once. That's where MASTs come in.
Right now, when one of these scripts is "redeemed" the full script is squashed into a transaction, taking up a lot of room and showing the whole world what conditions the user used to lock up the bitcoin.
MASTs arrange these conditions in a new way that looks like a tree. Each branch of the tree holds a different condition a user could meet to spend the bitcoin. Then, only a hash of the tip of the tree is included in the bitcoin blockchain instead of all the script conditions.
This is more private because only the script used will hit the blockchain. All in all, MASTs make it much easier and cheaper to lock up bitcoin with these more complicated rulesets.
Taproot gives a privacy boost
Taproot builds on MASTs and Schnorr to create smart contracts with better privacy.
Generally, right now, transactions with complex scripts using MAST would really stand out on the blockchain. Even if MAST itself is more privacy-preserving, the format is a bit different for these transactions so it's easy to tell if someone is using a script or not.
Using the magic of signature aggregation Schnorr provides, Taproot would make these transactions look just like normal transactions.
But it doesn't work for every MAST contract, only for cooperative spends, where one branch of the Merkle tree is a multi-sig transaction, which is successfully used. If any of the other branches are used, then this privacy benefit disappears.
That said, developers expect the cooperative spend use case will be the most common use.
Then there's Tapscript, which could make it easier to make further improvements to the scripts we've talked about in the future. "While the BIP-tapscript changes don't immediately benefit the average bitcoin user, they are designed to make updates to the script system easier in the future," Nick said.
Right now, developers are battle testing this bundle of new technologies. So far no major problems have been found, but developers are making it the best they can before they try to add it to bitcoin with a soft fork.
"Just recently we've suggested a few minor changes to make the Schnorr signing algorithm more resistant to implementation mistakes and physical attacks," Nick said. As developers grow and expand bitcoin's technology, its changes like these that will truly make the platform usable for developers and financial professionals alike.
View original post here:
Schnoor/Taproot Could Improve Bitcoin Privacy and Scaling - CoinDesk
- Google removes malware Android apps used to secretly mine bitcoin [Last Updated On: April 26th, 2014] [Originally Added On: April 26th, 2014]
- Bitcoin exchange MtGox liquidated [Last Updated On: April 26th, 2014] [Originally Added On: April 26th, 2014]
- Bitcoin Wannabe Litecoin Emerges as Low-Price Challenger [Last Updated On: April 26th, 2014] [Originally Added On: April 26th, 2014]
- The Worlds First Bitcoin Debit Card Is Almost Here [Last Updated On: April 26th, 2014] [Originally Added On: April 26th, 2014]
- How does Bitcoin work? - Bitcoin - Open source P2P money [Last Updated On: April 26th, 2014] [Originally Added On: April 26th, 2014]
- Bitcoin - Wikipedia, the free encyclopedia [Last Updated On: April 26th, 2014] [Originally Added On: April 26th, 2014]
- The Bitcoin Group #27 - China Bans Bitcoin Again - Politics - Dark Market - Bitcoin VC - Video [Last Updated On: April 26th, 2014] [Originally Added On: April 26th, 2014]
- Edan Yago - Free Market Bitcoin regulation and Honduras free trade zones.mp4 - Video [Last Updated On: April 26th, 2014] [Originally Added On: April 26th, 2014]
- Bitcoin vs. Political Power: The Cryptocurrency Revolution - Stefan Molyneux at TNW Conference - Video [Last Updated On: April 26th, 2014] [Originally Added On: April 26th, 2014]
- Video: Roundup of This Week's Bitcoin News 25th April 2014 - Video [Last Updated On: April 26th, 2014] [Originally Added On: April 26th, 2014]
- Bitcoin Fredagsbar med Torben Mark Pedersen - Video [Last Updated On: April 26th, 2014] [Originally Added On: April 26th, 2014]
- Bitcoin and the Internet of Money - Video [Last Updated On: April 26th, 2014] [Originally Added On: April 26th, 2014]
- Bitcoin for Dummies - Video [Last Updated On: April 26th, 2014] [Originally Added On: April 26th, 2014]
- Bitcoin runner-up Litecoin emerges as low-price challenger [Last Updated On: April 27th, 2014] [Originally Added On: April 27th, 2014]
- Bitcoin or Gold? Squawk Walk Taipei- Squawkonomics - Video [Last Updated On: April 27th, 2014] [Originally Added On: April 27th, 2014]
- Bitcoin Miner AntMiner S1 180 - 200 GH/s Nu in de Aanbieding! - Video [Last Updated On: April 27th, 2014] [Originally Added On: April 27th, 2014]
- New Bitcoin Documentary: Boom or Bust - Video [Last Updated On: April 27th, 2014] [Originally Added On: April 27th, 2014]
- Bitcoin May v0.9.1 GitHub Source Code Development Visualization - Video [Last Updated On: April 27th, 2014] [Originally Added On: April 27th, 2014]
- Atomic-Trade Bitcoin Exchange. AML, BSA, FinCEN compliant - Video [Last Updated On: April 27th, 2014] [Originally Added On: April 27th, 2014]
- China Bans Bitcoin Again -- Bitcoin the Movie -- Startup for Startups Raises 2,000 BTC - Video [Last Updated On: April 27th, 2014] [Originally Added On: April 27th, 2014]
- 4/24/14 - Xapo Debit Card, Russia's 1st Bitcoin Conference, Silk Road 2.0 - Video [Last Updated On: April 27th, 2014] [Originally Added On: April 27th, 2014]
- What is Bitcoin? - Video [Last Updated On: April 27th, 2014] [Originally Added On: April 27th, 2014]
- David Andolfatto, How Does Bitcoin Work? - Video [Last Updated On: April 27th, 2014] [Originally Added On: April 27th, 2014]
- Australian Bitcoin traders hit by crash [Last Updated On: April 28th, 2014] [Originally Added On: April 28th, 2014]
- Bitcoin traders hit by Mt.Gox crash [Last Updated On: April 28th, 2014] [Originally Added On: April 28th, 2014]
- Market Extra: Bitcoin venture capital money hasnt kept up with buzz [Last Updated On: April 28th, 2014] [Originally Added On: April 28th, 2014]
- Bitcoin price slips as China steps up regulation [Last Updated On: April 28th, 2014] [Originally Added On: April 28th, 2014]
- Bitcoin price slips on China regulation [Last Updated On: April 28th, 2014] [Originally Added On: April 28th, 2014]
- Win .33 Bitcoin ($150 or so, Depending on BTC value) - Meme game for May 1st - Take My Bitcoins - Video [Last Updated On: April 28th, 2014] [Originally Added On: April 28th, 2014]
- Ron Paul on Bitcoin - Video [Last Updated On: April 28th, 2014] [Originally Added On: April 28th, 2014]
- btc.sx Bitcoin derivatives platform George Samman clip - Video [Last Updated On: April 28th, 2014] [Originally Added On: April 28th, 2014]
- 'The Rise And Rise Of Bitcoin' Filmmaker: 'There Is No Answer Yet' [Last Updated On: April 29th, 2014] [Originally Added On: April 29th, 2014]
- Bitcoin the movie: It just had to happen [Last Updated On: April 29th, 2014] [Originally Added On: April 29th, 2014]
- Bitcoin Vies with New Cryptocurrencies as Coin of the Cyber Realm [Last Updated On: April 29th, 2014] [Originally Added On: April 29th, 2014]
- The Bitcoin Meetup - BitcoinMKE Hosts Jeffrey Tucker - Video [Last Updated On: April 29th, 2014] [Originally Added On: April 29th, 2014]
- MIT Bitcoin Expo 2014 - Video [Last Updated On: April 29th, 2014] [Originally Added On: April 29th, 2014]
- Bitcoin Expo 2014: Fireside Chat with Dr Gavin Wood - Video [Last Updated On: April 29th, 2014] [Originally Added On: April 29th, 2014]
- Rise Bitcoin Singapore - Video [Last Updated On: April 29th, 2014] [Originally Added On: April 29th, 2014]
- Preview: Bitcoin Authenticator - 2FA for wallets - Video [Last Updated On: April 29th, 2014] [Originally Added On: April 29th, 2014]
- The Bitcoin Group #27 (Live) - China Bans Bitcoin Again - Politics - Dark Market - Bitcoin VC - Video [Last Updated On: April 29th, 2014] [Originally Added On: April 29th, 2014]
- 4/25/14 - More China uncertainty, Missourian bitcoin warning, BadLepricon malware - Video [Last Updated On: April 29th, 2014] [Originally Added On: April 29th, 2014]
- Money & Tech at The Rise And Rise Of Bitcoin Afterparty - Video [Last Updated On: April 29th, 2014] [Originally Added On: April 29th, 2014]
- New Bitcoin student club at MIT will promote the virtual currency [Last Updated On: April 30th, 2014] [Originally Added On: April 30th, 2014]
- 4/29/14 - MIT Bitcoin Project, Mt Gox revival plan, Mastercard lobbyists & Team Rubicon - Video [Last Updated On: April 30th, 2014] [Originally Added On: April 30th, 2014]
- BitCoin Dentist GoCoin Fox News Interview - Video [Last Updated On: April 30th, 2014] [Originally Added On: April 30th, 2014]
- Bitcoin Foundation Election Hiccups -- Pathetic Ohio Bans Bitcoins -- Dogecon SF 2014 - Video [Last Updated On: April 30th, 2014] [Originally Added On: April 30th, 2014]
- Bitcoin Slips to $420 as BTC China Halts Transactions - Video [Last Updated On: April 30th, 2014] [Originally Added On: April 30th, 2014]
- MultiSig Plus BitCoin Multi Coin Wallet looks like HUGE INVESTMENT potential! - Video [Last Updated On: April 30th, 2014] [Originally Added On: April 30th, 2014]
- Bitcoin: what happens when the miners pack up their gear? [Last Updated On: May 1st, 2014] [Originally Added On: May 1st, 2014]
- Dark Wallet Is About to Make Bitcoin Money Laundering Easier Than Ever [Last Updated On: May 1st, 2014] [Originally Added On: May 1st, 2014]
- Bitcoin Talk Show #7 -- Skype BitcoinTalkShow to Call in Live! 🙂 - Video [Last Updated On: May 1st, 2014] [Originally Added On: May 1st, 2014]
- Basic Bitcoin Bitches - Video [Last Updated On: May 1st, 2014] [Originally Added On: May 1st, 2014]
- Gold standard vs Fiat vs Bitcoin - Truthloader - Video [Last Updated On: May 1st, 2014] [Originally Added On: May 1st, 2014]
- How to Defund the System: Bitcoin vs. the Central Banksters - Video [Last Updated On: May 1st, 2014] [Originally Added On: May 1st, 2014]
- Bitcoin, Anarchy and Freedom with Roger Ver - Video [Last Updated On: May 1st, 2014] [Originally Added On: May 1st, 2014]
- MIT Goes Bitcoin-Wild [Last Updated On: May 1st, 2014] [Originally Added On: May 1st, 2014]
- Bitcoin Weekly 2014 April 30: Bloomberg adds Bitcoin to their market index, MIT to produce campus-wide bitcoin ... [Last Updated On: May 1st, 2014] [Originally Added On: May 1st, 2014]
- 'Dark Wallet' wants to make Bitcoin even harder to trace [Last Updated On: May 1st, 2014] [Originally Added On: May 1st, 2014]
- Bitcoin made simple (video animation) - Video [Last Updated On: May 1st, 2014] [Originally Added On: May 1st, 2014]
- Jon Matonis: Bitcoin - The future of commerce? - Video [Last Updated On: May 1st, 2014] [Originally Added On: May 1st, 2014]
- $100 in Bitcoin Going to Every MIT Undergrad - Video [Last Updated On: May 1st, 2014] [Originally Added On: May 1st, 2014]
- The Rise of Digital Currency - Video [Last Updated On: May 1st, 2014] [Originally Added On: May 1st, 2014]
- Money Goes Virtual: The Bitcoin Bourse - Video [Last Updated On: May 2nd, 2014] [Originally Added On: May 2nd, 2014]
- Bitcoin Lights with LIFX - Video [Last Updated On: May 2nd, 2014] [Originally Added On: May 2nd, 2014]
- Bitcoin: How We Got Here and Where We Are Going [Last Updated On: May 3rd, 2014] [Originally Added On: May 3rd, 2014]
- 5/1/14 - Larry Summers warns critics, Paym system & Bitcoin Center NYC roundtable - Video [Last Updated On: May 3rd, 2014] [Originally Added On: May 3rd, 2014]
- On est Connect S2 #07 1/2 : BitCoin et Musique sur Internet - Video [Last Updated On: May 3rd, 2014] [Originally Added On: May 3rd, 2014]
- MIT Undergrads To Receive $100 Worth Of Bitcoin This Fall - Video [Last Updated On: May 3rd, 2014] [Originally Added On: May 3rd, 2014]
- Why it only took ME less than 2 minutes to believe in Bitcoin - Video [Last Updated On: May 3rd, 2014] [Originally Added On: May 3rd, 2014]
- Bitcoin Basics and Regulation Thoughts from NH Liberty Forum - Bruce Fenton - Video [Last Updated On: May 3rd, 2014] [Originally Added On: May 3rd, 2014]
- PRIMER CAJERO DE BITCOIN EN BIT CENTER DE TIJUANA - Video [Last Updated On: May 3rd, 2014] [Originally Added On: May 3rd, 2014]
- Yelp adds Bitcoin acceptance to business listings - Video [Last Updated On: May 3rd, 2014] [Originally Added On: May 3rd, 2014]
- Bitcoin A Terrorist Threat? Counterterrorism Program Names Virtual Currencies As Area Of Interest [Last Updated On: May 4th, 2014] [Originally Added On: May 4th, 2014]
- How Does Bitcoin Works - Video [Last Updated On: May 4th, 2014] [Originally Added On: May 4th, 2014]
- 10 Things You Didn't Know About BitCoin - Video [Last Updated On: May 4th, 2014] [Originally Added On: May 4th, 2014]
- BITCOIN The Future of Money - Video [Last Updated On: May 4th, 2014] [Originally Added On: May 4th, 2014]
- Bitcoin Miner Review - Video [Last Updated On: May 4th, 2014] [Originally Added On: May 4th, 2014]
- The Bitcoin Group #28 (Live) - Yelp Lists Bitcoin - MIT Bitcoin $100 - Dark Wallet - Ohio Bans BTC - Video [Last Updated On: May 4th, 2014] [Originally Added On: May 4th, 2014]
- Bitcoin: Gary North is Mentally Deranged And Bitcoin Will Change Everything - Video [Last Updated On: May 4th, 2014] [Originally Added On: May 4th, 2014]
- Who is the Bitcoin Warlord? - Video [Last Updated On: May 4th, 2014] [Originally Added On: May 4th, 2014]