Skip to content

ChainSafe/filecoin-archive-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Small tool to test heigth difference in existing Filecoin Snapshot Archive

To use the tool you will need to define environment variables with secrets

R2_ACCOUNT_ID=
R2_ACCESS_KEY_ID=
R2_SECRET_ACCESS_KEY=

And you can pass some program arguments to adjust height and prefix you are looking for

Usage of filecoin-archive-test:
  -bucket string
        R2 bucket name (can also be set via R2_BUCKET_NAME env var) (default "infra-team-filecoin-archive")
  -max-height-diff int
        Expected maximum difference between consecutive snapshot heights to detect anomalies (default 300)
  -prefix string
        Object prefix to list (default "mainnet/latest")

About

Small utility to test height difference between Filecoin archive snapshots

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages