Blockchain import and export instructions

Lucas Saldanha edited this page Aug 8, 2018 · 5 revisions

Contents

Note: Binary format is concatenated RLP-encoded blocks

C++

Import:

aleth --import <filename>

Formats supported: binary

Export:

aleth --export Myfile --format binary --from 45 --to latest

Formats supported: hex (newlines separating), binary or human --from and --to also support blockhashes

Go

Import

geth import <filename>

Formats supported: binary

Genesis block:

geth init <filename>

Formats supported: json

Export

geth export <filename>

Formats supported: binary

Python

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.