Tool for inserting the entire state and storage tries into PG-IPFS
a99d0a5ad6
Create CSV file publisher with updated schema |
||
---|---|---|
cmd | ||
db/migrations | ||
environments | ||
fixture | ||
pkg | ||
test | ||
.gitignore | ||
go.mod | ||
go.sum | ||
LICENSE | ||
main.go | ||
Makefile | ||
README.md |
eth-pg-ipfs-state-snapshot
Tool for extracting the entire Ethereum state at a particular block height from leveldb into Postgres-backed IPFS
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