Activity sync warnings: surface out-of-sync state around balances and activity #634

Open
opened 2026-05-06 08:55:42 +00:00 by johnny9 · 2 comments
johnny9 commented 2026-05-06 08:55:42 +00:00 (Migrated from github.com)

Code Gap

The Activity page has an empty-state message while the node is syncing, but there is no persistent warning around visible balances and existing activity when the wallet/node is still catching up. Qt's overview makes out-of-sync state visible so users do not rely on stale balance or transaction data.

Work Needed

  • Expose the wallet/node sync state needed to decide when balances or activity may be stale.
  • Show a persistent warning or banner in the selected balance/activity surface while data may be out of sync.
  • Clear the warning when the wallet/node reaches the selected release sync threshold.
  • Keep the existing empty-state copy coherent with the persistent warning.
  • Add coverage for syncing with no activity, syncing with existing activity, synced, paused, and disconnected states.
<!-- migrated-from: https://github.com/johnny9/BitcoinCoreAppDevelopment/issues/92 --> ## Code Gap The Activity page has an empty-state message while the node is syncing, but there is no persistent warning around visible balances and existing activity when the wallet/node is still catching up. Qt's overview makes out-of-sync state visible so users do not rely on stale balance or transaction data. ## Work Needed - Expose the wallet/node sync state needed to decide when balances or activity may be stale. - Show a persistent warning or banner in the selected balance/activity surface while data may be out of sync. - Clear the warning when the wallet/node reaches the selected release sync threshold. - Keep the existing empty-state copy coherent with the persistent warning. - Add coverage for syncing with no activity, syncing with existing activity, synced, paused, and disconnected states.
reez commented 2026-11-10 19:31:39 +00:00 (Migrated from github.com)

+1

The place I ran into this was a payment request just says "Awaiting payment" while the node is still syncing (even after the payment was sent), could be good for the warning to cover that screen too.

+1 The place I ran into this was a payment request just says "Awaiting payment" while the node is still syncing (even after the payment was sent), could be good for the warning to cover that screen too.
jarolrod commented 2026-11-11 12:26:24 +00:00 (Migrated from github.com)

The Send and Receive pages have the same gap, and Send lets a payment through on a balance that may be out of date.

To reproduce on regtest, I put the node about 100 blocks behind its best header (blocks 101, headers 203), with a 1 BTC payment to the wallet in the missing blocks:

  • The Activity, Send and Receive tabs are all enabled.
  • The wallet badge and Send's Available read 50.00000000 BTC. The 1 BTC payment is not included, and nothing says the figure may be incomplete.
  • No text about synchronisation appears on Activity, Send, Review or Receive. Activity's "Syncing wallet activity…" line shows only when the list is empty.
  • A 1 BTC send went through: Review said Ready to send and the completion page said it should confirm within 6 blocks.
  • Create payment request worked.

The only cue is in the header: the tooltip reads Connecting with no peer, and Downloading blocks with a small yellow icon once a peer is connected. After the missing blocks arrived, the balance included the payment.

The wallet tabs depend only on a wallet being loaded (DesktopWallets.qml#L303-L329). SendCreate.qml and ReceivePage.qml do not read the node's sync state at all, and the only sync text on a wallet page is the Activity empty state (ActivityListPage.qml#L63-L73).

It would help for the warning proposed here to cover Send's Available figure and the Receive page as well as balances and activity.

Reproduced on merged qt6 at eed1f426fcb6, macOS / Qt 6.9, isolated regtest. The node was put behind by giving it headers without their blocks, so Core did not report initial block download; a true first sync was not staged. The Send form and the send ran offscreen only; natively I checked that the Send tab was enabled and visited Activity and Receive.

The Send and Receive pages have the same gap, and Send lets a payment through on a balance that may be out of date. To reproduce on regtest, I put the node about 100 blocks behind its best header (blocks 101, headers 203), with a 1 BTC payment to the wallet in the missing blocks: - The Activity, Send and Receive tabs are all enabled. - The wallet badge and Send's **Available** read 50.00000000 BTC. The 1 BTC payment is not included, and nothing says the figure may be incomplete. - No text about synchronisation appears on Activity, Send, Review or Receive. Activity's "Syncing wallet activity…" line shows only when the list is empty. - A 1 BTC send went through: Review said **Ready to send** and the completion page said it should confirm within 6 blocks. - **Create payment request** worked. The only cue is in the header: the tooltip reads **Connecting** with no peer, and **Downloading blocks** with a small yellow icon once a peer is connected. After the missing blocks arrived, the balance included the payment. The wallet tabs depend only on a wallet being loaded ([DesktopWallets.qml#L303-L329](https://github.com/bitcoin-core/gui-qml/blob/eed1f426fcb64daa61b004590335a03afe376274/qml/pages/wallet/DesktopWallets.qml#L303-L329)). `SendCreate.qml` and `ReceivePage.qml` do not read the node's sync state at all, and the only sync text on a wallet page is the Activity empty state ([ActivityListPage.qml#L63-L73](https://github.com/bitcoin-core/gui-qml/blob/eed1f426fcb64daa61b004590335a03afe376274/qml/pages/wallet/ActivityListPage.qml#L63-L73)). It would help for the warning proposed here to cover Send's **Available** figure and the Receive page as well as balances and activity. Reproduced on merged `qt6` at `eed1f426fcb6`, macOS / Qt 6.9, isolated regtest. The node was put behind by giving it headers without their blocks, so Core did not report initial block download; a true first sync was not staged. The Send form and the send ran offscreen only; natively I checked that the Send tab was enabled and visited Activity and Receive.
Sign in to join this conversation.
No description provided.