Skip to content

tx tooltip shows "i-1 confirmations" for quite a while after transaction details window is already showing "i confirmations" #429

Open

Description

@katesalazar

tx tooltip shows "i-1 confirmations" for quite a while after transaction details window is already showing "i confirmations"

Expected behavior

tx tooltip up to date with transaction details window

Actual behavior

tx tooltip shows "i-1 confirmations" for quite a while after transaction details window is already showing "i confirmations". After receiving a new block. Several minutes!

To reproduce

Boot Bitcoin Core Qt, wait for a new block.

System information

Self-compiled v22.0 tag.

Contemporary Debian GNU/Linux, KDE 5.54.0, Qt 5.11.3, xcb. CPU is quite old, and disk interface is USB.

Other

Unconfirmed on testnet.

Activity

  1. katesalazar commented on Sep 18, 2021

    @katesalazar
    Author
  2. katesalazar commented on Sep 18, 2021

    @katesalazar
    Author
  3. katesalazar commented on Sep 18, 2021

    @katesalazar
    Author
  4. jarolrod commented on Sep 22, 2021

    @jarolrod
    Contributor

    Thank you for reporting this. I am able to confirm that the tool-tip lags behind the actual confirmation count.

  5. jarolrod commented on Sep 23, 2021

    @jarolrod
    Contributor

    This is confined to initial startup. Upon startup it does infact start with i-1 in the case where blocks need to be processed because the client had not been online. If the client is caught up, then restarted, the tooltip for a transaction will not display i-1 confirmations.

  6. katesalazar commented on Sep 23, 2021

    @katesalazar
    Author
  7. katesalazar commented on Sep 25, 2021

    @katesalazar
    Author
  8. hebasto commented on Sep 30, 2021

    @hebasto
    Member

    It seems the relevant code:

    case Qt::ToolTipRole:
    return formatTooltip(rec);

  9. katesalazar commented on Oct 14, 2021

    @katesalazar
    Author
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