-
Notifications
You must be signed in to change notification settings - Fork 120
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
Provide alternative method to download ledger file #294
Conversation
@BitDesert I didn't realize your API call for ledger downloads was based on the ledger file provided by @SergiySW. Can you confirm that and also let us know if you are comfortable with us listing that endpoint in the docs here? |
Sure thing! It's just calls the newest file from the Yandex Disk and redirects to it: |
By the way, can My Nano Ninja API retrieve checksum for ledger file as well? |
@jserv I could provide a sha256/md5 hash if you want. Edit: |
Thank @BitDesert for the prompt support. I have revised the changes for sha256 checksum. |
Thanks @BitDesert and @jserv for helping sort this out. @SergiySW Any issues you see with the requested update/commands? |
Well, not sure if it's better to specify size of compressed ledger as 11GB (and it can change over time) or provide method to validate size as well |
My Nano Ninja API can redirect the current ledger file preserved at Yandex. It is convenient for Docker and/or shell scripting integration.
Using file checksum integrity verification should be sufficient. This pull request makes sense to someone who is writing scripts to automate ledger file downloading. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @jserv ! |
My Nano Ninja API can redirect the current ledger file preserved at
Yandex. It is convenient for Docker and/or shell scripting integration.