The Daily Hodl
  • FEATURES
    • News
    • Bitcoin
    • Ethereum
    • Ripple and XRP
    • Altcoins
    • Financeflux
    • Trading
    • NFTs
    • Blockchain
    • Futuremash
    • Regulators
    • Scams
    • Crypto 101
  • HODLX
    • Latest Stories
    • FAQ
    • Submit Guest Post
  • INDUSTRY ANNOUNCEMENTS
    • Latest
    • Press Releases
    • ChainWire
    • Sponsored Posts
    • Submit Your Content
  • CRYPTO MARKETS
    • Bitcoin (BTC)
    • Ethereum (ETH)
    • Binance Coin (BNB)
  • BEGINNERS
    • What Is Bitcoin?
    • What Is Blockchain?
    • What Does Hodl Mean?
    • How to Pay Your Bills with Bitcoin
    • Best Bitcoin FAQs
    • Example of Bitcoin’s Purpose
    • Cryptocurrency Has Multiple Meanings
    • Authenticator Alert – Securing Your Crypto
  • SUBMIT
    • Guest Post
    • Press Release
    • Sponsored Post
    • Advertise
  • EMAIL ALERTS
  • DAILY HODL MIX
No Result
View All Result
  • FEATURES
    • News
    • Bitcoin
    • Ethereum
    • Ripple and XRP
    • Altcoins
    • Financeflux
    • Trading
    • NFTs
    • Blockchain
    • Futuremash
    • Regulators
    • Scams
    • Crypto 101
  • HODLX
    • Latest Stories
    • FAQ
    • Submit Guest Post
  • INDUSTRY ANNOUNCEMENTS
    • Latest
    • Press Releases
    • ChainWire
    • Sponsored Posts
    • Submit Your Content
  • CRYPTO MARKETS
    • Bitcoin (BTC)
    • Ethereum (ETH)
    • Binance Coin (BNB)
  • BEGINNERS
    • What Is Bitcoin?
    • What Is Blockchain?
    • What Does Hodl Mean?
    • How to Pay Your Bills with Bitcoin
    • Best Bitcoin FAQs
    • Example of Bitcoin’s Purpose
    • Cryptocurrency Has Multiple Meanings
    • Authenticator Alert – Securing Your Crypto
  • SUBMIT
    • Guest Post
    • Press Release
    • Sponsored Post
    • Advertise
  • EMAIL ALERTS
  • DAILY HODL MIX
No Result
View All Result
The Daily Hodl
No Result
View All Result

Paying With Bitcoin: How It Tackles the Double Spend Conundrum and Why Crypto Is Smarter Than Paper Money

by Sarah Rothrie
October 14, 2018
in Crypto101

Coin selection is the process that describes how the algorithms driving Bitcoin choose which of your Bitcoins to spend when you approve a spending transaction.

If you have 1.2 BTC in your wallet and you pay out 0.3, you have 0.9 BTC left, right?

Well, yes. But it isn’t necessarily that simple. After all, you can have $100 in your physical wallet. That $100 could comprise two fifties, or it could be five twenties, or 100 one-dollar bills. Each time you spend one of those paper notes, you will likely get some change back. Over time, if you keep paying with bills, you’ll only have a pile of nickels and dimes left over.

That 1.2 BTC in your digital wallet is no different. The difference with BTC is that when you approve a BTC spend, you also have to pay the transaction fees. So the process of choosing which specific Bitcoins are handed over in the spend is more of a costly one.

Here’s why.

Let’s go back to your hypothetical wallet with 1.2 BTC in it. Knowing it’s unlikely that you actually have one whole BTC and 0.2 BTC, let’s assume you have the following:

0.5 BTC
0.4 BTC
0.2 BTC
0.1 BTC

Now, when spending 0.3 BTC, you’d hope the algorithm would combine the 0.2 and 0.1 BTC to reach the spend value. It makes good sense, and given how Bitcoin calculates fees, there are lower costs in doing it this way.

The good news is that this is likely to happen. However, this is only since the Bitcoin developer team updated the algorithm earlier this year, to ensure more streamlined coin selection. Before this update, the coin selection process was a little less sophisticated.

Continuing with the above scenario, when you approved the 0.3 BTC spend, the older version of the algorithm would almost always create a change output. This means it would invariably have taken the 0.4 or 0.5 BTC, and return the change of 0.1 or 0.2 BTC to your wallet, less the fees.

While the algorithm update is good news for the future, the fact is that there are years of Bitcoin transactions that happened before this update. This has created a digital equivalent of everyone having a wallet comprising 70% nickels and dimes, and perhaps 30% notes of value. The difference being that you can’t take your Bitcoin wallet into the bank and ask them to change all of those Satoshis back into Bitcoins for you.

As annoying as small change can be, it’s easier to handle than fragments of BTC.

Bitcoin runs on a concept called UTXO, or unspent transaction output. This is essentially the same concept that prevents a double-spend from happening. Each time a spend transaction is authorized, the Bitcoin algorithm ensures that the wallet contains at least the value of the spend plus fees before the PoW consensus protocol approves the transaction.

Bitcoin opted for the UTXO mechanism because it keeps the proof of work algorithm simple. It also permits parallel processing across multiple accounts, which enhances scalability. Finally, it allows for Simple Payment Verifications (SPV), lightweight clients that can verify a payment’s inclusion in the blockchain without downloading the full database.

However, UTXO has some drawbacks. Most notably, it doesn’t work for smart contract platforms given that each output can only be owned by one person. As explained by Vitalik Buterin, this is why Ethereum opted for a different model, often called the Account/Balance Model. Although this model offers some benefits over UTXO, scalability is not one of them. Thus, for all the many benefits Ethereum offers, scalability is an issue that continues to plague its developers.

The upshot is that yes, Bitcoin has now updated the algorithm. Coin selection is a more sophisticated process as a result, targeting UXTO values that best match transaction value. But, the situation remains that there are many, many tiny pieces of Bitcoin now circulating.

Last year, one Bitcoin developer attempted a complex calculation to work out the possible value of these tiny pieces. He concluded that Bitcoin is comparable to a vault, two-thirds full of low-value trinkets, and one-third full of high-value items. Eventually, fees for moving the trinkets out of the vault could end up being more than the value of the trinkets themselves.

It was blockchain developer Mark Erhardt who first proposed how to optimize the Bitcoin coin selection algorithm. Although, it was Andrew Chow who implemented the update. Erhardt now works for BitGo, which develops enterprise cryptocurrency solutions for institutional investors. There, he has developed Predictive UTXO, which helps to offset the fees involved in spending many small UXTO values.

Bitcoin transaction fees are lower when there is less traffic on the network, and much higher when traffic is high. This is why many people were complaining about high fees during December 2017 when Bitcoin’s value spiked at nearly $20k.

Predictive UTXO uses an algorithm to bundle together the tiniest fragments of BTC in transactions when fees are lower. When fees go up, it will minimize transaction sizes to offset the increase. In this way, Predictive UTXO is saving up to 30 percent on fees for BitGo clients.

[the_ad id="42537"] [the_ad id="42536"]

If Predictive UTXO could be rolled out across other exchanges and wallets, it will provide some cushioning against the fees involved in spending the tiny BTC fragments that now exist in many of our wallets.

Some people may consider that fees are so small so as not to matter. While fees can end up being pennies on the dollar, savvy investors know that compound interest matters. If we can reduce fees and reinvest the difference, they are potentially worth far more in years to come. At least, assuming the price of BTC goes up.

As my grandmother used to say, take care of the pennies, and the pounds will take care of themselves. Pounds refers to sterling, but the principle also stands for dollars – and your Bitcoins.

This article by Sarah Rothrie was originally published on CoinCentral.com, our media partner.

Check Latest News Headlines


 
Disclaimer: Opinions expressed at The Daily Hodl are not investment advice. Investors should do their due diligence before making any high-risk investments in Bitcoin, cryptocurrency or digital assets. Please be advised that your transfers and trades are at your own risk, and any loses you may incur are your responsibility. The Daily Hodl does not recommend the buying or selling of any cryptocurrencies or digital assets, nor is The Daily Hodl an investment advisor. Please note that The Daily Hodl participates in affiliate marketing.
Submit a Press Release

Industry Announcements

  • Tyrion Set To Decentralize the $377 Billion Digital Advertising Industry
    September 25, 2023
  • Hydranet Launches Layer Three Dex – A Game Changer for Trustless Cross-Chain Trading
    September 25, 2023
  • Ottochain Homage to EVMOS and Ethereum Layer Two
    September 21, 2023
  • Algorand Foundation Announces Build-a-Bull Hackathon in Collaboration With AWS
    September 20, 2023
  • OKX Achieves SOC 2 Type II Certification, Demonstrating Its Industry-Leading User Safety, Security and Compliance Standards
    September 20, 2023
  • Meme Fans Eye El Hippo (HIPP) As Floki Inu (FLOKI) Price Dips
    September 19, 2023
  • Dexalot Unveils SimpleSwap and SimpleView Features for Enhanced User Experience
    September 19, 2023
Submit a Guest Post
ADVERTISEMENT
Bitcoin
$26,269.04
$26,269.04
0.42%
Ethereum
$1,595.58
$1,595.58
0.42%
Cardano
$0.244582
$0.244582
0.09%
XRP
$0.499716
$0.499716
0.22%
Dogecoin
$0.060336
$0.060336
0.17%

Spotlight

  • Bitcoin in ‘Calm Before the Storm’ As Bull Market Narratives Fail: Analyst Nicholas Merten
    September 20, 2023
  • Ethereum ICO Participant Moves $9,960,000 Worth of ETH to Crypto Exchange Kraken: On-Chain Data
    September 20, 2023
  • Analyst Will Clemente Says Setup for Bitcoin (BTC) Becoming ‘Increasingly Favorable’ – Here’s Why
    September 20, 2023
  • Former Deutsche Bank Executive Faces 30 Years in Prison for Crypto Fraud: DOJ
    September 20, 2023
DON'T MISS A BEAT
Crypto headlines delivered daily
to your inbox
BTC, ETH, XRP news alert options
By joining The Daily Hodl news list you agree to our
Terms and Conditions and Privacy Policy.
Featured Image: Shutterstock/Billion Photos

Covering the future of finance, including macro, bitcoin, ethereum, crypto, and web 3.

Categories

Bitcoin • Ethereum • Trading •
Ripple and XRP • Altcoins •
Blockchain • Regulators •
Scams • Crypto101 • HodlX •
Futuremash • Financeflux •
Industry Announcements

 

ABOUT US | EDITORIAL POLICY | PRIVACY POLICY
TERMS AND CONDITIONS | CONTACT | ADVERTISE

JOIN US ON TELEGRAM

JOIN US ON TWITTER

JOIN US ON FACEBOOK

COPYRIGHT © 2017-2023 THE DAILY HODL

No Result
View All Result
  • FEATURES
    • News
    • Bitcoin
    • Ethereum
    • Ripple and XRP
    • Altcoins
    • Financeflux
    • Trading
    • NFTs
    • Blockchain
    • Futuremash
    • Regulators
    • Scams
    • Crypto 101
  • HODLX
    • Latest Stories
    • FAQ
    • Submit Guest Post
  • INDUSTRY ANNOUNCEMENTS
    • Latest
    • Press Releases
    • ChainWire
    • Sponsored Posts
    • Submit Your Content
  • CRYPTO MARKETS
    • Bitcoin (BTC)
    • Ethereum (ETH)
    • Binance Coin (BNB)
  • BEGINNERS
    • What Is Bitcoin?
    • What Is Blockchain?
    • What Does Hodl Mean?
    • How to Pay Your Bills with Bitcoin
    • Best Bitcoin FAQs
    • Example of Bitcoin’s Purpose
    • Cryptocurrency Has Multiple Meanings
    • Authenticator Alert – Securing Your Crypto
  • SUBMIT
    • Guest Post
    • Press Release
    • Sponsored Post
    • Advertise
  • EMAIL ALERTS
  • DAILY HODL MIX

© 2023 The Daily Hodl