Guest User

Untitled

a guest
Apr 8th, 2018
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.24 KB | None | 0 0
  1. #I'm using this for the start command: sudo -u sawtooth sawtooth-validator -vv
  2. #Here is the toml file for the machine with the genesis block...the only difference on the other machines is bind
  3. #(network) and endpoint are set to their own ip address.
  4.  
  5. # Sawtooth -- Validator Configuration
  6. #
  7.  
  8. # This file should exist in the defined config directory and allows
  9. # validators to be configured without the need for command line options.
  10.  
  11. # The following is a possible example.
  12.  
  13. # Bind is used to set the network and component endpoints. It should be a list
  14. # of strings in the format "option:endpoint", where the options are currently
  15. # network and component.
  16. bind = [
  17. # "network:tcp://127.0.0.1:8800",
  18. "component:tcp://127.0.0.1:4004"
  19. "network:tcp://10.10.10.100:8800",
  20. # "component:tcp://10.10.10.100:4400",
  21. # "network:tcp://127.0.0.2:8800",
  22. # "component:tcp://127.0.0.2:4004",
  23. # "network:tcp://10.10.10.3:8800",
  24. # "component:tcp://10.10.10.3:4400",
  25. ]
  26.  
  27. # The type of peering approach the validator should take. Choices are 'static'
  28. # which only attempts to peer with candidates provided with the peers option,
  29. # and 'dynamic' which will do topology buildouts. If 'dynamic' is provided,
  30. # any static peers will be processed first, prior to the topology buildout
  31. # starting.
  32. peering = "static"
  33.  
  34.  
  35. # Advertised network endpoint URL.
  36. endpoint = "tcp://10.10.10.100:8800"
  37.  
  38. # Uri(s) to connect to in order to initially connect to the validator network,
  39. # in the format tcp://hostname:port. This is not needed in static peering mode
  40. # and defaults to None.
  41. # seeds = ["tcp://127.0.0.100:8801","tcp://10.10.10.102:8801","tcp://10.10.10.103:8801"]
  42.  
  43. # A list of peers to attempt to connect to in the format tcp://hostname:port.
  44. # It defaults to None.
  45. peers = ["tcp://10.10.10.103:8800","tcp://10.10.10.102:8800"]
  46.  
  47. # The type of scheduler to use. The choices are 'serial' or 'parallel'.
  48. scheduler = 'serial'
  49.  
  50.  
  51. # A Curve ZMQ key pair are used to create a secured network based on side-band
  52. # sharing of a single network key pair to all participating nodes.
  53. # Note if the config file does not exist or these are not set, the network
  54. # will default to being insecure.
  55. network_public_key = 'wFMwoOt>yFqI/ek.G[tfMMILHWw#vXB[Sv}>l>i)'
  56. network_private_key = 'r&oJ5aQDj4+V]p2:Lz70Eu0x#m%IwzBdP(}&hWM*'
  57.  
  58. # The host and port for Open TSDB database used for metrics
  59. # opentsdb_url = ""
  60.  
  61. # The name of the database used for storing metrics
  62. # opentsdb_db = ""
  63.  
  64. # opentsdb_username = ""
  65.  
  66. # opentsdb_password = ""
  67.  
  68. # The type of authorization that must be performed for the different type of
  69. # roles on the network. The different supported authorization types are "trust"
  70. # and "challenge". The default is "trust".
  71. [roles]
  72. network = "trust"
  73.  
  74. # Any off-chain transactor permission roles. The roles should match the roles
  75. # stored in state for transactor permissioning. Due to the roles having . in the
  76. # key, the key must be wrapped in quotes so toml can process it. The value
  77. # should be the file name of a policy stored in the policy_dir.
  78. #[permissions]
  79. #transactor = "policy.example"
  80. #"transactor.transaction_signer" = "policy.example"
  81.  
  82. # The minimum number of peers required before stopping peer search.
  83. minimum_peer_connectivity = 1
  84.  
  85. # The maximum number of peers that will be accepted.
  86. maximum_peer_connectivity = 3
Add Comment
Please, Sign In to add comment