Skip to content

fireflyblock/ticket-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ticket-stats

创建

go build -o ticket main.go

环境变量

//指定结果写入的文件位置
export OUTPUT_FILE="./stats.out"
//lotus                                                                               
export LOTUS_HOST="http://ip:port/rpc/v0"
//lotus api sign权限的token,用于计算VRF
export LOTUS_SIGN_TOKEN="eyJhbGciOiJIUzI1NiIsInR..........."

运行

  1. 根据时间

     ./ticket stats time --miner f0419945 --start 2021-05-24T00:00:00 --end 2021-05-24T16:21:00
  2. 根据高度

     ./ticket stats epoch --miner=f0419945 --start 780000 --end 784000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published