ELI 5: Overlay Services on the BSV blockchain

Think of the BSV blockchain as a giant, secure ledger where anyone can record and verify transactions. It’s incredibly reliable, but if everyone tries to store everything directly on this ledger—like images, documents, or other types of data—retrieving that information efficiently becomes a challenge. The problem isn’t with the space available on the blockchain; it’s with finding and retrieving the specific data you need among all the stored information. That’s where Overlay Services come in, offering a smarter way to manage data and transactions. 

Why Not Just Put Everything on the Blockchain?

Let’s say you want to create a digital token, and you decide to store an image directly on the blockchain as part of that token. While this might sound like a good idea because the data is “on-chain,” it actually creates some big problems: 

Limited Flexibility: Once the image is on the blockchain, you can’t easily update it, delete it, or control who sees it. It’s like writing in permanent ink—you’re stuck with what you wrote. 

Inefficient Retrieval: Storing data on the blockchain means that finding and retrieving it can become a bottleneck, especially as the number of transactions grows. The mining nodes (the ones who validate transactions and maintain the blockchain) aren’t incentivised to serve you this data efficiently when there’s so much to sort through. 

Not Truly Uncensorable: Even though the data is on the blockchain, it’s not impossible for nodes to prune or delete it, which means it’s not as uncensorable as you might think. 

So, What’s the Better Way?

Overlay Services provide a solution that combines the strengths of the blockchain with the flexibility of traditional data storage. Instead of storing everything on the blockchain, you store your data off-chain, like on a regular server or a Content Delivery Network (CDN). You then use the blockchain to store a “digital fingerprint” (a hash) of that data. This hash proves that the data hasn’t been tampered with and records when it was created. 

Private use of a public blockchain: the power of dedicated business environments

One of the key advantages of using Overlay Services is that businesses can apply their own custom logic in high-performance systems while tightly coupling those activities to the blockchain for timestamping and data integrity. This enables private or permissioned uses of a public blockchain—a powerful capability that allows businesses to manage their own operations privately while ensuring the integrity of key data through the public blockchain. 

These dedicated business environments allow businesses to operate in a private environment, optimising their data management off-chain while using the BSV blockchain to verify the integrity of transactions and data. This allows companies to benefit from the security and transparency of the blockchain without needing to rely on it as a database for everything. They can track private activity, handle updates, and maintain flexibility in their own systems, while still using the public blockchain for auditable, immutable records. 

How Overlay Services work: the best of both worlds

With Overlay Services, you get the best of both worlds: 

Efficiency: You can easily update, manage, and control your data without worrying about the limitations of on-chain storage. 

Security: The blockchain still ensures the integrity and authenticity of your data through that digital fingerprint. 

Flexibility: You can access and share your data directly with others using peer-to-peer connections, bypassing the need for nodes to serve the data. 

Overlay Service components: making it all work 

Overlay services are a key part of the BSV Blockchain technical stack, and it includes several important components that help everything run smoothly: 

Transaction Store: This is where incoming and outgoing transactions are handled. It keeps track of the transactions being processed and those waiting to be added to the blockchain. 

Merkle Proof Client and Merkle Service: These tools check incoming Merkle path data envelopes to perform SPV checks on a transaction’s inputs. They also synchronize with the Merkle service to obtain any missing proofs and populate the necessary interior node values for each spendable transaction output (STO) being committed to an outgoing transaction for the next recipients. 

Spendable Transaction Output (STO) Lookup: This feature checks what outputs are available for spending as inputs. It also creates the necessary unlock scripts using the relevant key pair to make sure these outputs can be spent. 

Asset Store: The overlay may also have data payloads associated with particular STOs. This allows you to manage assets efficiently while keeping track of their integrity via the blockchain. 

Overlay Services achieve consistency by synchronizing via block headers and Merkle proofs, ensuring that they have an accurate view of the blockchain without needing to solve all the problems the original BSV blockchain addressed. 

Why Overlay Services are the smarter choice

Overlay Services allow businesses and developers to create powerful, scalable applications on the BSV blockchain without the inefficiencies of retrieving data directly from the blockchain. It’s like using the blockchain for what it does best—security and integrity—while keeping your data management flexible and cost-effective. 

Moreover, Overlay Services enable private use of a public blockchain. Businesses can maintain control over their own environments while anchoring critical activities to the blockchain for public auditability. This combination of private data management and public blockchain verification allows businesses to operate securely, flexibly, and efficiently, ensuring that data integrity and privacy are both prioritised. 

In short, Overlay Services make it possible to build smarter, more efficient applications that leverage the power of the BSV blockchain without getting bogged down by blockchain’s limitations. They offer the best of both worlds: the robust security of the blockchain and the flexibility to manage your data in the most efficient way possible. 

Learn more about Overlay Services: 

  • Exploring the Significance of Overlay Lookup Services 

Table of content

Latest News

Stay in the loop

News, tips, guides, and industry best practices

Useful eBooks to download

Expand your knowledge about BSV and blockchain technology.

Ready to add blockchain solutions to your business or government agency?

Send us a message and let us know about your needs.
Please contact [email protected]

Join Our
Community

Stay updated with the BSV Blockchain's latest news and
events.
Subscribe to our weekly newsletter.