"bitshare" - Views: 466 · Hits: 466 - Type: Public

git clone https://github.com/bitshares/bitshares-2
git submodule update --init --recursive
ll
mkdir BitShare
mv -R bitshares-2/ BitShare/.
mv -R bitshares-2/ BitShare/bitshare-2
mv bitshares-2/ BitShare/bitshare-2
cd BitShare/
cd bitshare-2/
git submodule update --init --recursive
sudo apt-get install gcc-4.9 g++-4.9 cmake make                      libbz2-dev libdb++-dev libdb-dev                      libssl-dev openssl libreadline-dev                      autoconf libtool git
git remote set-url origin https://github.com/bitshares/bitshares-core.git
git checkout master
git remote set-head origin --auto
git pull
git submodule sync --recursive
git submodule update --init --recursive
sudo apt-get update
sudo apt-get install autoconf cmake git libboost-all-dev libssl-dev g++ libcurl4-openssl-dev
ll
cd ..
git clone https://github.com/bitshares/bitshares-core.git
cd bitshares-core
git checkout 2.0.171212
git checkout <LATEST_RELEASE_TAG>
git help checkout 
git checkout -t  2.0.171212
git help checkout 
git checkout refs/tags/2.0.171212
git submodule update --init --recursive
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .
make
./programs/witness_node/witness_node 
./programs/witness_node/witness_node --max-per-account 100 --partial-operations true
./programs/witness_node/witness_node --max-ops-per-account 100 --partial-operations true
du
du --help
du -h -d 1
ll ./witness_node_data_dir/
ll ./witness_node_data_dir/blockchain/
du -h -d 1 ./witness_node_data_dir/blockchain/
ll
zip -R witness_node_data_dir/
zip  witness_node_data_dir/
zip -r witness_node_data_dir.zip witness_node_data_dir/
ll
tar cvJf witness_node_data_dir.tar.xz witness_node_data_dir/
ll
rm witness_node_data_dir.tar.xz 
sudo apt install pxz
sudo apt install pxz pigz pbzip2
tar cvJf witness_node_data_dir.tar.xz witness_node_data_dir/ --use-compress-prog=pxz 
tar cvJf witness_node_data_dir.tar.xz witness_node_data_dir/ --use-compress-prog=pxz
tar --help
tar cvJf --use-compress-prog=pxz witness_node_data_dir.tar.xz witness_node_data_dir/
tar cvJf witness_node_data_dir.tar.xz --use-compress-prog=pxz witness_node_data_dir/
tar cvJf --use-compress-prog=pxz witness_node_data_dir.tar.xz witness_node_data_dir/
tar cJvf witness_node_data_dir.tar.xz --use-compress-prog=pixz witness_node_data_dir/
tar --help
tar cvJf --use-compress-prog=pxz witness_node_data_dir.tar.xz witness_node_data_dir/
ll
tar cvJf --use-compress-prog=pixz witness_node_data_dir.tar.xz witness_node_data_dir/
tar cvJf witness_node_data_dir.tar.xz witness_node_data_dir/
ll
ll -h
exit