The Cryptonomics™
  • Home
  • Blockchain
  • Bitcoin
  • Ethereum
  • NFTS
  • Altcoin
  • Mining
  • Consulting
Reading: bitcoin core improvement – Distinction between long-term-fee-rate and discard fee-rate
Share
Please enter CoinGecko Free Api Key to get this plugin works.
The Cryptonomics™The Cryptonomics™
Font ResizerAa
Search
  • Home
  • Blockchain
  • Bitcoin
  • Ethereum
  • NFTS
  • Altcoin
  • Mining
  • Consulting
Follow US
  • About Us
  • Advertising Solutions
  • Privacy
  • Terms
  • Advertise
Copyright © MetaMedia™ Capital Inc, All right reserved
The Cryptonomics™ > Bitcoin > bitcoin core improvement – Distinction between long-term-fee-rate and discard fee-rate
Bitcoin

bitcoin core improvement – Distinction between long-term-fee-rate and discard fee-rate

admin
Last updated: July 4, 2026 5:33 am
admin Published July 4, 2026
Share
bitcoin core improvement – Distinction between long-term-fee-rate and discard fee-rate


The discard feerate and the long-term feerate are each estimates of what it will value to spend a UTXO sooner or later, and since Bitcoin Core v24 each default to 10 sat/vB, which is exactly why they get confused. The distinction is which UTXO every one costs, and at which stage of constructing the transaction. The discard feerate governs a single change output; the long-term feerate governs enter choice.

The discard feerate (-discardfee, DEFAULT_DISCARD_FEE = 10 sat/vB, added in PR #10817) solutions one query: as soon as a variety leaves some leftover worth, is that leftover value turning into change, or ought to it simply go to the charge? A change output prices you twice, as soon as to create once in a while to spend later, and the discard fee costs that future spend. If the change could be mud at that fee, which means it will value extra to redeem than it is value, Core drops it into the charge reasonably than creating an output you’d by no means economically spend. In Department and Sure that is the cost_of_change window, discard_feerate.GetFee(change_spend_size) + effective_feerate.GetFee(change_output_size), inside which giving the surplus to charge beats making change. Two bounds apply from the choice’s personal assist textual content: the efficient fee is floored by the mud relay charge and capped by the longest-target charge estimate, so a really excessive -discardfee cannot discard arbitrarily massive change.

The long-term feerate (-consolidatefeerate, default 10 sat/vB) lives solely contained in the waste metric that scores candidate enter units, and it represents the feerate at which you would be content material to consolidate UTXOs. Waste contains, per enter, input_size × (current_feerate − long_term_feerate), and the signal of that distinction is all the mechanism. When the present feerate sits above the long-term fee, every further enter provides optimistic waste, so the pockets prefers fewer inputs and avoids overpaying to maneuver cash whereas charges are excessive. When the present feerate sits under it, every further enter provides adverse waste, so the pockets prefers extra inputs and consolidates cheaply now, since spending them later is anticipated to value extra. It by no means adjustments the charge you truly pay on this transaction; it solely decides which legitimate enter set wins. Earlier than PR #22009 (v24) this was the dynamic 1008-block estimateSmartFee worth, swapped for a static configurable fee as a result of the week-out estimate typically sat close to the ground and skewed choice towards fixed consolidation.

So each encode “what is going to it value to spend a coin later,” each dwell within the coin-selection and alter equipment, and each default to 10 sat/vB, however they act on totally different cash at totally different moments. The discard feerate acts on the change output and whether or not it survives, utilized after a variety is made to trim uneconomical change. The long-term feerate acts on the inputs and what number of to select, utilized throughout choice to match entire enter units.



Supply hyperlink

You Might Also Like

OKX Proclaims Direct Crypto Help for Venezuelans Hit by Devastating Twin Earthquakes – Bitcoin Information

Bitcoin Can Nonetheless Go Decrease as Provide Metric Prints First ‘Purchase’ Sign in 4 Years

Introducing the Kraken API Companion Program: flip your platform into a worldwide crypto and capital markets venue

accurately signal a transaction? Error: 64: scriptsig-not-pushonly

Bitcoin Merchants Brace for $62K Check After Rebound From $57,735 Low

Share This Article
Facebook Twitter Email Copy Link Print
Previous Article Exxaro’s Grootegeluk to be take a look at mattress for HCM’s new hybrid mining truck Exxaro’s Grootegeluk to be take a look at mattress for HCM’s new hybrid mining truck
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Subscribe to our newslettern

Get Newest Articles Instantly!

- Advertisement -
Ad imageAd image
Popular News
Ethereum Value Rejected Once more — Is One other Leg Decrease Brewing?
Ethereum Value Rejected Once more — Is One other Leg Decrease Brewing?
Margin-enhancing UHDMS tech advances positively at Kumba
Margin-enhancing UHDMS tech advances positively at Kumba
ETH ETF Outflows Prime 2M Regardless of Ether Holding K
ETH ETF Outflows Prime $242M Regardless of Ether Holding $2K

Follow Us on Socials

We use social media to react to breaking news, update supporters and share information

Facebook Instagram Linkedin Pinterest Tiktok Twitter Youtube
The Cryptonomics™

Cryptonomics Magazine is your premier digital source for blockchain insights, offering cutting-edge research, news, interviews, and ICO updates for everyone from entrepreneurs to institutions. We drive blockchain knowledge and growth.

Subscribe to our newsletter

Always Stay Up to Date

Subscribe to our newsletter to get our newest articles instantly!

Exxaro’s Grootegeluk to be take a look at mattress for HCM’s new hybrid mining truck
July 4, 2026
OKX Proclaims Direct Crypto Help for Venezuelans Hit by Devastating Twin Earthquakes – Bitcoin Information
July 3, 2026
Mining value pressures accelerated in Could as power shock took maintain
July 3, 2026
Upbit Says It Isn’t Collaborating in Open USD Issuance
July 3, 2026
Bitcoin Can Nonetheless Go Decrease as Provide Metric Prints First ‘Purchase’ Sign in 4 Years
July 3, 2026
Copyright © The Cryptonomics™ , All right reserved
  • About Us
  • Advertising Solutions
  • Privacy
  • Terms
  • Advertise
Join Us!

Subscribe & Stay Ahead of the Curve with Cryptonomics !

Zero spam, Unsubscribe at any time.
Welcome Back!

Sign in to your account

Lost your password?