geth saves its internal states for the main network in the chaindata directory. You can find it in the directory:
It uses the LevelDB database. You can save this directory only if geth is stopped to prevent corruptions. The data is portable on Linux, Windows and MacOS X (i have checked). But you have to remember that it is not a safe way. Do not use a chaindata archives provided by anonymous. The transactions are not checked! When geth starts, it checks all the files are present. If a .ldb file misses, the chaindata directory is corrupted and you have to remove this directory! geth import and export is safe but slow because all transactions are checked and the operation is the same as geth without the --fast flag. On my 3720qm, it is 5h and 19Go disk storage used. The only economy is the network download (1.5Go). It is faster to do a geth --fast! On my intel 3720qm mac mini (1Gbit/s), some benchs geth 1.4:
On my intel 3720qm mac mini (1Gbit/s), some benchs geth 1.5 (in dev):
Conclusion:
|
|