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

Fetch transaction batches concurrently #22

Open
busyboredom opened this issue Feb 2, 2023 · 0 comments
Open

Fetch transaction batches concurrently #22

busyboredom opened this issue Feb 2, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@busyboredom
Copy link
Owner

busyboredom commented Feb 2, 2023

Daemons only allow a max of 100 transactions to be fetched at a time. To comply with that, we fetch batches of 100 transactions at a time in a loop until we are up-to-date.

We could fetch these batches concurrently to speed up startup time (and theoretically scanning time too when the network is under heavy load).

@busyboredom busyboredom added the enhancement New feature or request label Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant