Project type: Staking Infra

GitHub - Block-Logic/solana-block-production: A workspace to explore Solana validator block production
Write better code with AI](
Find and fix vulnerabilities](
Plan and track work](
Collaborate outside of code](
Find more, search less](
+ Small and medium teams 
+ View all use cases
+ View all industries
+ White papers, Ebooks, Webinars 
Fund open source developers](/sponsors)
+ [The ReadME Project
Search or jump to...
# Search code, repositories, users, issues, pull requests...
We read every piece of feedback, and take your input very seriously.
Include my email address so I can be contacted
## Use saved searches to filter your results more quickly
To see all available qualifiers, see our documentation 
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.
You switched accounts on another tab or window. Reload to refresh your session.
* Notifications You must be signed in to change notification settings
A workspace to explore Solana validator block production
forks](/Block-Logic/solana-block-production/forks) Branches Tags Activity
Notifications You must be signed in to change notification settings
mainBranchesTagsGo to fileCode## Folders and files
| Name | | Name | Last commit message | Last commit date |
| --- | --- | --- | --- | --- |
| Latest commit History5 Commits | | |
| .gitignore | | .gitignore | | |
| .ruby-gemset | | .ruby-gemset | | |
| .ruby-version | | .ruby-version | | |
| LICENSE | | LICENSE | | |
| README.md | | README.md | | |
| solana-block-production.rb | | solana-block-production.rb | | |
| View all files | | |
## Repository files navigation
A workspace to explore Solana validator block production and "skipped after" metrics.
I'm curious to see if some validators are slow to produce blocks and causing problems for the next leader in line. You can use this tool to quickly calculate the Skipped After metrics for a given epoch.
1. Create a JSON file with block production for a given epoch.
2. Run the script to process the JSON file and produce a CSV file.
3. Analyze the data in the CSV file with your tool of choice.
Example command to create a JSON file for epoch 545. Change "545" to your desired epoch.
`solana block-production --verbose --output json --epoch 545 > solana-block-production-545.json`
The script should work with any recent version of Ruby. Example:
Look for the output in `solana-block-production-545.csv`. The column layout is `validator,leader_slots,blocks_produced,skipped_slots,skipped_after,skip_rate,skip_after_rate`
Links to a couple of CSV files for epochs 544 & 545:
A workspace to explore Solana validator block production
© 2024 GitHub, Inc.
* Do not share my personal information
You can’t perform that action at this time.