7

So, I want to migrate to gain disk space thanks to blockchain pruning (it seems that it goes from ~11.4 GiB to ~3.3 GiB) and try the difference of sync speed.

Is this already documented somewhere? (how to jump from the different ethereum implementations)

Is there something else than the private keys that might need to be migrated? If so, how to proceed?

  • You can run geth export to export the blockchain data using geth. But I don't know if parity can import the exported file though. – Loi.Luu Apr 1 '16 at 11:10
  • And the private keys? – Clovis Apr 20 '16 at 20:30
  • While certainly not ideal, another way to get rid of so much storage is to rm -rf $ETHEREUM_DATADIR/chaindata and restart with geth --fast, that should reduce the disk usage significantly. – Jeffrey W. Apr 23 '16 at 13:28
3

Nothing special needs to be done. Private keys will be imported automatically.

On a typical machine, it will take around 1 hour to sync with the network.

  • They import the keys? Pretty cool. – Afr Apr 26 '16 at 8:47
4

No, you cannot import/export blockchain between geth and parity. However you can import/export wallets between clients.

To import to geth you can actually try the --fast command with geth. If it is to parity its only less than 2GB the entire blockchain.

  • Do you have a source for this? Other comments/examples here say you can migrate blockchain data between geth & parity – xref Sep 18 '18 at 17:56
3

This is documented at https://wiki.parity.io/Importing-a-Chain-from-Geth.html

In essence, you can create a fifo using mkfifo, and then run

geth export /tmp/yourfifo

Put that in the background, and import to parity using

parity import /tmp/yourfifo

This is for the blockchain itself, not the wallet (from my understanding).

  • looks like the primary question is about keys, perhaps should address that. – Paul S Sep 20 '16 at 18:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.