Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Qt: Refresh Spark address book after activation height skips#1831

Open
cursor[bot] wants to merge 3 commits intomasterfiroorg/firo:masterfrom
cursor/critical-bug-inspection-d55dfiroorg/firo:cursor/critical-bug-inspection-d55dCopy head branch name to clipboard
Open

Qt: Refresh Spark address book after activation height skips#1831
cursor[bot] wants to merge 3 commits intomasterfiroorg/firo:masterfrom
cursor/critical-bug-inspection-d55dfiroorg/firo:cursor/critical-bug-inspection-d55dCopy head branch name to clipboard

Conversation

@cursor
Copy link
Copy Markdown
Contributor

@cursor cursor Bot commented May 2, 2026

PR intention

Fix a Spark activation GUI refresh bug where the address book refresh only ran when the GUI observed exactly nSparkStartBlock. During initial block download, block-tip UI notifications are throttled, so the GUI can jump from below Spark activation to above it without ever receiving the exact activation height. In that case, Spark/Spark-name address-book options may remain unavailable until restart.

Code changes brief

  • Trigger the Spark address-book refresh on the first non-header block update at or above nSparkStartBlock, instead of only at exact equality.
  • Keep the refresh one-shot only after the address-book refresh observes Spark as actually allowed.
  • Retry the activation refresh when a wallet is added or selected after startup without trusting cached block/header height, covering clients that start already past the Spark activation height.
  • Refresh all loaded wallet views from WalletFrame::updateAddressbook() so multi-wallet sessions do not leave inactive wallet views stale.

Validation: git diff --check passed. No reusable build/ directory was present in the workspace for a targeted Qt build.

Open in Web View Automation 

cursoragent and others added 2 commits May 2, 2026 08:07
Co-authored-by: Reuben Yap <reuben@firo.org>
Co-authored-by: Reuben Yap <reuben@firo.org>
@reubenyap reubenyap marked this pull request as ready for review May 5, 2026 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.