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

Add start date parameter to zcoin activation request #1900

Closed
shamardy opened this issue Jul 8, 2023 · 1 comment
Closed

Add start date parameter to zcoin activation request #1900

shamardy opened this issue Jul 8, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request P1

Comments

@shamardy
Copy link
Collaborator

shamardy commented Jul 8, 2023

For resource-constrained devices, such as mobiles, it would be beneficial to allow the user to specify the start date from which to begin syncing zcoin blocks. The challenge lies in obtaining the actual block information with its corresponding real block time because we can't fetch the starting block based on an arbitrary time. To address this, we can sync backwards from the latest block using a defined step/range until we find a block with a timestamp earlier than the start date specified in the request.

@shamardy
Copy link
Collaborator Author

Fixed in #1922

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P1
Projects
None yet
Development

No branches or pull requests

2 participants