Tool for inserting the entire state and storage tries into PG-IPFS
Go to file
2022-02-17 14:34:54 +08:00
cmd create csv file publisher; update geth and schema 2022-02-14 07:22:31 +08:00
db/migrations remove diff unique constraint 2020-08-06 14:33:02 -05:00
environments Small fix. 2021-12-14 11:56:12 +05:30
fixture create csv file publisher; update geth and schema 2022-02-14 07:22:31 +08:00
pkg string, not ptr, as map index 2022-02-17 14:34:54 +08:00
test create csv file publisher; update geth and schema 2022-02-14 07:22:31 +08:00
.gitignore gitignore 2020-06-30 11:57:28 -05:00
go.mod create csv file publisher; update geth and schema 2022-02-14 07:22:31 +08:00
go.sum create csv file publisher; update geth and schema 2022-02-14 07:22:31 +08: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
Makefile create csv file publisher; update geth and schema 2022-02-14 07:22:31 +08:00
README.md Merge branch 'master' into async-traversal 2022-01-10 17:47:27 -06: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"
   ancient = "/Users/user/Library/Ethereum/geth/chaindata/ancient"

[snapshot]
   blockHeight = 0