Connect with us

Opinion

Shielded CSV Protocol 🛡️

Published

on



Introduction

Bitcoin development today focuses on two major issues: (1) scaling and (2) privacy. The usual proposals to Bitcoin involve adding new opcodes and scripting tools. But an old idea is coming back, one that could make transactions more private and peer-to-peer. Right now, every Bitcoin transaction is broadcast to the entire network for verification. It’s an effective way to prevent double-spending, but it also means more information is exposed than is strictly necessary. This leads to heavier computational demands, higher costs, and a system that struggles to scale. But what if moving part of the transaction process client-side didn’t just improve efficiency, but also unlocks a whole new era of privacy on Bitcoin?

In our recently published paper, Blockstream, in collaboration with Alpen Labs and ZeroSync, we introduce the Shielded CSV Protocol, an improvement on Client-Side Validation (CSV) that offers truly private transactions. This new protocol is a significant step towards enhancing the privacy of Bitcoin transactions and has the potential to increase transaction capacity from 11 per second to over 100 per second, through some additional measures we’ll cover in this blog post.

This post offers a high-level overview of the Shielded CSV Protocol, which aims to advance layer one blockchain performance while remaining fully compatible with Bitcoin. Developed by the combined minds of Jonas Nick, Liam Eagen, and Robin Linus. Here’s the backstory on Shielded CSV, and why it has the potential to change everything.

Bitcoin Then and Now

The Double-Spend Problem: How Bitcoin Solved It

Before Bitcoin, it was widely believed that creating a reliable digital currency was impossible without a trusted middleman. The double-spend problem meant there was no way to ensure a “digital coin” couldn’t be spent more than once. It was a fundamental flaw that kept digital currency from becoming a reality.

Then, in 2009, Satoshi addressed this problem by introducing the shared public ledger called the blockchain. Instead of relying on a single trusted authority, Bitcoin uses a network of nodes on a shared public ledger, where every transaction is recorded and verified. This system ensures that each coin is unique, making it impossible to spend the same coin twice.

When a Bitcoin transaction is added to the chain, it follows this process:

  1. The user’s wallet signs the transaction and broadcasts it to the Bitcoin network.
  2. Full nodes on the network validate the transaction, ensuring everything checks out.
  3. The transaction is then included in a block, confirmed, and permanently recorded in the shared public ledger.

During validation, nodes verify that the coins exist, check the validity of the signature, and enforce the critical double-spend rule—making sure each coin is spent only once. The whole purpose of this ledger is to maintain order, showing clearly who owns which coins and when they moved.

The purpose of the ledger is to keep transactions in order, making it clear who owns what coins and when they were sent.

Since its inception, Bitcoin’s developers keep coming back to the same question: is this really the best and most private way to handle transactions? How can we make this system leaner, more efficient, and more private?

A Privacy Problem: Public Transactions

Bitcoin’s biggest privacy challenge is that bitcoin transactions are out there in the open on the blockchain. Satoshi saw this vulnerability from the beginning. In the original whitepaper, he suggested a straightforward solution: users should create new keys for each transaction and avoid reusing addresses.

The idea was to make it harder to link transactions back to a single owner. But in practice, with all the advanced chain analysis methods available today, maintaining privacy is much harder than it seems. Even with new addresses, linking transactions and identifying patterns has become easier for those intent on tracing user activity.

In response, privacy-focused protocols like Zcash have introduced novel ways to conceal transaction details using more advanced cryptography and things like zk-SNARKs. But these methods come with significant trade-offs: transactions are larger, making the verification process for nodes more resource-intensive and expensive to verify.

A Communication Problem: Communication is Inefficient

In Bitcoin’s design, mining serves two fundamental purposes: (1) proof-of-publication for transactions and (2) providing a consensus on the order of transactions. However, Bitcoins’ system also intertwines these core functions with less essential tasks, like transaction validation and coin issuance.

Across all blockchains, whether it’s Bitcoin, Ethereum, Zcash, or Dogecoin, the transaction process always looks the same: wallets sign transactions, broadcast them to the network, and full nodes validate them. But is validating every transaction directly on the blockchain really necessary?

We think there’s a better way. The idea traces back to a 2013 insight, when Peter Todd first mentioned Client-Side Validation. In this mailing list post he asks, ‘Given only proof-of-publication, and a consensus on the order of transactions, can we make a successful crypto-coin system? Surprisingly, the answer is yes!

Instead of requiring every full node to verify every transaction, CSV allows you to send coins with proof of their validity directly to the recipient. It means that even if a block contains an invalid transaction, full nodes won’t reject it. The result? Less on-chain communication and a more efficient system overall.

CSV: A Peer-to-Peer Scaling Solution

CSV shifts the responsibility of transaction validation from every node in the network to the individual transaction recipients. This makes Bitcoin even more peer-to-peer. Imagine if we didn’t have to use the blockchain to store full transaction details. Instead of a detailed, identity-linked transaction, you’d only see a simple 64-byte nullifier, completely meaningless to anyone looking at the public record on the blockchain, but significant to the sender and recipient.

