dexon-foundation / dexon-consensus
- воскресенье, 5 мая 2019 г. в 00:17:23
Go
DEXON consensus Implementation & Simulation
Clone the repo
git clone https://github.com/dexon-foundation/dexon-consensus.git
cd dexon-consensus
Setup GOPATH, the GOPATH could be anywhere in the system. Here we use $HOME/go:
export GOPATH=$HOME/go
export PATH=$GOPATH/bin:$PATH
You should write these settings to your .bashrc file.
Install go dependency management tool
./bin/install_tools.sh
Install all dependencies
dep ensure
make pre-submit
./test.tomldexon-simulationmake
dexcon-simulation -config test.toml -init
./test.tomldexon-simulation-with-schedulermake
dexcon-simulation-with-scheduler -config test.toml