Post
Topic
Board Altcoin Discussion
Re: Run Your Own P2P Decentralised Exchange Node
by
iHashFury
on 24/03/2016, 13:04:51 UTC
To update the P2P Decentralised Exchange Node (hard fork)

Ctrl+d to close cli_wallet (if your running it)
Ctrl+c to close the witness_node

Then run the following code to update:
Code:
# update the P2P node software (fork update)
cd bitshares-2
git checkout bitshares
git describe --tags
git submodule update --init --recursive
make clean
cmake -D CMAKE_BUILD_TYPE=Release .
make witness_node cli_wallet

for easy blockchain startup:
Code:
#mkdir ~/bin
strip ./programs/witness_node/witness_node
strip ./programs/cli_wallet/cli_wallet
cp ./programs/witness_node/witness_node ~/bin
cp ./programs/cli_wallet/cli_wallet ~/bin

then restart  the P2P Decentralised Exchange Node:
Code:
#in git folder
~/bitshares-2/programs/witness_node/witness_node --rpc-endpoint "127.0.0.1:8090" # will allow only your computer's wallet to connect to the blockchain

# or if you copied witness_node to your bin folder for easy blockchain startup
# cd to your bts folder
cd ~/bts
witness_node --rpc-endpoint "127.0.0.1:8090"

Your witness_node should replay the blockchain for the hard fork