Slow down extract to prevent too much power draw
This commit is contained in:
parent
89e4a7d197
commit
0f2baf2cd9
|
@ -18,7 +18,7 @@ echo "quicksync_copy" > $MYNODE_DIR/.mynode_status
|
||||||
rm -rf $MYNODE_DIR/bitcoin/blocks/
|
rm -rf $MYNODE_DIR/bitcoin/blocks/
|
||||||
rm -rf $MYNODE_DIR/bitcoin/chainstate/
|
rm -rf $MYNODE_DIR/bitcoin/chainstate/
|
||||||
#tar -xvf $QUICKSYNC_DIR/blockchain*.tar.gz -C $MYNODE_DIR/bitcoin/ --dereference
|
#tar -xvf $QUICKSYNC_DIR/blockchain*.tar.gz -C $MYNODE_DIR/bitcoin/ --dereference
|
||||||
pv -L 15m $QUICKSYNC_DIR/blockchain*.tar.gz | tar xzvf - -C $MYNODE_DIR/bitcoin/ --dereference
|
pv -L 10m $QUICKSYNC_DIR/blockchain*.tar.gz | tar xzvf - -C $MYNODE_DIR/bitcoin/ --dereference
|
||||||
|
|
||||||
# Mark quicksync complete and give BTC a few minutes to startup with its new data
|
# Mark quicksync complete and give BTC a few minutes to startup with its new data
|
||||||
touch $QUICKSYNC_DIR/.quicksync_complete
|
touch $QUICKSYNC_DIR/.quicksync_complete
|
||||||
|
|
Loading…
Reference in New Issue
Block a user