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

Simulate incoming blocks and staking ledgers in watch mode #21

Closed
Isaac-DeFrain opened this issue Jun 4, 2024 · 4 comments
Closed

Simulate incoming blocks and staking ledgers in watch mode #21

Isaac-DeFrain opened this issue Jun 4, 2024 · 4 comments
Assignees

Comments

@Isaac-DeFrain
Copy link
Member

No description provided.

@robinbb
Copy link
Member

robinbb commented Jun 4, 2024

Changing milestone.

@robinbb robinbb removed this from the MinaExplorer.com Equivalence milestone Jun 4, 2024
@robinbb robinbb removed their assignment Jun 7, 2024
@Isaac-DeFrain
Copy link
Member Author

I have an idea to build this feature into the indexer, much like our "missing block recovery" mechanism. We would provide two CLI args --block-fetching-exe PATH and --block-fetching-threshold N where PATH is the path to the "block fetching" mechanism executable (essentially, a script that takes a block height arg) and N is time in sec. Operation would go as follows:

  • add another condition to the indexer work loop: check the best block is not "too old" (determined by N and current time)
  • if the best block is too old, run the block fecthing exe provided with the arg best_tip.blockchain_length + 1

@robinbb robinbb moved this from Next to Backlog in MinaSearch.com Jun 12, 2024
@Isaac-DeFrain Isaac-DeFrain self-assigned this Jun 12, 2024
@Isaac-DeFrain
Copy link
Member Author

Isaac-DeFrain commented Oct 15, 2024

Blocked by Granola-Team/mina-indexer#1312

@jhult
Copy link
Member

jhult commented Feb 13, 2025

Closing as we don't feel this is necessary

@robinbb robinbb closed this as completed Feb 27, 2025
@github-project-automation github-project-automation bot moved this from Blocked to Done in MinaSearch.com Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants