update README.md

This commit is contained in:
Svyatoslav Nikolsky 2019-03-12 13:10:06 +03:00
parent 668dc9e620
commit 61a3aad36d
1 changed files with 9 additions and 7 deletions

View File

@ -101,7 +101,7 @@ cargo test --all
By default parity connects to Zcash seednodes. Full list is [here](./pzec/seednodes.rs). By default parity connects to Zcash seednodes. Full list is [here](./pzec/seednodes.rs).
To start syncing the main network, just start the client, passing selected fork flag. For example: To start syncing the main network, just start the client. For example:
``` ```
./target/release/pzec ./target/release/pzec
@ -121,17 +121,19 @@ To not print any syncing progress add `--quiet` flag:
## Importing zcashd database ## Importing zcashd database
It it is possible to import existing `bitcoind` database: It it is possible to import existing `zcashd` database:
``` ```
# where $BITCOIND_DB is path to your bitcoind database, e.g., "/Users/user/Library/Application Support" # where $ZCASH_DB is path to your zcashd database. By default:
./target/release/pzec import "$BITCOIND_DB/Bitcoin/blocks" # on macOS: "/Users/user/Library/Application Support/Zcash"
# on Linux: "~/.zcash"
./target/release/pzec import "$ZCASH_DB/blocks"
``` ```
By default import verifies imported the blocks. You can disable this, by adding `--verification-level==none` flag. By default import verifies imported the blocks. You can disable this, by adding `--verification-level=none` flag.
``` ```
./target/release/pzec import "#BITCOIND_DB/Bitcoin/blocks" --verification-level==none ./target/release/pzec import "$ZCASH_DB/blocks" --verification-level=none
``` ```
## Command line interface ## Command line interface