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: display error for rescan past pruned height #941

Conversation

edouardparis
Copy link
Member

@edouardparis edouardparis commented Jan 29, 2024

close #900

After discussion with @kloaec it is better to not return error if date is prior to genesis block date, just take genesis block timestamp

@edouardparis edouardparis force-pushed the gui-display-rescan-error-for-past-pruned-height branch from 8c4a066 to 6288441 Compare January 29, 2024 14:41
@edouardparis edouardparis requested a review from jp1ac4 January 30, 2024 14:23
Copy link
Collaborator

@jp1ac4 jp1ac4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added a couple of comments based on initial testing. Will continue testing.

@edouardparis edouardparis force-pushed the gui-display-rescan-error-for-past-pruned-height branch 2 times, most recently from f66f846 to a41d392 Compare January 30, 2024 16:30
@edouardparis
Copy link
Member Author

Thanks @jp1ac4 I fixed the comments and rebased

Copy link
Collaborator

@jp1ac4 jp1ac4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added a couple more comments regarding the negative timestamp value. Otherwise, my tests have been going well.

@edouardparis edouardparis force-pushed the gui-display-rescan-error-for-past-pruned-height branch 2 times, most recently from 952c06a to bed1220 Compare January 31, 2024 09:46
@edouardparis edouardparis force-pushed the gui-display-rescan-error-for-past-pruned-height branch from bed1220 to 69fd189 Compare January 31, 2024 10:07
Copy link
Member Author

@edouardparis edouardparis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Self-ACK 69fd189
Thanks jp1ac4 for the good reviews

Copy link
Collaborator

@jp1ac4 jp1ac4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 69fd189.

@edouardparis edouardparis merged commit 05bbeff into wizardsardine:master Jan 31, 2024
18 checks passed
@edouardparis edouardparis deleted the gui-display-rescan-error-for-past-pruned-height branch January 31, 2024 14:22
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.

GUI: errors when triggering rescan aren't displayed, at all
2 participants