Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #I'm using this for the start command: sudo -u sawtooth sawtooth-validator -vv
- #Here is the toml file for the machine with the genesis block...the only difference on the other machines is bind
- #(network) and endpoint are set to their own ip address.
- # Sawtooth -- Validator Configuration
- #
- # This file should exist in the defined config directory and allows
- # validators to be configured without the need for command line options.
- # The following is a possible example.
- # Bind is used to set the network and component endpoints. It should be a list
- # of strings in the format "option:endpoint", where the options are currently
- # network and component.
- bind = [
- # "network:tcp://127.0.0.1:8800",
- "component:tcp://127.0.0.1:4004"
- "network:tcp://10.10.10.100:8800",
- # "component:tcp://10.10.10.100:4400",
- # "network:tcp://127.0.0.2:8800",
- # "component:tcp://127.0.0.2:4004",
- # "network:tcp://10.10.10.3:8800",
- # "component:tcp://10.10.10.3:4400",
- ]
- # The type of peering approach the validator should take. Choices are 'static'
- # which only attempts to peer with candidates provided with the peers option,
- # and 'dynamic' which will do topology buildouts. If 'dynamic' is provided,
- # any static peers will be processed first, prior to the topology buildout
- # starting.
- peering = "static"
- # Advertised network endpoint URL.
- endpoint = "tcp://10.10.10.100:8800"
- # Uri(s) to connect to in order to initially connect to the validator network,
- # in the format tcp://hostname:port. This is not needed in static peering mode
- # and defaults to None.
- # seeds = ["tcp://127.0.0.100:8801","tcp://10.10.10.102:8801","tcp://10.10.10.103:8801"]
- # A list of peers to attempt to connect to in the format tcp://hostname:port.
- # It defaults to None.
- peers = ["tcp://10.10.10.103:8800","tcp://10.10.10.102:8800"]
- # The type of scheduler to use. The choices are 'serial' or 'parallel'.
- scheduler = 'serial'
- # A Curve ZMQ key pair are used to create a secured network based on side-band
- # sharing of a single network key pair to all participating nodes.
- # Note if the config file does not exist or these are not set, the network
- # will default to being insecure.
- network_public_key = 'wFMwoOt>yFqI/ek.G[tfMMILHWw#vXB[Sv}>l>i)'
- network_private_key = 'r&oJ5aQDj4+V]p2:Lz70Eu0x#m%IwzBdP(}&hWM*'
- # The host and port for Open TSDB database used for metrics
- # opentsdb_url = ""
- # The name of the database used for storing metrics
- # opentsdb_db = ""
- # opentsdb_username = ""
- # opentsdb_password = ""
- # The type of authorization that must be performed for the different type of
- # roles on the network. The different supported authorization types are "trust"
- # and "challenge". The default is "trust".
- [roles]
- network = "trust"
- # Any off-chain transactor permission roles. The roles should match the roles
- # stored in state for transactor permissioning. Due to the roles having . in the
- # key, the key must be wrapped in quotes so toml can process it. The value
- # should be the file name of a policy stored in the policy_dir.
- #[permissions]
- #transactor = "policy.example"
- #"transactor.transaction_signer" = "policy.example"
- # The minimum number of peers required before stopping peer search.
- minimum_peer_connectivity = 1
- # The maximum number of peers that will be accepted.
- maximum_peer_connectivity = 3
Add Comment
Please, Sign In to add comment