Skip to content

Review finding: the fee-bump usage panel shows the display time, not the commit time #327

Closed

Description

@kiwidream

Summary

The fee-bump usage panel labels the report with the display time, not the commit time.

Severity: low. 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: #177.

Observed

Confidence: confirmed (proven from code).

  • Location: src/qt/transactionview.cpp:606 (QDateTime::currentDateTime() taken when feeBumped is handled); src/qt/walletmodel.cpp:1128-1135 (for warning reports, Q_EMIT message(..., MSG_WARNING) is modal and runs before feeBumped).
  • Scenario: A bump whose usage carries a warning, which is exactly the near-limit case, shows the modal warning first. The panel header "Fee bump replacement ()" gets the time the user dismissed that box, which can be minutes after the commit. The translator comment and the release: prepare v1.0.1 #181 notes both say "the local time it was committed".
  • Evidence: Code trace (MSG_WARNING = ICON_WARNING|BTN_OK|MODAL, interface_ui.h:67; modal mBox.exec(), bitcoingui.cpp:1368-1378).

Impact

Small. The header is meant to timestamp a counter snapshot attribute the reading to the event actually observed).

Suggested fix

Capture the time in bumpFeeFinished before the message (or carry it in BumpFeeResult when the commit returns) and pass it with feeBumped. Alternatively, reword the header and notes to "shown at".

Activity

  1. added
    bug
    on Nov 4, 2026
  2. kiwidream commented on Nov 6, 2026

    @kiwidream
    MemberAuthor

    Fixed on 1.x.x by #344 (merged as b5486bf). The bump worker records the time when commitBumpTransaction returns, WalletModel::feeBumped carries it, and the panel header shows that time. Covered by TestFeeBumpUsageShowsCommitTime. main gets the fix when 1.x.x is integrated.

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions