Bitcoin’s Taproot Upgrade Explained – Privacy, Security, Scalability And Truly Decentralized Application Protocols

Bitcoin’s Taproot Upgrade Explained – Privacy, Security, Scalability And Truly Decentralized Application Protocols
фото показано с : bitcoinexchangeguide.com

2021-11-15 18:06

With Taproot only a few hours from activation, it seems like a good time to expand on the Taproot part from a previous ELI5 from a few months ago explaining what makes Bitcoin valuable, Lightning Network, and Taproot.

Taproot is arguably the biggest upgrade to Bitcoin's base-layer protocol, introducing a new signature algorithm and scripting language. It brings a set of protocols that enhance Bitcoin's privacy, security, scalability, fungibility and unlocks the infrastructure that will allow for seamless integration of L2/sidechain application protocols on Bitcoin.

Taproot was activated through the “speedy trial” approach. Under the speedy trial, miners were given three months to signal support for Taproot after the code was shipped. This required 90% of the blocks in a difficulty epoch (2016 blocks) to signal for Taproot. Activation was achieved at block height 687284 back in June.

Although some of the ideas included in the upgrade have been discussed for many years, the final iteration of Taproot was proposed by Bitcoin developer Gregory Maxwell in 2018. The upgrade is named after one of the three Bitcoin Improvement Proposals (BIPs) included in the upgrade – Schnorr Signatures(BIP 340), Taproot (BIP 341), and Tapscript (BIP 342).

By combining the Schnorr signatures with MAST (Merklized Alternative Script Tree) and introducing a new, slightly modified scripting language called Tapscript, Taproot expands Bitcoin's smart contract capabilities while offering more privacy and security by making multi-signature transactions and complex smart contracts indistinguishable from regular bitcoin transactions.

Schnorr Signatures (BIP 340)

This part of the upgrade is a change to Bitcoin's cryptographic digital signature algorithm. In asymmetric cryptography (public-private key pairs), digital signature algorithms define the generation of digital signatures using a private key that proves the ownership of a corresponding public key.

The existing Elliptic Curve Digital Signature Algorithm (ECDSA) of Bitcoin will not be replaced, but Schnorr signatures will be implemented in addition to it.

The Schnorr digital signature algorithm allows for something called key and signature aggregation using a protocol known as MuSig – multiple signatures created using multiple private keys corresponding to multiple public keys are combined to produce a single cryptographic digital signature corresponding to a single public key recorded on the blockchain.

Key and Signature Aggregation

In addition to Schnorr signatures and public keys being smaller than ECDSA signatures and public keys, aggregation further helps reduce the footprint of multi-signature transactions and complex smart contracts, which will take up the same space as regular single-signature transactions and as all transactions will look indistinguishable on the blockchain, the privacy benefits are fairly obvious. The privacy also extends to Lightning Network as on-chain transactions to open and close Lightning channels can no longer be identified from the keys and signatures in the channel or the script used.

Unlike ECDSA signatures, Schnorr signatures are provably secure and inherently non-malleable, meaning a third party cannot alter an existing valid signature under any circumstance. Segregated Witness (SegWit) addressed transaction malleability, Schnorr signatures address signature malleability.

There are also significant computational benefits for nodes, as key aggregation will allow nodes to verify signatures in batches, but these benefits can only be realized with time once Schnorr signatures become widely adopted.

Modifying the digital signature algorithm, per se, doesn't affect anything on the blockchain. Schnorr is a different, more efficient way of generating digital signatures.

When Satoshi originally developed Bitcoin, Claus Peter Schnorr, the inventor of Schnorr signatures, had a patent on it. It is speculated that Satoshi may have otherwise opted for Schnorr signatures over ECDSA, which was a rigorously tested open-source alternative developed later, even if in a somewhat obligately inefficient manner as not to constitute an infringement of the patent, which expired in 2008.

There was a suggestion to use a different name, Discrete Logarithm Signatures was briefly mooted while adapting Schnorr signatures for Bitcoin as some people felt that Claus Peter Schnorr's name shouldn't be used in association with Bitcoin after he prevented the widespread use of such a powerful signature scheme for over 20 years.

Taproot (BIP 341)

This part of the upgrade leverages the Schnorr signature scheme to enable Merklized Alternative Script Trees (MAST) and defines the rules for a new output type based on SegWit known as Pay-to-Taproot (P2TR), which leverages the capabilities of Schnorr signatures.

MAST is a privacy solution that uses Merkle trees as part of the script's structure to address some long-standing issues with transactions using Pay-to-Script Hash (P2SH) and Pay-to-Pubkey Hash (P2PKH) locking scripts where all possible spending conditions of a transaction are revealed.

P2TR Significantly Optimizes for Block Space Economy

P2TR combines two separate locking scripts – P2SH and Pay to Pubkey (P2PK), which is a simpler version of P2PKH that locks an output to the public key rather than a hash of the public key.

