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

Make the Wallet aware of the Base Nodes current tip and sync status before syncing outputs #1967

Closed
philipr-za opened this issue Jun 9, 2020 · 1 comment
Assignees

Comments

@philipr-za
Copy link
Contributor

Currently when the wallet starts up and is provided the Base Node pubkey it will immedeately send a Sync request to the BN to see if its UTXOs are still valid.

This is a problem if the BN is not fully synced as valid UTXOs can be mistaken for invalid if they come from a later block.

The Output Manager in the wallet should be updated to first find out what tip the BN is at and if it synced before attempting to sync its UTXOs. The tip information will also be useful in selecting UTXOs for transactions based on maturity.

@philipr-za philipr-za self-assigned this Jun 9, 2020
@philipr-za
Copy link
Contributor Author

This is a duplicate of #1808

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

No branches or pull requests

1 participant