Skip to content

Instantly share code, notes, and snippets.

@assafmo
Last active August 26, 2020 09:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save assafmo/a803f91b327dc76f54c91ca616614d94 to your computer and use it in GitHub Desktop.
Save assafmo/a803f91b327dc76f54c91ca616614d94 to your computer and use it in GitHub Desktop.
Calculate validators uptime in the Secret Network
seq 2 250000 |
parallel --bar 'secretcli q block {} | jq -r ".block.last_commit.signatures[].validator_address | [{}-1,.] | @csv"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment