Installation/Confguration of Witness

Installation/Confguration of Witness

Fork CNX’s code base

git clone
mv graphene/ graphene-testnet
cd graphene-testnet/
git branch testnet
git remote set-url origin
git push origin testnet

Installation according to Building from Sources


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:

The full changeset can be seen in the corresponding git commit

Initial Compilation

cmake .

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