Installation/Confguration of Witness

Installation/Confguration of Witness

Fork CNX’s code base

git clone https://github.com/cryptonomex/graphene
mv graphene/ graphene-testnet
cd graphene-testnet/
git branch testnet
git remote set-url origin https://github.com/BitSharesEurope/graphene-testnet
git push origin testnet

Installation according to Building from Sources

Configuration

Blockchain Parameters

The blockchain parameters can be modified in the libraries/chain/include/graphene/chain/config.hpp file:

vim libraries/chain/include/graphene/chain/config.hpp

Default Seed Node List

We can add a default list of seed nodes that the witness is supposed to try to connect to in libraries/app/application.cpp and will add the IP/Address and port of the machine we are going to setup later already:

testnet.bitshares.eu:11010

The full changeset can be seen in the corresponding git commit

Initial Compilation

cmake .
make

We first need to compile the graphene toolkit so that we can let it generate a plain genesis file in the proper format.