This allows P2TR outputs to be spent by either a script (smart contract) or a public key, but by allowing different spending conditions of the output to be individually hashed, only the specific spending condition met is revealed, and thanks to Schnorr signatures, they're all indistinguishable on the blockchain.

Tapscript (BIP 342)

This part of the upgrade modifies Bitcoin's scripting language to enable the new transaction types introduced by the two proposals above using new opcodes (operation codes), which are commands in Bitcoin scripts with predefined functions.

The goal of Tapscript is to make Schnorr signatures, batch verification, and signature hash improvements available to spends that use the script path as well as the public key path. It enables nodes to create and validate P2TR outputs.

Existing signature opcodes for ECDSA are modified to verify Schnorr signatures. Two existing opcodes that define verification of multi-signature transactions are disabled and replaced with a new opcode (OP_CHECKSIGADD) to enable batch verification of signatures.

Tapscript also allows adding new signature validation rules through softforks and introduces another new opcode (OP_SUCCESS) to enable the seamless introduction of future opcodes to Tapscript.

Impact of Taproot

Bitcoin's script is deliberately limited and intentionally non-Turing complete in order to retain simplicity, security, and efficiency. Linear optimization is one of the main considerations for upgrades to the script to ensure decentralization – that any individual can economically self-host a node and trustlessly validate the blockchain.

Taproot is a forward-compatible soft fork, meaning old non-upgraded nodes will recognize the new blocks as valid. At the time of writing, more than 53% of ~ 60,000 Bitcoin nodes support Taproot. Non-enforcing nodes will reject transactions spending from P2TR outputs until they upgrade node software but will accept blocks containing transactions spending from P2TR outputs.

The significance of Taproot cannot be measured merely by what the above proposals enable for Bitcoin but what they represent for the future of Bitcoin by introducing new tools to make future upgrades easier to implement, simpler, safer, and more private.

Such upgrades waiting in the wings include cross-input signature aggregation, channel factories, state chains, and covenants, which enable advanced application protocols to be built on top of Bitcoin without placing any undue burden on full-node users, thereby preserving Bitcoin's inviolable security and decentralization.

The post Bitcoin’s Taproot Upgrade Explained – Privacy, Security, Scalability And Truly Decentralized Application Protocols first appeared on BitcoinExchangeGuide.

Similar to Notcoin - Blum - Airdrops In 2024

origin »

Bitcoin (BTC) на Currencies.ru

$ 95880.5 (+0.14%)
Объем 24H $40.544b
Изменеия 24h: -1.67 %, 7d: -6.97 %
Cегодня L: $95217.68 - H: $97458.26
Капитализация $1898.406b Rank 1
Цена в час новости $ 63910.23 (50.02%)

taproot bitcoin part expand previous months valuable

taproot bitcoin → Результатов: 126


Биткоин-разработчики добавили подписи Шнорра и технологию Taproot в код Bitcoin Core

Обновления для повышения конфиденциальности и масштабируемости сети биткоина — BIP 340, 341 и 342 — внедрены в код Bitcoin Core. Они включают подписи Шнорра, технологии Taproot и Tapscript. Merged PR from Pieter Wuille: Implement BIP 340-342 validation (Schnorr/taproot/tapscript) https://t.

2020-10-16 10:33


Фото:

Подписи Шнорра и Taproot добавлены в код Bitcoin Core

Обновления для повышения конфиденциальности и масштабируемости сети Биткоина — Taproot и подписи Шнорра — внедрены в код Bitcoin Core. Механизм активации обновлений еще не определен.

2020-10-16 21:28


Обновления Schnorr и Taproot имплементировали в клиент Bitcoin Core

Разработчики еще не решили, каким образом активировать объединенный апдейт. Сроки активации также не определены, так как во многом они зависят от выбранного метода.

2020-10-15 17:53


Обновление Schnorr-Taproot реализовано в коде Bitcoin Core

Долгожданное обновление Schnorr-Taproot было реализовано в коде Bitcoin Core, сообщает Decrypt со ссылкой на историю коммитов, которая доступна на GitHub. При активации обновление улучшит обработку транзакций и конфиденциальность в сети биткоина.

2020-10-15 15:13


Taproot: что он собой представляет и чем полезен для Биткойна

Уже скоро пользователи Биткойна могут получить возможность воспользоваться преимуществами технологии под названием Taproot. Впервые предложенная разработчиком Bitcoin Core и бывшим тех. директором Blockstream Грегори Максвеллом, Taproot призвана увеличить гибкость смарт-контрактов Биткойна, вместе с тем повысив их конфиденциальность.

2020-10-14 16:54


BIP 8, BIP 9 или современная активация софт-форка: каким может быть следующее обновление Биткойна

Taproot, предлагаемое обновление протокола, призванное улучшить конфиденциальность и гибкость Биткойна, находится на поздних фазах разработки. Разработчики Bitcoin Core сходятся в том, что это обновление будет полезно для Биткойна, и более широкая экосистема Биткойна, похоже, пока тоже его приветствует.

2020-8-12 14:13


Концепция будущих обновлений биткоина: BIP 8, BIP 9 или Modern Soft Fork Activation

Перевод статьи Ааарона ван Видрума для Bitcoin Magazine. Taproot, предлагаемое обновление протокола, находится на поздних стадиях разработки. Разработчики Bitcoin Core согласны с тем, что это обновление принесет пользу биткоину; большая часть более широкого биткоин-сообщества также приветствует обновление.

2020-7-22 18:54


Фото:

Спрогнозировавший коррекцию bitcoin 2017 года аналитик дал прогноз по BTC

Bitcoin начал новую неделю с небольшого роста. По состоянию на 07:32 по МСК, актив торгуется по $8663 (3,52% суточного роста). Позитивное движение BTC было реализовано на фоне предоставления разработчиками кода обновления Taproot для блокчейна криптовалюты.

2020-1-28 08:19


Технология Taproot и подписи Шнорра оформлены в качестве официальных предложений по улучшению биткоина

Направленные на повышение масштабируемости и приватности пользователей софтфорки Schnorr/Taproot официально оформлены в качестве предложений по улучшению биткоина. Как сообщил разработчик Bitcoin Core Питер Велле, за ними закреплены номера BIP-340, BIP-341 и BIP-342.

2020-1-26 12:30


Фото:

Разработчики представили код обновления Taproot для блокчейна Bitcoin

Питер Вюлле, участник команды разработчиков Bitcoin Core, опубликовал WIP (work-in-progress) изменения кода обновления Taproot для блокчейна Bitcoin. Вюлле зарегистрировал изменения в качестве трех проектов развития Bitcoin (BIP), принятие которых сообществом необходимо для внедрения обновления.

2020-1-25 17:14


Подписи Шнорра, Taproot и Tapscript. Биткоин может провести новый софтфорк уже в этом году

Лукас Нуцци, соучредитель и директор Digital Asset Research, сообщил о важном софтфорке, который окажет существенное влияние на биткоин: Bitcoin will soft-fork this year. It will be one of the most innovative additions to L1 thus far: bip-schnorr+bip-taproot+bip-tapscript These are powerful foundational technologies that will bring novel smart contracts to Bitcoin's base layer.

2020-1-21 15:04


Фото:

Разработчики скоро завершат работу над кодом нового обновления для сети Bitcoin

Разработчики, стоящие за обновлением Taproot для блокчейна Bitcoin, рассказали The Block, что в скором времени завершат рассмотрение комментариев сообщества и приступят к реализации инициативы.   Что такое Taproot Обновление Taproot, впервые представленное в 2018 году разработчиком Bitcoin Core Грегом Максвеллом, повышает конфиденциальность блокчейна Bitcoin.

2020-1-10 19:27


Bitcoin’s biggest privacy problems set to be tackled by Schnorr, Taproot

Evidenced by growing initiatives such as Lightning Network, the crypto-community has made more efforts towards improving the Bitcoin ecosystem. A recent Longhash report highlighted two currently-in-review Bitcoin Improvement Proposals (BIP) known as Schnorr and Taproot, which could push the needle further in the right direction, if they gain consensus among the nodes on the network.

2019-10-31 00:30


Фото:

Четыре главных нововведения, которые повысят анонимность Биткоина

Прямо сейчас разработчики Bitcoin Core активно трудятся над улучшением приватности Биткоина. Ожидается, что благодаря новым функциям криптовалюты её приватность и взаимозаменяемость станет в разы лучше.

2019-6-9 19:55


Taproot и подписи Шнорра. Что ждёт Bitcoin в обозримом будущем

Биткоин — первая и самая известная криптомонета, но далеко не самая инновационная и удобная для применения на практике. Она уже давно проигрывает другим проектам в масштабируемости и отсутствии конфиденциальности в смарт-контрактах.

2019-5-21 16:17


Taproot, the new update that will revolutionize the Bitcoin blockchain

One of the most anticipated updates to Bitcoin’s scripting capabilities, Taproot, could soon see a roll-out on the Bitcoin network. First proposed in 2018, the update would expand the network’s smart contract flexibility and offer unprecedented privacy, enabling even the most complex smart contracts to be virtually indistinguishable from regular transactions.

2019-5-9 13:59


What Is Bitcoin’s Graftroot? Another Privacy Enhancing Feature

Bitcoin developers currently have a significant challenge ahead of them, perhaps the biggest one they faced so far: improving the Core’s privacy and efficiency. Most of their efforts seem to be focused on the Schnorr signatures technology, a key piece of code which further unlocks improvements like Taproot and the topic of today’s article, Graftroot.

2019-3-22 00:17