When every node is required to verify every transaction, it congests the network and slows it down. By shifting transaction validation to the client side, the amount of data stored on the blockchain can shrink significantly—from 560 weight units (WU) on average to something approaching 64 WU, which is about 8.75 times smaller, making the system leaner and more efficient.

The compliance protocol gives Bitcoin a massive scalability boost, allowing users to process nearly 10 times more transactions—close to 100 per second.

Bitcoin Tomorrow

You’re probably thinking, “This all sounds great, but how does this actually work, and what are the trade-offs here?”

How Does Shielded CSV Make Bitcoin More Private?

CSV protocols generally improve privacy over transparent blockchain transactions because some information is moved client-side. But in traditional CSV protocols like RGB and Taproot Assets, when a coin is sent, both the sender and receiver can view the full transaction history.

In Shielded CSV, we use zk-SNARK-like schemes to “compress” the proofs, ensuring that no transaction information is leaked. This means that the transaction history remains hidden, offering better privacy compared to existing protocols.

What is a Nullifier, and How Does it Prevent Double-Spends?

When making a payment, the sender hands the transaction directly to the receiver. A small piece of data derived from the transaction, gets written to the blockchain which is called the nullifier.

Full nodes in the network are only required to perform a single Schnorr signature verification per Shielded CSV nullifier. The receiver checks the coin’s validity and makes sure the nullifier is on the blockchain to stop any double-spending.

Other CSV protocols have nullifiers too, but in many cases they are full Bitcoin transactions, and not derived “random blobs” as we have here. Shielded CSV nullifiers make it harder to do chain analysis.

Does Shielded CSV Require a Soft or Hard Fork?

Shielded CSV doesn’t require a soft or hard fork. It works with Bitcoin as-is. CSV separates transaction validation from the consensus rules, allowing flexibility without changing the core protocol. Since Bitcoin blocks can store any type of data, different CSV protocols like RGB, Taproot Assets, or multiple versions of Shielded CSV can coexist without conflict.

Nodes don’t have to reject blocks containing unfamiliar data. Instead, they only need to interpret the data on the “client-side” if it’s relevant to them. By offloading transaction verification, the blockchain’s primary role is reduced to: confirming transaction data in an agreed-upon order and preventing double-spends.

Does Shielded CSV allow me to Transact in Bitcoin?

Shielded CSV operates as a separate system, using the Bitcoin blockchain to record nullifiers and prevent double-spending within the CSV protocol. But to integrate it directly with Bitcoin and allow seamless transactions, a bridging solution is still needed. The current protocol doesn’t dive deeply into how bridging with BitVM could function, but this area is a development that is still under active research.

Right now, bridging is possible through the use of a trusted party or a federation, but the end goal is a fully trustless system, one that eliminates the need for any intermediaries. Achieving this would mean true, seamless interaction between Bitcoin and Shielded CSV, allowing users to enjoy enhanced privacy without compromising on the trustless values of Bitcoin. It’s a complex challenge, but one that could redefine how Bitcoin scales and secures its transactions.

Read the Full Paper

The Shielded CSV Protocol offers an approach to improving Bitcoin’s scalability and privacy, potentially bringing in a new era of more efficient, peer-to-peer transactions. By offloading transaction validation to the client side, it significantly reduces on-chain data, allowing for greater transaction throughput and enhanced privacy—all without requiring a hard or soft fork. If you’re curious to read more about how this protocol works and the trade-offs involved, I highly encourage you to read the full paper, “Shielded CSV: Private and Efficient Client-Side Validation”. This might just be the future of Bitcoin.

This is a guest post by Kiara Bickers. Opinions expressed are entirely their own and do not necessarily reflect those of BTC Inc or Bitcoin Magazine.



Source link

Bitcoin

Bitcoin Yield On Dollars? Yes, Please.

Published

on


Follow Frank on X.

This morning, River announced its Bitcoin Interest on Cash feature through which it will offer a 3.8% interest rate — paid out in bitcoin — on the dollars you leave in the custody of the platform, which is FDIC insured up to $250,000.

This yield is comparable to what you’d earn in a high-yield savings account through an online bank like Ally, but again, you’re earning bitcoin with River.

If you’re like me, a Bitcoin enthusiast who still likes to keep a sizable cash buffer in case of emergency, this is a pretty sweet deal. See, I have one of those high-yield savings accounts through Ally, and I tell myself I’m going to take the yield I earn each month and buy bitcoin with it, though, I rarely remember to do this.

Now, with River, I can essentially automate that process, allowing River to convert that filthy fiat yield into bitcoin for me at the end of each month.

(Well technically, I can’t do this because I live in New York State, one of only two US states in which River doesn’t serve clients. We have this thing in New York — a land once home to free people but that is now drowning in bureaucracy — called the “BitLicense,” which makes it quite difficult for Bitcoin startups to do business in the state, but I digress.)

There are no monthly fees or minimums to get started using this product, and users can withdraw their cash whenever they please.

