CTV vault output descriptor

Posted by ajtowns

Jun 12, 2025/02:28 UTC

In the realm of Bitcoin Improvement Proposals (BIPs), particularly BIP380 descriptors, there is a nuanced discussion about the intricacies of transaction outputs and how they relate to scriptPubKey generation. The conversation navigates through the technical requirements necessary for accurately delineating transaction outputs within a given transaction. A crucial point raised is the necessity to specify amounts for each output explicitly. This is not just a matter of enumerating outputs but ensuring that each is accompanied by a definitive amount, thereby making the descriptor comprehensive.

Moreover, the dialogue extends into the realm of computational expressions, particularly focusing on the ability to convert relative input amounts into absolute terms. For instance, the expression total_in_amount_pct(50) is highlighted as a means to dynamically calculate 50% of the cumulative sum of all input amounts. This proposes an advanced functionality wherein descriptors are not only responsible for generating scriptPubKeys but also for performing complex calculations that directly influence the transaction's structure based on the proportional values of inputs.

This exchange underscores the evolving complexity and sophistication in designing systems that manage Bitcoin transactions. It reflects a deep dive into making financial transactions both secure and programmable, leveraging descriptors to offer nuanced control over transaction outputs.

Link to Raw Post
Bitcoin Logo

TLDR

Join Our Newsletter

We’ll email you summaries of the latest discussions from authoritative bitcoin sources, like bitcoin-dev, lightning-dev, and Delving Bitcoin.

Explore all Products

ChatBTC imageBitcoin searchBitcoin TranscriptsSaving SatoshiBitcoin Transcripts Review
Built with 🧡 by the Bitcoin Dev Project
View our public visitor count

We'd love to hear your feedback on this project?

Give Feedback