BSV
$53.74
Vol 33.58m
-6.22%
BTC
$96572
Vol 47885.85m
-2.09%
BCH
$454.41
Vol 395.48m
-3.2%
LTC
$101.1
Vol 916.73m
-2.74%
DOGE
$0.31
Vol 5936.94m
-7.47%
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

Google unveils ‘Willow’; Bernstein downplays quantum threat to Bitcoin
Google claims that Willow can eliminate common errors associated with quantum computing, while Bernstein analysts noted that Willow’s 105 qubits...
December 18, 2024
WhatsOnChain adds support for 1Sat Ordinals with new API set
WhatsOnChain now supports the 1Sat Ordinals with a set of APIs in beta testing; with this new development, developers can...
December 13, 2024
Advertisement
Advertisement
Advertisement