Tool for inserting the entire state and storage tries into PG-IPFS
Go to file
Ian Norden da0157a64b
Merge pull request #2 from vulcanize/snapshot
use only blocknumber; minor changes
2020-07-15 22:11:17 -05:00
cmd use only blocknumber; minor changes 2020-07-15 22:09:16 -05:00
environments use only blocknumber; minor changes 2020-07-15 22:09:16 -05:00
pkg/snapshot use only blocknumber; minor changes 2020-07-15 22:09:16 -05:00
.gitignore gitignore 2020-06-30 11:57:28 -05:00
go.mod go modules 2020-07-01 14:10:44 -05:00
go.sum go modules 2020-07-01 14:10:44 -05:00
LICENSE cobra init 2020-06-30 11:53:18 -05:00
main.go cobra init 2020-06-30 11:53:18 -05:00
README.md use only blocknumber; minor changes 2020-07-15 22:09:16 -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"

[snapshot]
    blockHeight = 0