כיצד CTV יכול לעזור בקנה מידה Bitcoin

By Bitcoin מגזין - לפני חודשיים - זמן קריאה: 3 דקות

כיצד 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 (עצי פסק זמן ו ארון). 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 תַסרִיט.

CTV יכול לשנות את זה.

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 מציעה פתרון לשתי הבעיות הללו. על ידי היכולת להתחייב באופן לא אינטראקטיבי לקבוצה של עסקאות עתידיות באותה דרך שעושות עסקאות חתומות מראש, אך מבלי לדרוש מכל בעל ה-vUTXOs שהעסקאות הללו יוצרות לתאם חתימה, זה פותר את בעיית התיאום. יחד עם זאת, מכיוון שאף אחד לא צריך לקיים אינטראקציה, אדם בודד יכול לקחת את התפקיד של מימון פלט ה-CTV שמתחייב ל-vUTXOs של כולם הנפרשים על השרשרת, ונדרש אפס אמון באדם זה לאחר אישור עסקת המימון. ברגע שאותו 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 הם היכולת לבנות מולטי-sigs על ידי הוספת שני מפתחות ציבוריים יחד ולחתום עבורם עם חתימה מצטברת אחת, ולחשוף רק באופן סלקטיבי ענף "IF" בודד של סקריפט שיש לו מספר דרכים לבזבז . בשילוב עם CTV, זה מציע דרך חזקה מאוד לעשות שימוש בהתחייבויות vUTXO. במקום לבצע שרשרת עסקאות באמצעות CTV גרידא, ניתן לבנות אותן עם נתיב ההוצאות CTV קבור בתוך עץ שורש. הסוף של שרשרת העסקאות הם כל ה-vUTXOs הבודדים שבבעלותו של כל משתתף, הנעולים למפתח הציבורי של אותו משתמש בלבד. כשאתה הולך אחורה לכיוון שורש העץ, כל קבוצה של מפתחות שנמצאת מתחת לכל צומת בעץ יכולה פשוט להתווסף ולהשתמש כמפתח ה-Schnorr multisig שמתחתיו קבור נתיב ההוצאה של CTV.

משמעות הדבר היא שבכל נקודה בשרשרת העסקאות הנפתחות בשרשרת כדי להפוך למעשה את ה-vUTXOs ל-UTXOs אמיתיים שבהם אתה יכול לגרום לכל משתתף ב-UTXO ביניים לתאם אחד עם השני, כל אחד יכול פשוט לחתום בשיתוף פעולה על עסקה תוך הזזת המטבעות שלו לאן הם רוצים ללכת בדרך יעילה יותר מאשר פשוט לתת לזרם העסקה המוגדר מראש להתגלגל עד הסוף כדי להפוך את ה-vUTXOs שלהם לאלה אמיתיים. זה מאפשר לקבוצות משנה קטנות לברוח מהצורך למעשה לפרוש את כל סט העסקאות המחויבות מראש לרשת, מבלי להציג צדדים מהימנים להסתמך על או להחליש את האבטחה של תביעת כל משתמש ל-vUTXOs משלהם.

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.


תודות: אני רוצה להודות לכל מי שמשתתף ב- Chicago Bitdevs על שעזר לי לנסח את התצפיות הללו בצורה תמציתית דרך דיון. 

מקור מקורי: Bitcoin מגזין