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 new command line option to indicate what version of snapshot nodeos will produce #1756

Open
matthewdarwin opened this issue Oct 12, 2023 · 2 comments

Comments

@matthewdarwin
Copy link

Add new command line option to indicate what version of snapshot nodeos will produce

eg:

nodeos --print-snapshot-version

This will allow automation to know which snapshots to use for production.

@bhazzard
Copy link

"know which snapshots to use for production"

Wouldn't that suggest it would be more helpful to know information about the snapshots you have, rather than the snapshot a nodeos instance would produce?

An alternative to this we discussed was adding a tool to leaputil to extract and display useful information about a snapshot like snapshot version, chain id, block height / block id, etc... would that solve your automation use case?

@matthewdarwin
Copy link
Author

I already know which snapshots I have, they are in s3 bucket which is used to display here: https://snapshots.eosnation.io/

When we need to run a process where nodeos needs a snapshot typically we take the one available for the version of nodeos that is running. To understand what version that is, we create a file (as part of the build process for nodeos) which records which version to prefer. This file is created manually. Would be cool if we could avoid creating this file all together and just ask nodeos what version of snapshot it would like to use.

@bhazzard bhazzard moved this from Todo to Icebox in Team Backlog Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Icebox
Development

No branches or pull requests

3 participants