name | category |
---|---|
Blockchain Import/Export |
Note: Binary format is concatenated RLP-encoded blocks
eth --import <filename>
Formats supported: binary
eth --export Myfile --format binary --from 45 --to latest
Formats supported: hex (newlines separating), binary or JSON
--from
and --to
also support blockhashes
geth import <filename>
Formats supported: binary
geth --genesis <filename> --genesisnonce <nonce>
Formats supported: json
geth export <filename>
Formats supported: binary