Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
liaoyd committed Apr 20, 2020
1 parent 51a3cbe commit bbd5355
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pchaindoc/source/FAQ/node.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ Open it with your familiar editor, you will see something like this:
Comment out this two line with symbol '#', and save file.

2.download the package

If you are running mainchain only please run:
::
cd ~/pchain
Expand All @@ -175,6 +176,7 @@ If you are running main chain and child chain please run:
::
rm -r .pchain
5.replace datadir

If you are running mainchain only please run:
::
cd ~/pchain
Expand All @@ -184,6 +186,7 @@ If you are running main chain and child chain please run:
cd ~/pchain
tar -xzf blockDataWithChild.tar.gz
6.copy your priv_validator.json

If you are running mainchain only please run:
::
cp youpathway/priv_validator.json ~/pchain/.pchain/pchain/
Expand Down
3 changes: 3 additions & 0 deletions pchaindoc/source/FAQ_zh/faq_zh.rst
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ pchain官方提供了一个数据包,请备份好你的priv_validator.json和k
保存好以后退出。

2.下载官方数据包

如果你只跑了主链:
::
cd ~/pchain
Expand All @@ -197,6 +198,7 @@ pchain官方提供了一个数据包,请备份好你的priv_validator.json和k
::
rm -r .pchain
5.替换官方数据包

如果你只跑了主链:
::
cd ~/pchain
Expand All @@ -206,6 +208,7 @@ pchain官方提供了一个数据包,请备份好你的priv_validator.json和k
cd ~/pchain
tar -xzf blockDataWithChild.tar.gz
6.放置你的priv_validator.json

如果你只跑了主链:
::
cp youpathway/priv_validator.json ~/pchain/.pchain/pchain/
Expand Down

0 comments on commit bbd5355

Please sign in to comment.