Skip to content

Instantly share code, notes, and snippets.

askmish / gist:a23bde6f2e59e4256be8afe965a9166b
Created March 27, 2018 13:24
How to setup two validators in a network - dev_mode - sawtooth components running as a service
In a multi validator setup, one node should be genesis and the rest of the nodes would be peering from genesis node or each other.
Here, we'll setup a two validator network, i.e. two nodes - one a genesis validator and the other a peer validator
We'll use the default dev_mode consensus and the sawtooth components will run as a service.
Step-by-step setting up the genesis validator:(A fresh ubuntu 16.04 LTS x64 machine)
# add the sawtooth repo in apt
sudo apt-key adv --keyserver hkp:// --recv-keys 8AA7AF1F1091A5FD