Tool for inserting the entire state and storage tries into PG-IPFS
Go to file
2022-01-07 21:32:45 -06:00
cmd number of workers instead of divide depth 2020-08-31 11:09:56 -05:00
db/migrations remove diff unique constraint 2020-08-06 14:33:02 -05:00
environments remove diff unique constraint 2020-08-06 14:33:02 -05:00
pkg/snapshot get it to compile 2022-01-07 21:32:45 -06:00
.gitignore gitignore 2020-06-30 11:57:28 -05:00
go.mod get it to compile 2022-01-07 21:32:45 -06:00
go.sum get it to compile 2022-01-07 21:32:45 -06:00
LICENSE cobra init 2020-06-30 11:53:18 -05:00
main.go use full timestamp in logging 2020-08-06 14:18:15 -05:00
README.md [wip] use new state iterator 2020-08-23 21:48:24 -05:00

eth-pg-ipfs-state-snapshot

Tool for extracting the entire Ethereum state at a particular block height from leveldb into Postgres-backed IPFS

Go Report Card

Usage

./eth-pg-ipfs-state-snapshot stateSnapshot --config={path to toml config file}

Config format:

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

[leveldb]
    path = "/Users/user/Library/Ethereum/geth/chaindata"
    # path for geth's "freezer" archive
    ancient = "/Users/user/Library/Ethereum/geth/chaindata"

[snapshot]
    blockHeight = 0
    divideDepth = 1