Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • ADOPTION
  • TRADING
  • HACKING
  • SLOT
  • TRADE
Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • ADOPTION
  • TRADING
  • HACKING
  • SLOT
  • TRADE
Crypto Flexs
Home»BITCOIN NEWS»Should input UTXO references be unique across transactions or across blocks?
BITCOIN NEWS

Should input UTXO references be unique across transactions or across blocks?

By Crypto FlexsMay 10, 20242 Mins Read
Facebook Twitter Pinterest LinkedIn Tumblr Email
Should input UTXO references be unique across transactions or across blocks?
Share
Facebook Twitter LinkedIn Pinterest Email

Should the input UTXO reference (txid + vout) be unique across transactions or across blocks?

UTXOs must be unique. That said, there has been at least one case where two different transactions (in this case Coinbase transactions) had the same txid. This issue is fixed in BIP34.

In other words, is the rule that UTXOs can be spent piecemeal across transactions and blocks if the total amount spent is less than the UTXO amount?

UTXOs are consumed (or spent) in transactions. Blocks registration transactions.

If a transaction is configured where different inputs reference the same UTXO, is that transaction canonical or valid?

This is not valid. A UTXO can only be used once. If a transaction uses a UTXO twice with different inputs, it will consume the UTXO twice, which is not acceptable.

If different inputs from different transactions form a block using the same UTXO, is that block valid?

No, the block is invalid. This is because in this case the same UTXO is used twice for different transactions. Remember that a UTXO can only be used once.

Let’s assume that in both cases the total amount consumed is less than the UTXO total.

When a UTXO is consumed, the full amount is consumed. It is not possible to use part of a UTXO. If the amount you want to spend is less than UTXOs, your changes generate new UTXOs.

Suppose you have two UTXOs (one with 5,000 sats, the other with 6,000 sats) and you pay me 7,000 sats. In this case, the transaction includes:

  • 2 inputs (2 UTXOs) with a total of 11,000 sats
  • Two outputs:
    • One is locked to my public key (my payment) of 7,000 sats.
    • One is locked to the public key (changes) of 4,000 sats.

Now that the two initial UTXOs are used, you can forget about them. There are now two new UTXOs.

  • Mining 7,000 sats of UTXO
  • UTXO 4,000 sats
Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

Related Posts

Sequans starts $ 384M Bitcoin Treasury Initiative with Swan Bitcoin Partnership.

June 23, 2025

ECB Chairman Lagarde aims to seize the global order to strengthen the Euro’s global position.

June 17, 2025

Bitcoin aims for $ 115K after US CPI data prefers investors.

June 11, 2025
Add A Comment

Comments are closed.

Recent Posts

No Altcoin Season 2025 ? Why Bitcoin Dominance Is Holding Strong In The Crypto Market

June 28, 2025

Why It Matters For Every Crypto Investor

June 27, 2025

Why It Matters For Every Crypto Investor

June 27, 2025

Safe smart account audit summary

June 27, 2025

CARV’s New Roadmap Signals Next Wave Of Web3 AI

June 27, 2025

CARV’s New Roadmap Signals Next Wave Of Web3 AI

June 27, 2025

Bybit Expands Global Reach With Credit Card Crypto Purchases In 25+ Currencies And Cashback Rewards

June 27, 2025

BYDFi Joins Seoul Meta Week 2025, Advancing Web3 Vision And South Korea Strategy

June 27, 2025

Earns $9,800 Per Day With BTC Breaks Through $107,000, GoldenMining Global Market.

June 27, 2025

Why Bakkt Holdings can buy Bitcoin with a $ 1 billion increase

June 27, 2025

NVIDIA RTX strengthens FITY’s AI -centered innovation in Cooler Design.

June 27, 2025

Crypto Flexs is a Professional Cryptocurrency News Platform. Here we will provide you only interesting content, which you will like very much. We’re dedicated to providing you the best of Cryptocurrency. We hope you enjoy our Cryptocurrency News as much as we enjoy offering them to you.

Contact Us : Partner(@)Cryptoflexs.com

Top Insights

No Altcoin Season 2025 ? Why Bitcoin Dominance Is Holding Strong In The Crypto Market

June 28, 2025

Why It Matters For Every Crypto Investor

June 27, 2025

Why It Matters For Every Crypto Investor

June 27, 2025
Most Popular

Shiba Inu Woofs heads to the Web3 Summit in Dubai.

April 10, 2024

Will TONCOIN linked to Telegram recover after Pavel Durov’s arrest?

August 25, 2024

Coinbase has stabilized again after excessive traffic led to a $0 balance glitch.

February 28, 2024
  • Home
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms and Conditions
© 2025 Crypto Flexs

Type above and press Enter to search. Press Esc to cancel.