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

New cli command follow_chain #53

Open
ankitchiplunkar opened this issue Aug 30, 2018 · 0 comments
Open

New cli command follow_chain #53

ankitchiplunkar opened this issue Aug 30, 2018 · 0 comments

Comments

@ankitchiplunkar
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Currently, scraping_blocks and following the head of the chain are divided into two different problems.
I want to create a single CLI command which performs both the operations together with a queue.

Describe the solution you'd like
ether_sql --settings=YourSettings follow_head
The above command should:
0. Start a set of celery workers to push data from node to sql

  1. Check for missing blocks between the psql and the node push them into the queue
  2. Start the new_block_filter after the queue blocks and start the schedule queue to take tasks of searching for new blocks.
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