Close Menu
binanceplan.blog
    What's Hot

    Binance Keeps EU Plans Alive While Pursuing More Asia Licences

    July 10, 2026

    OKX, MetaMask, Matter Labs back dispute resolution court for AI agents

    July 10, 2026

    EMA Cloud Indicator MT4 – ForexMT4Indicators.com

    July 10, 2026
    Facebook X (Twitter) Instagram
    binanceplan.blog
    • Home
    • Binance
    • Cryptocurrency
      • Altcoin
      • Litecoin
      • Bitcoin
    • Crowdfunding
    • Crypto Mining
    • Ethereum
    • Fintech
    • Forex
      • Mompreneur
      • Venture Capital
    binanceplan.blog
    Home»Bitcoin»bitcoin core development – Difference between long-term-fee-rate and discard fee-rate
    Bitcoin

    bitcoin core development – Difference between long-term-fee-rate and discard fee-rate

    币安计划官方By 币安计划官方July 4, 2026No Comments3 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    bitcoin core development – Difference between long-term-fee-rate and discard fee-rate
    Share
    Facebook Twitter LinkedIn Pinterest Email


    The discard feerate and the long-term feerate are both estimates of what it’ll cost to spend a UTXO in the future, and since Bitcoin Core v24 both default to 10 sat/vB, which is precisely why they get confused. The difference is which UTXO each one prices, and at which stage of building the transaction. The discard feerate governs a single change output; the long-term feerate governs input selection.

    The discard feerate (-discardfee, DEFAULT_DISCARD_FEE = 10 sat/vB, added in PR #10817) answers one question: once a selection leaves some leftover value, is that leftover worth turning into change, or should it just go to the fee? A change output costs you twice, once to create now and again to spend later, and the discard rate prices that future spend. If the change would be dust at that rate, meaning it would cost more to redeem than it’s worth, Core drops it into the fee rather than creating an output you’d never economically spend. In Branch and Bound this is the cost_of_change window, discard_feerate.GetFee(change_spend_size) + effective_feerate.GetFee(change_output_size), within which giving the excess to fee beats making change. Two bounds apply from the option’s own help text: the effective rate is floored by the dust relay fee and capped by the longest-target fee estimate, so a very high -discardfee can’t discard arbitrarily large change.

    The long-term feerate (-consolidatefeerate, default 10 sat/vB) lives only inside the waste metric that scores candidate input sets, and it represents the feerate at which you’d be content to consolidate UTXOs. Waste includes, per input, input_size × (current_feerate − long_term_feerate), and the sign of that difference is the entire mechanism. When the current feerate sits above the long-term rate, each extra input adds positive waste, so the wallet prefers fewer inputs and avoids overpaying to move coins while fees are high. When the current feerate sits below it, each extra input adds negative waste, so the wallet prefers more inputs and consolidates cheaply now, since spending them later is expected to cost more. It never changes the fee you actually pay on this transaction; it only decides which valid input set wins. Before PR #22009 (v24) this was the dynamic 1008-block estimateSmartFee value, swapped for a static configurable rate because the week-out estimate often sat near the floor and skewed selection toward constant consolidation.

    So both encode “what will it cost to spend a coin later,” both live in the coin-selection and change machinery, and both default to 10 sat/vB, but they act on different coins at different moments. The discard feerate acts on the change output and whether it survives, applied after a selection is made to trim uneconomical change. The long-term feerate acts on the inputs and how many to pick, applied during selection to compare whole input sets.



    Source link

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

    Related Posts

    Tether’s $25 Million Telecom Bet Extends Its Push Beyond Stablecoins

    July 10, 2026

    JPMorgan Says The Real Threat To Bitcoin Isn’t Strategy (MSTR) — It’s Private Blockchains

    July 10, 2026

    US Lawmaker Pushes Crypto Developer Protections as Senate Weighs CLARITY Act

    July 9, 2026

    Billions flowing out of bitcoin ETFs and private credit funds suggest rising market risks

    July 9, 2026
    Add A Comment
    Leave A Reply Cancel Reply

    TOP POSTS

    Binance Keeps EU Plans Alive While Pursuing More Asia Licences

    July 10, 2026

    OKX, MetaMask, Matter Labs back dispute resolution court for AI agents

    July 10, 2026

    EMA Cloud Indicator MT4 – ForexMT4Indicators.com

    July 10, 2026

    SEC could start writing crypto rules before the Senate votes on CLARITY

    July 10, 2026

    Subscribe to Updates

    Get the latest creative news from Binanceplan about Altcoin, Binance and Bitcoin.

    Please enable JavaScript in your browser to complete this form.
    Loading

    Welcome to BinancePlan.blog — your trusted source for learning, strategies, and insights in the world of cryptocurrency, with a strong focus on Binance and digital asset growth.At BinancePlan, our mission is simple: to make crypto easy, understandable, and profitable for everyone — whether you’re a complete beginner or an experienced trader.

    Top Insights

    Binance Keeps EU Plans Alive While Pursuing More Asia Licences

    July 10, 2026

    OKX, MetaMask, Matter Labs back dispute resolution court for AI agents

    July 10, 2026

    EMA Cloud Indicator MT4 – ForexMT4Indicators.com

    July 10, 2026
    Get Informed

    Subscribe to Updates

    Get the latest creative news from Binanceplan about Altcoin, Binance and Bitcoin.

    Please enable JavaScript in your browser to complete this form.
    Loading
    • About Us
    • Contact Us
    • Disclaimer
    • Privacy Policy
    • Terms and Conditions
    Copyright© 2026 Binanceplan All Rights Reserved.

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