Thin RPC wrapper around LevelDB to expose ethdb interface remotely
Go to file
2022-05-17 10:04:42 +05:30
cmd Update readme to run server 2022-05-09 13:01:34 +05:30
environments fin/fix CLI and ENV integration 2021-12-31 12:59:04 -06:00
pkg Move ModifyAncients together with other AncientWriter methods 2022-05-17 10:04:42 +05:30
version version 2021-12-30 15:56:07 -06:00
.gitignore Upgrade geth version 2022-05-09 15:50:27 +05:30
go.mod Upgrade geth version 2022-05-09 15:50:27 +05:30
go.sum Upgrade geth version 2022-05-09 15:50:27 +05:30
LICENSE boilerplate 2021-12-30 08:28:25 -06:00
main.go boilerplate 2021-12-30 08:28:25 -06:00
Makefile Upgrade geth version 2022-05-09 15:50:27 +05:30
README.md Update readme to run server 2022-05-09 13:01:34 +05:30

leveldb-ethdb-rpc

Thin RPC wrapper around LevelDB to expose data remotely

Setup

Run the following

make build

Create a config.toml file from example.toml file.

Update the config for path to geth leveldb and geth ancient database

[leveldb]
    path = "/path/to/eth/data/geth/chaindata" # $LEVELDB_PATH
    ancient = "/path/to/eth/data/geth/chaindata/ancient" # $LEVELDB_ANCIENT_PATH

Usage

After building the binary, run as

./leveldb-ethdb-rpc serve --config ./environments/config.toml