BSV
$67.5
Vol 205.3m
0.76%
BTC
$98377
Vol 107511.94m
4.64%
BCH
$485.1
Vol 2166.87m
11.61%
LTC
$89.05
Vol 1352.46m
6.33%
DOGE
$0.38
Vol 9326.72m
3.08%
Getting your Trinity Audio player ready...

Bitcoin, with its massive scalability and robust architecture, is an attractive platform for enterprises and individual users alike. However, it also presents unique challenges, especially when managing data on a large scale. This article will discuss two different methods for handling data on the network: indexers and overlays, emphasizing why the shift towards the latter is becoming increasingly significant.

Indexers: Traditional but limiting

Indexers are essentially blockchain scanning systems. The idea behind an indexer is simplicity itself: as long as any transaction is included in a block on the blockchain, the indexer will find it and have it in its records. Hence, a user only needs to send a transaction to the miners and get it included in a block, and then the indexer, regardless of who operates it, is expected to sift through the transactions and pick out the relevant ones.

However, while basic, this model presents tangible limitations when tested against
scalability. For one, indexers are expected to scan the entire blockchain, a process that makes neither technological nor economic sense as the blockchain grows. This leads to various problems, including indexers crashing or becoming unable to keep up when large blocks are mined.

Overlay Networks: The way to peer-to-peer scalability

In contrast to indexers, overlay networks operate on a vastly different principle, one more in sync with the peer-to-peer ethos that is fundamental to Bitcoin SV (BSV).

Rather than expecting an overlay node to scan all blockchain transactions, overlay networks place the responsibility on transaction senders to submit their relevant transactions directly to the overlays that they concern. This means that overlays get transactions directly from the creators instead of scanning the entire blockchain as an indexer does.

Like-minded overlay operators communicating about the same protocol specifics can sync the important transactions in a manner reminiscent of the Bitcoin miners’ direct transaction communication itself. Ultimately, the primary difference between an overlay and an indexer is that while indexers scan the blockchain, overlays accept transactions directly from the sender or share overlay nodes.

This presents significant scalability advantages because overlays are not required to scan the entire blockchain, unlike indexers. Transaction senders who fail to register their transactions with an overlay have no expectation for inclusion. This can certainly happen later, but the responsibility lies with the individuals or entities needing the transactions or data reported.

The security measures associated with overlays are robust, stemming from the use of Simplified Payment Verification (SPV), a process that ensures evidence of the transaction’s validity and acceptance by the network. Overlay nodes only include transactions that have passed these checks, and once again, the burden is on the person submitting a transaction to provide SPV data.

Final thoughts

In the dynamic BSV ecosystem, the decision between indexers and overlay networks fundamentally boils down to choosing between an outdated one-size-fits-all scanning model and an optimized, user-focused, peer-to-peer model. By shifting the onus of submitting relevant transactions from a centralized actor to the participants themselves, overlay networks highlight the peer-to-peer scalability, convenience, and security that the future of BSV offers. In a grander sense, the shift towards overlays marks a significant stride in the ongoing journey of progress, not just for BSV, but the digital asset landscape it enables.

Given these advantages, it’s time that BSV app developers widely adopt and work on a further understanding of overlay networks over indexers, ensuring BSV maintains its scalability advantages over other blockchains.

Watch Unbounded Capital Summit NYC 2023: Running a whole economy on scalable blockchain

Recommended for you

Blockchain enables autonomous AI agents to learn
Utilizing blockchain tech, a group of Belgian scientists enabled autonomous AI agents to learn and communicate securely, contributing to the...
September 17, 2024
WhatsOnChain gets own UTXO endpoints for BSV blockchain services
With ElectrumX set to retire in October, WhatsOnChain is gearing up to implement a new UTXO set of API endpoints,...
September 16, 2024
Advertisement