QML Load UTXO Snapshot#485
Closed
D33r-Gee wants to merge 3 commits into
Closed
Conversation
johnny9
suggested changes
Jul 31, 2025
- This introduce the UI flow to load a AssumeUTXO snapshot - It modifies the connection settings - Adds a SnapshotLoadSettings file, Icon, and modified progress bar. - Also it adds error page on snapshotloading failure
- Added snapshot loading capabilities to NodeModel, including progress tracking and error handling. - Introduced SnapshotQml class for processing snapshot files. - Enhanced ChainModel with methods to retrieve snapshot information and check if a snapshot is active. - Updated QML properties to reflect snapshot loading state and progress. - Included necessary includes for snapshot handling in relevant files.
- Implemented a new method `snapshotLoadProgress(double progress)` in the notifications interface to report loading progress of UTXO snapshots. - Updated `ChainstateManager::PopulateAndValidateSnapshot` to calculate and send progress updates during snapshot loading. - Introduced a new signal `SnapshotLoadProgress` in the UI interface for handling progress notifications. - Added necessary handlers in the node interface to connect the new progress signal. - Included a patch file for clean CI environments to ensure consistent submodule state.
4439769 to
050fa0e
Compare
Contributor
Author
This was referenced Jul 31, 2025
Contributor
Author
|
moved this to #488 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is an re-opened PR based on #424 and #449
UTXO Snapshot Loading
Overview
This PR enables loading UTXO snapshots both during and after the initial onboarding process.
What This PR Does
Implementation Details
Core Components Modified
qml/models/nodemodel.cpp)qml/components/SnapshotLoadSettings.qml,src/qml/components/ConnectionSettings.qml)Key Design Decisions
Testing Instructions
Test onboarding flow:
Verify (see screenshots below):
Ubuntu 22.04 Screenshots
Expected Behavior
Success/failure state properly displayed
feedback welcome on the approach and implementation details.