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.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 28, 2021. It is now read-only.
Snapshot sync feature is still work in progress and currently is not very user-friendly yet. These are the instructions to make it work with the main net as of December 2017.
5
+
6
+
If you have Parity installed, alternative to the `Downloading snapshot` steps below is to get it from the directory like ``Parity/Ethereum/chains/ethereum/db/906a34e69aec8c0d/snapshot``
7
+
8
+
Downloading the snapshot
9
+
------
10
+
11
+
1. Build cpp-ethereum from the ``snapshot-download`` branch
12
+
::
13
+
git checkout snapshot-download
14
+
git submodule update
15
+
make eth
16
+
17
+
2. Start downloading providing the path to the directory to save the snapshot into and the address of a running node with main net snapshot (can be a Parity node or a cpp node with imported snapshot)
The one above is cpp node, if it doesn't work try one of the Parity boot nodes from https://github.com/paritytech/parity/blob/master/ethcore/res/ethereum/foundation.json#L176
22
+
23
+
3. Exit (Ctrl-C) when it says ``Snapshot download complete!``
24
+
25
+
Importing the snapshot
26
+
------
27
+
28
+
1. Build cpp-ethereum from the latest ``develop`` branch
29
+
::
30
+
git checkout develop
31
+
git submodule update
32
+
make eth
33
+
34
+
2. Start importing the snapshot providing the path to the snapshot directory
35
+
::
36
+
eth/eth --import-snapshot SNAPSHOT_DIR -v 8
37
+
38
+
3. After import is complete, it will automatically switch to regular sync process to get the blocks between snapshot and the current chain head.
0 commit comments