Skip to content

dominant-strategies/iron-age-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quai Iron Age Block Mined Script

A tool to analyze blocks mined across different zones in the Quai Network in Iron Age.

Prerequisites

  • Go 1.22 or later
  • Quai Network chain data

Installation

  1. Clone this repository:
git clone <repository-url>
cd blocks-mined
  1. Install dependencies:
go mod tidy

Usage

  1. Build the binary:
go build -o blocks-mined
  1. Run the analysis:
./blocks-mined /path/to/quai/backup/root

The script will:

  • Process blocks from epoch 1 (blocks 1-600000)
  • Process blocks from epoch 2 (blocks 600001-1200000)
  • Generate two CSV files with mining statistics:
    • epoch1_miners.csv
    • epoch2_miners.csv

Output Format

The CSV files contain the following columns:

  • Zone: The Quai zone name
  • Miner Address: The ethereum address that mined the block
  • Blocks Mined: Number of blocks mined by that address in that zone

Directory Structure

.
├── main.go           # Main script
├── go.mod           # Go module file
├── go.sum           # Go module checksum
├── README.md        # This file
└── .gitignore       # Git ignore file

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages