Skip to content

ipfs-force-community/power-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Filecoin Power Statistics Tool

Summary

This tool is used to calculate the market share of different filecoin implementations. For more detail.

Usage

Build

go build

Run

Run with:

./power-stats --node=ws://<ip>:<port>/rpc/v1 \
--token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...0UY2Zuf0OGyuLLFXttOwb2EPSyK1745m2qe41EOCN1Q 

The output look like this:

Total 603988 miners on chain
It may take a few minutes ...


Venus QAP: 1.07 EiB
Lotus QAP: 8.606 EiB
Proportion of Venus: 11.061%

The results can be different between different machine, because the connection to other sp will be affected by network environment.

Options

You can set log level or set concurrency by cli flag. Run ./power-stats --help for more detail. And you will get more info about per miner to set log level to info or debug.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages