Како CTV може да помогне во скалата Bitcoin

By Bitcoin Списание - пред 3 месеци - Време на читање: 5 минути

Како CTV може да помогне во скалата Bitcoin

OP_CHECKTEMPLATEVERIFY has once again become a focal point in the conversation about improvements to scale Bitcoin. This time around there are many more alternative designs for covenants being proposed, and actual concrete designs that make use of CTV as scaling solutions (Timeout Trees Ковчегот). The conversation has a much larger depth of concepts to take into consideration, both in terms of alternatives that could be adopted as well as concrete proposals that CTV could enable.

One narrative circulating from the camp of people against CTV is that “CTV doesn’t scale Bitcoin.” Let’s charitably interpret that to mean that CTV itself does not scale Bitcoin, things you can build with it do. Well, then that is not a coherent argument. Segregated Witness did not scale Bitcoin. CHECKLOCKTIMEVERIFY and CHECKSEQUENCEVERIFY did not scale Bitcoin. But the Lightning Network, which those three proposals enabled, do scale Bitcoin. They add a massive amount of overhead for transactional throughput to grow beyond the constraints of the blockchain себе.

Lightning literally couldn’t exist without those base layer primitives. The problem with Lightning though, is it only scales the number of transactions that can be processed. It does not in any way help improve the scalability of ownership over UTXOs, or increase the number of users who can control one. Lightning is currently not capable of doing that with its current design and the current set of consensus primitives available in Bitcoin скрипта.

КТВ може да го промени тоа.

UTXO и виртуелни UTXO

Part of the problem of Lightning’s shortcoming regarding scalability of Bitcoin ownership is that in order to open a channel, or control a UTXO, you actually have to transact on the base layer. After that Lightning can facilitate a very large number of transactions off-chain, but a user must still transact on-chain to onboard themselves to Lightning. It massively increases the number of transactions Bitcoin can process, but it does nothing at all to increase the number of people who can own bitcoin.

This is another big problem CTV can help with. Burak coined the term “virtual UTXO” for his Ark proposal, but I think this terminology is a perfect general term useful far beyond the context of Ark. A virtual UTXO is one committed to being created in the future, through mechanisms like a pre-signed transaction, but that hasn’t actually been created on-chain yet. Bitcoin does not have the blockspace for everyone to create a single UTXO at the scale of the world population, but there is definitely potential for people to have their own independent virtual UTXO if the process of committing to those can be made scalable.

Scaling the creation of commitments to vUTXOs is the problem. Right now there is no way to create them except through the use of pre-signed transactions, and this introduces a bottleneck that must be addressed. The number of vUTXOs any real UTXO can commit to is bounded by the size of the multisig set signing these transactions. To trustlessly create vUTXOs, the owner of every vUTXO must be part of the multisig key that is signing the transactions that commit to creating them, otherwise they have no guarantee that conflicting transactions will not be generated that voids their ability to claim their vUTXO if necessary. The problem of coordinating the signing of this between every member of the set introduces practical considerations that will ultimately severely limit the size any pool of vUTXOs can grow to. The only other alternative is to have some trusted party or parties sign the transactions committing to everyone’s vUTXOs, and simply trusting them to not steal those funds from the rightful owners.

CTV нуди решение за двата од овие проблеми. Со тоа што може неинтерактивно да се обврзе на збир на идни трансакции на ист начин како што тоа го прават претходно потпишаните трансакции, но без да се бара од секој сопственик на vUTXO-ите што тие трансакции ги создава да го координира потпишувањето, го решава проблемот со координацијата. Во исто време, бидејќи никој не треба да комуницира, едно лице може да ја преземе улогата на финансирање на излезот на CTV што се обврзува на сечии vUTXO-и кои се шират на синџирот, а потребна е нула доверба во тоа лице откако ќе се потврди трансакцијата за финансирање. Штом тој вистински UTXO ќе биде потврден во блок, лицето кое го финансирало нема можност да ги врати или двојно да ги потроши идните трансакции за кои се обврзала.

Keep in mind that a vUTXO can be whatever you want it to be. It can be a Lightning channel, a multisig script for cold storage, etc. CTV does what the current form of Lightning does not, it scales actual ownership of Bitcoin, not just the number of transactions it can process.

Пресечете ја кратенката

One of the other criticisms of CTV as “not scaling Bitcoin” is that by committing to future transactions you do not escape the need to put them on-chain eventually, and so therefore CTV doesn’t actually help improve scalability. I like to call this “the OP_IF fallacy.” i.e. once people start talking about CTV they forget OP_IF exists, and that scripts can actually have multiple spending conditions to choose from.

Најмоќните работи во врска со Taproot се способноста да се конструираат мултисигни со само додавање на два јавни клучеви заедно и потпишување за нив со еден збирен потпис и само селективно да се открие една единствена „АКО“ гранка на скрипта што има повеќе начини за трошење. . Во комбинација со CTV, ова нуди многу моќен начин за користење на обврските vUTXO. Наместо да се направи синџир на трансакции користејќи чисто CTV, тие може да се конструираат со патеката за трошење на CTV закопана во дрво со корен. Крајот на синџирот на трансакции се сите поединечни vUTXO што ги поседува секој учесник, заклучени само на јавниот клуч на тој корисник. Како што одите наназад кон коренот на дрвото, секое множество клучеви што се наоѓаат под кој било јазол на дрвото може едноставно да се додадат заедно и да се користат како Schnorr multisig клуч под кој е закопана патеката за трошење на CTV.

Ова значи дека во кој било момент од синџирот на трансакции што се развиваат на синџирот за всушност да ги претворите vUTXO-ите во вистински UTXO каде што можете да го натерате секој учесник во средно UTXO да се координира меѓу себе, секој може едноставно кооперативно да потпише трансакција преместувајќи ги своите монети таму каде што тие сакаат да одат на поефикасен начин отколку едноставно да дозволат однапред дефинираниот проток на трансакции да се расплетува до крај за да ги преобразат нивните vUTXO во вистински. Ова им овозможува на малите подгрупи да ја избегнат потребата за всушност да се разоткрие целиот сет на трансакции однапред посветени на синџирот, без да се воведат доверливи страни да се потпрат или да ја ослабат безбедноста на барањето на секој корисник за нивните сопствени vUTXO.

These two simple realities offer a massive gain in scalability for Bitcoin without compromising on individual sovereignty or security in doing so, and all we need in order to realize them is CTV.


Благодарност: Би сакал да им се заблагодарам на сите што учествуваат на Чикаго Битдевс за тоа што ми помогнаа да ги формулирам овие забелешки на концизен начин преку дискусија. 

Оригинален извор: Bitcoin списание