mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 07:54:42 +00:00
QML Snapshot Load #488
No reviewers
Labels
No labels
Android
Bug
Build system
Design suggestion
Doc
Needs design review
Needs rebase
Stage
UX
Up for grabs
Upstream
Wallet
duplicate
enhancement
good first issue
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin-core/gui-qml!488
Loading…
Reference in a new issue
No description provided.
Delete branch "alt-qml-snapshotload"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is an re-opened PR based on #424 and #449. It's an alternate to #485 that uses a different /bitcoin branch instead of a patch.
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.
I don't know why CI is able to build, I am failing locally which makes sense because
.gitmodulesis still pointing at bitcoin core:but your commit is not part of that repo, so I get:
I am still trying to figure out what the "file" protocol message is about but otherwise I sort of expected to see this error in CI as well. ChatGPT suspects that the github "checkout" action may have access to some huge github-wide cache and is somehow able to look up
c29a...even though it actually lives in https://github.com/D33r-Gee/bitcoin/tree/interface-load-snapshotThe fix for me locally which I think should be part of the PR is:
Then I executed:
This tells git to re-read
.gitmodulesso it sees the new repo, then the update command pulls that and can fetch the specified commit:Submodule path 'bitcoin': checked out 'c29a5df51402b85fb335b0d16e3016e984224d90'concept and tested ACK, no code review yet
Thanks for testing @pinheadmz !
As you saw currently updating the upstream portion which will impact code review here.
Ultimately, the snapshot processing (path → file & metadata) will be moved there. Once the flow is more solid in that location, I’ll update the code here accordingly by removing the models/snapshotqml files and updating the snapshot info retrieval method.
with a05e12c addresses @pinheadmz comment about pointing the submodule url to my repo
daf644c squashed the snapshot loading functionality into one commit and has been updated with new interface from upstream (bitcoin/bitcoin PR#33117)
Reviewing https://github.com/bitcoin/bitcoin/pull/33117 along with this but theres a new issue building QML with bitcoin core as a subtree.
From ChatGPT:
from the compiler:
with a904558 addressed the rebasing upstream issues that @pinheadmz brought up (Thanks for that)
Also added a commit to address the discrepancies between the qt6 submodule branch and upstream.
Regarding the macos-14 CLI failure, not quite sure how to address that?