This isn’t just something for Bitcoiners to celebrate, but it’s also a great way to onboard normies to Bitcoin, most of whom are scared to buy bitcoin because of its volatility. Now, they don’t have to buy it; they can just earn it for holding onto the type of money they’re much more used to holding.





Source link

Continue Reading

Fail

Bitcoin Is No Fait Accompli

Published

on


Follow Aaron on Nostr or X.

Perhaps the biggest cultural shift in my eleven years in Bitcoin has been the transition from tinkering techies emphasizing “don’t invest more than you are willing to lose”, to the Michael Saylors of this world telling everyone to sell their house, car and wife (and then go into debt) to buy more bitcoin.

Whenever I listen to the macroeconomic commentators in this space (who for the most part started popping up some five or six years ago), I usually feel there is one key point they keep missing. Sure, Bitcoin is no longer just the experimental new project it was over a decade ago— but it can still fail.

The list of things that could go wrong is too long to include in this Take, but suffice to say they include everything from too much centralization to too much decentralization. (If —say— mining centralizes too much, Bitcoin can be regulated to death. While the project could literally and figuratively fall apart if people can’t even settle on a single set of consensus rules; something we came uncomfortably close to during the block size wars.)

I do think Bitcoin can overcome these problems. The incentives for Bitcoin to succeed are strong, and —perhaps more importantly— smart and motivated people from around the world can help figure out solutions for whatever challenges Bitcoin may face.

But in order to do that, the problems need to first be acknowledged, and then fixed. Selling your house, car and wife to simply buy and hold bitcoin is not going to do it.

This article is a Take. Opinions expressed are entirely the author’s and do not necessarily reflect those of BTC Inc or Bitcoin Magazine.



Source link

Continue Reading

Mary Poppins

A Spoonful of Bitcoin: How Mary Poppins Awakens Us to Financial Sovereignty

Published

on


Follow Mark on X.

In the heart of London, amidst the smog and the burgeoning industrial age, a story unfolds that is as relevant today as it was over half a century ago. Mary Poppins, a tale woven with magic, whimsy, and a touch of surrealism, unexpectedly serves as the perfect allegory for the financial liberation movement epitomized by Bitcoin.

At its core, Mary Poppins is a narrative of transformation and enlightenment, primarily seen through the eyes of Mr. Banks, a staunch advocate of traditional financial systems. His journey, however, is not merely one of personal redemption but symbolizes a broader awakening to the pitfalls of centralized financial institutions and the virtues of financial self-sovereignty and liberty.

In the character of Mr. Banks, we see the embodiment of the traditional financial system: rigid, hierarchical, and intrinsically tied to the practices of fractional reserve banking. This system, as critiqued through the film’s narrative, perpetuates a cycle of debt that disproportionately affects the younger generations, symbolized by Michael. It’s a system where the power lies with the few, and the many are left to navigate its consequences.

Enter Bitcoin. In stark contrast to the centralized control of traditional banking, Bitcoin offers a decentralized, peer-to-peer system that champions the principles of self-sovereignty and financial equality. It’s a system where individuals, much like Michael, can take control of their financial destiny, free from the whims of institutional gatekeepers.

The crux of Mary Poppins lies in Mr. Banks’ epiphany. He realizes that true wealth is not measured in gold or banknotes but in freedom, liberty, and the well-being of his family. This transformation mirrors the ideological shift required to embrace Bitcoin. It’s about breaking free from the conditioning that has long tied society to trust-dependent and inflation-prone financial systems.

By opting for Bitcoin, individuals like Mr. Banks can reclaim their financial autonomy. They are no longer at the mercy of institutions that, by nature, operate on a foundation of trust and permission, often at the expense of those they serve.

Michael’s rebellion against the traditional banking system, opting instead for a model that values equality and self-sovereignty, reflects the growing disillusionment with traditional financial systems. Bitcoin, and the technology underpinning it, represents a beacon of hope for a fairer, more inclusive financial future.

The film’s narrative suggests that the future belongs to those who dare to challenge the status quo, much like the early adopters of Bitcoin. It’s a call to action, urging us to reconsider our relationship with money and the institutions that control it.

Mary Poppins is more than just a children’s movie; it’s a parable for our times. In the transformation of Mr. Banks, we find a powerful metaphor for the shift towards Bitcoin and the principles it stands for. This story encourages us to question, to dream, and to seek a world where financial systems serve the many, not the few.

As we watch Mr. Banks fly a kite with his children, we are reminded of the potential for joy and liberation in breaking free from traditional constraints—much like the freedom found in the adoption of Bitcoin. It’s time to take control of our financial futures, to opt for a system that empowers us all, much like Michael did.

Let us take inspiration from Mary Poppins and embrace the change that Bitcoin represents. After all, sometimes, all it takes is a leap of faith and a spoonful of innovation to find our way to a brighter, more liberated financial horizon.

This article is a Take. Opinions expressed are entirely the author’s and do not necessarily reflect those of BTC Inc or Bitcoin Magazine.



Source link

Continue Reading
Advertisement [ethereumads]

Trending

    wpChatIcon