Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

ReadSI (read storage incentives)

Utilizes the swarm-scanner to output a human-readable breakdown of the storage incentives.

General Usage

go run main.go --since=6h --cmd=redistribution|stake|postage|reward

Redistribution

Either time or round number can be provided as a starting point.

go run main.go --since=6h --countries=true --cmd=redistribution

go run main.go --since-round=227000 --cmd=redistribution

Alt text

Generate snapshots of all frozen nodes

Capture all frozen nodes in a file.

go run main.go --since=24h --cmd=redistribution | grep loser | awk '{print $2}' > ./losers.txt

cat losers.txt | while read overlay; do curl -s https://api.swarmscan.io/v1/network/nodes/$overlay | jq 'del(.peers)'; done > loser-status.txt