Reserved IP Address°C
11-21-2024
BSV
$66.23
Vol 196.34m
-2.64%
BTC
$97543
Vol 118269.84m
3.76%
BCH
$481.92
Vol 2128.39m
8.88%
LTC
$88.55
Vol 1417.03m
4.6%
DOGE
$0.38
Vol 10015.8m
1.05%
Getting your Trinity Audio player ready...

Satoshi Nakamoto’s vision was for Bitcoin to become global electronic peer-to-peer cash. For this vision to become a reality, services and merchants that use Bitcoin need a faster means to process payments as the Bitcoin network became increasingly bigger. Satoshi’s solution is Simplified Payments Verification (SPV), which allows services to deal only with transactions that are relevant to them. In a recent video, Bitcoin expert Joshua Henslee breaks down SPV and how it can bring Satoshi’s vision into reality.

As Henslee noted, the Bitcoin white paper states that one doesn’t have to run a full Bitcoin node as a merchant. “You can just run a lite SPV node where you only have the block headers. Based off the block headers, you can know, given a certain transaction hash, that it’s in a block,” he pointed out.

In a payment to a merchant, the transaction made is not confirmed at first, and as such, it’s not in a block and has no block header. This brings up a need for the merchant to reassure that the customer isn’t scamming him (like writing a check without enough funds in your bank account).

A customer has his unspent transaction outputs (UTXOs), which can be looked up on the blockchain “with a combination of the transaction hash and the index of the output.” He then sends these raw transactions to the merchant who looks them up on the block headers based on the Merkle root to validate that they are in a block.

While this allows the merchant to ensure that the UTXOs are in a block, they can’t ascertain that they haven’t been sent to other users. But according to Henslee, just as with the check system, very few customers are fundamentally dishonest and are out to commit fraud. In addition, the wallets will play their part by not allowing the users to hold UTXOs that are already spent.

Once the merchant has confirmed the UTXOs are on a block, they are then broadcast to the transaction processors.

SPV allows not only the merchants to quickly process Bitcoin payments but also for the customers to make payments offline.

“The key takeaway is to know that given the block headers and given transaction hashes, a merchant software can check, due to the Merkle root being in the block, [whether] a transaction is in a given block header,” explained Henslee.

Head over to Joshua Henslee’s YouTube channel for more Bitcoin SV Development Tutorials.

Learn more about Bitcoin investments with this new ebook, Investing in Blockchain: Better data for a better world

Recommended for you

David Case gets technical with Bitcoin masterclass coding sessions
Whether you're a coding pro or a novice, David Case's livestream sessions on the X platform are not to be...
November 21, 2024
NY Supreme Court’s ruling saves BTC miner Greenidge from closing
However, the judge also ruled that Greenidge must reapply for the permit and that the Department of Environmental Conservation has...
November 20, 2024
Advertisement
Advertisement
Advertisement