Skip to content

Review finding: fallback-fee docs overstate what the minimum-relay default guarantees #307

Closed

Description

@kiwidream

Summary

Operator guidance overstates the guarantee and omits the stranding case that made upstream disable the fallback.

Severity: medium. Found in the 2026-11-04 review of the v1.0.1 change set (all 1.x.x merges since v1.0.0 plus the open PRs that target it), against 1.x.x 21fee6ee8e; area: #151.

Observed

Confidence: confirmed from code (behaviour is upstream Core's; the gap is the documentation).

  • Location: doc/release-notes-151.md, release: prepare v1.0.1 #181 doc/release-notes-1.0.1.md "Fallback fee" section, src/wallet/wallet.h:116-122 comment, PR wallet: default -fallbackfee to the minimum relay fee #151 body ("Bitcoin Core's rationale doesn't apply").
  • Scenario: the clamp in GetMinimumFeeRate (src/wallet/fees.cpp:67-80) uses only the local node's relayMinFee(), -mintxfee and local mempoolMinFee(). A node that starts with no estimates (new install, or estimates older than 60 h are discarded) while the network mempool is congested has a not-yet-full local mempool, so it sends at 250 sat/kvB. Peers whose mempool minimum or -minrelaytxfee is higher drop it (and feefilter stops it being announced), so it stays in the local mempool and the wallet's rebroadcast never gets it mined until congestion clears. That is exactly the "strands transactions" case the PR says does not apply. Escaping needs a bump: EstimateFeeRate adds max(node incremental 250, WALLET_INCREMENTAL_RELAY_FEE 5000), so the first bump is to >= 5,251 sat/kvB (21x), and for P2MR every bump re-signs every input and consumes fresh PQC counters.
  • Evidence: code traced (fees.cpp, feebumper.cpp EstimateFeeRate, policy/fees.h:33 MAX_FILE_AGE{60}); a regtest probe confirmed the uncongested case works: a compiled-default send paid 251 sat/kvB with fee_reason "Fallback fee" and reached a default-policy peer's mempool; the GUI tooltip in src/qt/forms/sendcoinsdialog.ui:742 already says "will take several hours or days (or never) to confirm", so the GUI and release notes disagree. The congested-network case was not run.

Impact

Client stability and operator expectations. Release notes say "the fallback cannot underpay relay policy"; that is true only for the local node's policy. Exchanges that relied on "Fee estimation failed" as a safety stop get floor-rate sends instead (the "Behavior changes" bullet covers the opt-out, but not the stranding or the bump cost).

Suggested fix

Reword to "the fallback is never below this node's minimum relay, -mintxfee or mempool minimum fee; peers with stricter policy or a congested network may not relay or mine it, and you may need to bump the fee (which re-signs and uses PQC signing capacity)". Mention -fallbackfee=0 for services that prefer failure, and the 60-hour estimate staleness after downtime.

Activity

  1. added
    documentation
    on Nov 4, 2026
  2. kiwidream commented on Nov 12, 2026

    @kiwidream
    MemberAuthor

    Fixed on 1.x.x by #346 (863e6b12de) and the v1.0.1 release notes in #181 (29c0ec9b6c):

    • The notes' "Fallback fee" section and its "Behavior changes" bullet now say that the floor is only this node's limits (minimum relay fee, -mintxfee, mempool minimum fee), and that peers with a higher minimum, or a congested network, may not relay or mine the transaction until its fee is bumped. They give the cost of a bump (at least 5,000 sat/kvB more, and a P2MR bump re-signs every input and uses PQC signing capacity), -fallbackfee=0 for services that prefer failure, and the 60-hour staleness of saved estimates.
    • The DEFAULT_FALLBACK_FEE comment in src/wallet/wallet.h says the same (wallet: fallback-fee follow-ups for #151 (discard rate, GUI warning, default test, help texts) #346).
    • doc/release-notes-151.md is folded into the notes and deleted.

    The description of PR #151 is unchanged.

    Closing by hand, because a merge into 1.x.x does not close issues automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions