Uses ipfs-ethdb to validate completeness of IPFS Ethereum state data
Go to file
2020-06-25 15:29:53 -05:00
cmd go mod; goimports -w 2020-06-25 15:15:47 -05:00
pkg validator 2020-06-25 15:11:50 -05:00
.gitignore init repo 2020-06-25 15:11:39 -05:00
go.mod go mod; goimports -w 2020-06-25 15:15:47 -05:00
go.sum go mod; goimports -w 2020-06-25 15:15:47 -05:00
LICENSE init repo 2020-06-25 15:11:39 -05:00
main.go command 2020-06-25 15:12:02 -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