The Daily Hodl
  • FEATURES
    • News
    • Bitcoin
    • Ethereum
    • Ripple and XRP
    • Altcoins
    • 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
    • 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

  • Narwhal Finance Secures $1 Million in Seed Funding Led by Animoca Ventures
    March 24, 2023
  • Sports Prediction App Pooky Launches Full Version of Its Play-and-Earn Game
    March 23, 2023
  • StormGain Launches StormGain DEX for User-Friendly Decentralized Crypto Trading
    March 23, 2023
  • KyberSwap Announces First-Ever ARB Token Liquidity Pools, Liquidity Mining and Trading Campaigns on Arbitrum
    March 22, 2023
  • Metacade Presale Hits Final Stage Before Listings, Raising Over $500,000 in Under 24 Hours
    March 22, 2023
  • Yesports Launches the Largest Esports Marketplace for Gaming Expansion Into Web3 Alongside 40+ Partners
    March 21, 2023
  • Metatime Raises $11M in Private Funding To Enhance Web 3.0 Ecosystem
    March 21, 2023
Submit a Guest Post
ADVERTISEMENT
Bitcoin
$27,836.46
$27,836.46
0.38%
Ethereum
$1,766.62
$1,766.62
0.05%
Cardano
$0.361991
$0.361991
0.61%
XRP
$0.464123
$0.464123
8.53%
Dogecoin
$0.075736
$0.075736
1.35%

Spotlight

  • Top Crypto Analyst Turns Bullish on Ethereum Rival That’s Up 135% This Year
    March 23, 2023
  • ARK Invest’s Cathie Wood Says Institutions Will Come for Bitcoin (BTC) Amid US Banking Crisis
    March 23, 2023
  • Popular Crypto Analyst Says Bitcoin Surge to $40,000 To Happen A Lot Quicker, Issues Warning on Altcoins
    March 23, 2023
  • $359,000,000 in Bitcoin and Crypto Liquidated in Just 24 Hours As BTC Reclaims $28,000
    March 23, 2023
NBX Warsaw Summit Banner
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

Cryptocurrency news and analysis, covering Bitcoin, Ethereum, Ripple, XRP, altcoins and blockchain technology

Categories

Bitcoin • Ethereum • Trading •
Ripple and XRP • Altcoins •
Blockchain • Regulators •
Scams • Crypto101 • HodlX •
Futuremash •
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
    • 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