-
Clone the repo
git clone https://github.com/tangerine-network/tangerine-consensus.git cd tangerine-consensus -
Setup GOPATH, the GOPATH could be anywhere in the system. Here we use
$HOME/go:export GOPATH=$HOME/go export PATH=$GOPATH/bin:$PATHYou should write these settings to your
.bashrcfile.
-
Install go dependency management tool
./bin/install_tools.sh -
Install all dependencies
dep ensure
make pre-submit
- Setup the configuration under
./test.toml - Compile and install the cmd
dexon-simulation
make
- Run simulation:
dexcon-simulation -config test.toml -init
- Setup the configuration under
./test.toml - Compile and install the cmd
dexon-simulation-with-scheduler
make
- Run simulation with scheduler:
dexcon-simulation-with-scheduler -config test.toml