Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GUI] Consider wallet to be syncing until first poll completes after opening #1377

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jp1ac4
Copy link
Collaborator

@jp1ac4 jp1ac4 commented Oct 11, 2024

This PR uses the changes from #1376 to complete #1373.

It builds on the changes from #1370 to consider an existing wallet (that uses a local backend) to be syncing until the first poll completes after opening the GUI.

@jp1ac4
Copy link
Collaborator Author

jp1ac4 commented Oct 11, 2024

I moved some commits to #1370 as they also applied there (see #1370 (comment)).

@jp1ac4
Copy link
Collaborator Author

jp1ac4 commented Oct 15, 2024

I added the last_poll_timestamp to the cache when loading the application.

@jp1ac4
Copy link
Collaborator Author

jp1ac4 commented Oct 17, 2024

I changed to Draft as Cargo.toml is currently pointing to my branch for #1376 and will need to be reverted once that PR has been merged.

@jp1ac4
Copy link
Collaborator Author

jp1ac4 commented Oct 18, 2024

Updated liana dependency commit hash.

@jp1ac4
Copy link
Collaborator Author

jp1ac4 commented Oct 18, 2024

Rebased on master.

@jp1ac4 jp1ac4 force-pushed the gui-check-last-poll branch 2 times, most recently from 13f4a49 to adf15c4 Compare October 18, 2024 14:57
This only applies to local backends.
If the user has imported a descriptor and is using bitcoind as
a local node, then they will need to perform a rescan in order
to see past transactions.

Treating the wallet as syncing in this case could mislead the
user that a rescan is being performed. Therefore, it's better
to keep the past behaviour here to avoid further confusion.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Review
Development

Successfully merging this pull request may close these issues.

1 participant