This recipe will demonstrate how to configure the Hyperledger Sawtooth validator, the REST API, and much more.
Configuring Hyperledger Sawtooth
How to do it...
Execute the following steps to configure Hyperledger Sawtooth
- The Sawtooth validator default configuration file can be found at /etc/sawtooth/validator.toml. To set the network bind port and other component bind ports, use the following command:
bind = [
"network:tcp://127.0.0.1:8800",
"component:tcp://127.0.0.1:4004"
]
- To set the peer discovery type and peer validator nodes, enter the following:
peering = "static"
peers = ["tcp://127.0.0.1:8801"]
- You can find the Sawtooth REST API service default configurations...