Uses ipfs-ethdb to validate completeness of IPFS Ethereum state data
Go to file
2020-06-25 15:11:39 -05:00
.gitignore init repo 2020-06-25 15:11:39 -05:00
LICENSE init repo 2020-06-25 15:11:39 -05:00
README.md init repo 2020-06-25 15:11:39 -05:00

eth-ipfs-state-validator

Uses pg-ipfs-ethdb to validate completeness of Ethereum state data on PG-IPFS

Usage

Run

./eth-ipfs-state-validator validateTrie --root={state root string} --config={path to .toml config file}

With root as the state root hash we want to validate the corresponding trie for. The config file holds the parameters for connecting to the IPFS-backing Postgres database.

[database]
    name     = "vulcanize_public"
    hostname = "localhost"
    user     = "postgres"
    password = ""
    port     = 5432