Skip to content
This repository was archived by the owner on Oct 28, 2021. It is now read-only.

Commit 6f38066

Browse files
authored
Merge pull request #4825 from ethereum/udate-snapshot-manual
Update snapshot download instructions
2 parents 8a0f6ad + e04a071 commit 6f38066

File tree

1 file changed

+7
-15
lines changed

1 file changed

+7
-15
lines changed

doc/snapshot_sync.rst

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,30 @@
11
Using snapshot sync
22
===============
33

4-
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.
4+
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 January 2018.
55

66
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``
77

88
Downloading the snapshot
99
------
1010

11-
1. Build cpp-ethereum from the ``snapshot-download`` branch
11+
1. Start downloading providing the path to the directory to save the snapshot into
1212
::
13-
git checkout snapshot-download
14-
git submodule update
15-
make eth
13+
eth/eth --download-snapshot SNAPSHOT_DIR -v 9
1614

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)
15+
If it doesn't find the peer to download from, you can also provide the address of a running node with main net snapshot (can be a Parity node or a cpp node with imported snapshot)
1816
::
1917
eth/eth --download-snapshot SNAPSHOT_DIR -v 9 --peerset required:493d52068ec72230688da539926f47a452b762bc348d2ab1491f399b532186d71d7c512e09ffb8e9c24d292d064c00f6234ef1221bc0d86093d2de32358d33da@52.169.85.130:30303 --pin --no-discovery
2018

2119
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
2220

23-
3. Exit (Ctrl-C) when it says ``Snapshot download complete!``
21+
2. Exit (Ctrl-C) when it says ``Snapshot download complete!``
2422

2523
Importing the snapshot
2624
------
2725

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
26+
1. Start importing the snapshot providing the path to the snapshot directory
3527
::
3628
eth/eth --import-snapshot SNAPSHOT_DIR -v 8
3729

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.
30+
2. 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

Comments
 (0)