BSV
$44.51
Vol 10.73m
0.37%
BTC
$60590
Vol 29940.68m
-0.59%
BCH
$322.66
Vol 173.78m
0.14%
LTC
$64.7
Vol 245.6m
-0.36%
DOGE
$0.1
Vol 712.83m
-0.25%
Getting your Trinity Audio player ready...

Bitcoin developer Unwriter has quickly become one of the most proficient coders for the Bitcoin SV (BSV) blockchain. Just after announcing his new Genesis BitDB node project, he’s at it again, this time introducing another BitDB node. The latest endeavor is called Babel.

https://youtu.be/gBb9FSxfyVs

In a new Medium post by the developer, Unwriter reveals the new BitDB node, explaining that it is designed for data-only Bitcoin applications. Instead of being used for money transfers, the platform is able to query those apps that use the OP_RETURN code to store data.

As Unwriter states in the post, “Most Bitcoin applications that use the blockchain as a database DO NOT need all the transaction details, because they only need to query OP_RETURN outputs and a couple of other attributes.” He adds that many of the features offered in a full node query, such as script database or graph database, are useful for many Bitcoin apps, but not all of them need to be able to access all of the data at the same time.

Babel was designed to provide a streamlined mechanism that will query OP_RETURN outputs, as well as only a few other useful attributes. It is “a subset of the Genesis.Bitdb designed specifically for data intensive Bitcoin applications.”

As with Genesis, Babel relies on the original address format of Bitcoin. Because it is streamlined, it is faster and more efficient than a full BitDB node and doesn’t use as much memory. Since it is a subtree of a full node, it incorporates the same Bitquery format as do the other nodes.

Babel only stores OP_RETURN output – the rest is stored as “null;” any transactions that don’t include an OP_RETURN output are ignored. Inputs are reduced to only store the input addresses, not the hash and index of previous transaction. In addition, the output produced by queries on Babel only contain push data – b0, h0, s0, b1, h1, s1, b2, h2, s2, etc.

According to Unwriter’s post, “Because the transactions are stored in BitDB according to the same schema as the full node, you can easily switch between a Genesis node and a Babel node.

“Because it stores much less than a full node, the Babel node can stay lean, which means more people will be able to afford to run the node in the future, not to mention higher performance that comes from specialization.”

Babel, like Genesis, is currently in beta. Once it is tweaked, Unwriter will make it open sourced and he welcomes all data builders to begin using it as it transforms.

Recommended for you

Treechat resurrects archives from Twetch and Hodlocker
CoinGeek spoke to Treechat founder Dmitriy Fabrikant about the process of resurrecting on-chain social networks following the restoration of Twetch...
October 9, 2024
BTC miner Hut 8 pivots to AI as BTC profits dry up
Hut 8 now allows AI clients to use a cluster of 1,000 Nvidia GPUs powering HP supercomputers after a $72...
October 4, 2024
Advertisement
Advertisement
Advertisement