From ff324e0fdbc29aef46367fa7d8be68529642e8b2 Mon Sep 17 00:00:00 2001 From: Roy Lee Date: Sun, 14 Aug 2022 14:17:41 -0700 Subject: [PATCH] doc: update snapshot related instructions --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4c3116d9..ee8f1c53 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ If no config is found, it creates a [default one](sample-lbcd.conf), which inclu ### RPC server -RPC credentials (`rpcuser` and `rpcpass`) is required to enable RPC server. It can be specify in the `"${LBCDIR}/lbcd.conf"`, using command line options: +RPC credentials (`rpcuser` and `rpcpass`) is required to enable RPC server. It can be specify in the `"${LBCDDIR}/lbcd.conf"`, using command line options: ``` sh ./lbcd --rpcuser=rpcuser --rpcpass=rpcpass @@ -138,7 +138,7 @@ Download the snapshot, and uncompress it: ``` sh time curl -O https://snapshots.lbry.com/blockchain/lbcd_snapshot_1199527_v0.22.105_2022-07-27.tar.zst -zstd -d lbcd_snapshot_1199527_v0.22.105_2022-07-27.tar.zst | tar xf - -C "${LBCDIR}" +zstd -d --stdout lbcd_snapshot_1199527_v0.22.105_2022-07-27.tar.zst | tar xf - -C "${LBCDDIR}" ``` If preferred, a user can download and uncompress the snapshot on the fly: @@ -147,7 +147,7 @@ By the time the download is finished, the snapshots should be almost uncompresse ``` sh mkdir -p "${LBCDDIR}" -time curl https://snapshots.lbry.com/blockchain/lbcd_snapshot_1199527_v0.22.105_2022-07-27.tar.zst | zstd -d | tar xf - -C "${LBCDIR}" +time curl https://snapshots.lbry.com/blockchain/lbcd_snapshot_1199527_v0.22.105_2022-07-27.tar.zst | zstd -d --stdout | tar xf - -C "${LBCDDIR}" # % Total % Received % Xferd Average Speed Time Time Time Current # Dload Upload Total Spent Left Speed