ancient-store-s3

command module
v0.0.0-...-e4ebc04 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2020 License: Apache-2.0 Imports: 34 Imported by: 0

README

ancient-store-s3

Store your core-geth ancient block data on S3.

This program is a persistence manager for core-geth "ancient" block data using Amazon S3, and can be used as a replacement for the core-geth (and go-ethereum) default of persisting ancient data in local flat, compressed files.

Requirements

Setup Environment Variables

You'll need to use AWS's profile configuration strategies, eg. an ~/.aws/config file. Once you have a profile established for use, you can set the corresponding environment variable.

export AWS_REGION=us-east-1 
export AWS_PROFILE=developers-s3

Install

> git clone https://github.com/etclabscore/ancient-store-s3.git
> cd ancient-store-s3
> go build .
> ./ancient-store-s3 --help

Run ancient server

./ancient-store-s3 --ipcpath /path/to/ancient.ipc
Run core-geth with ancient RPC path
geth --ancient.rpc /path/to/ancient.ipc

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL