validatord_config.toml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. ## validatord configuration file
  2. ##
  3. ## Please make sure you go through all the settings so you can configure
  4. ## your daemon properly.
  5. # Configuration file to use
  6. config = "~/.config/darkfi/validatord_config.toml"
  7. # Accept address
  8. accept = "0.0.0.0:11000"
  9. # Seed nodes
  10. #seeds = "127.0.0.1:11000"
  11. # Manual connections
  12. #connect = "127.0.0.1:11000"
  13. # Connection slots
  14. slots = 5
  15. # External address
  16. external = "127.0.0.1:11000"
  17. # Logfile path
  18. #log = "/tmp/darkfid.log"
  19. # The endpoint where validatord will bind its RPC socket
  20. rpc = "127.0.0.1:6660"
  21. # Whether to listen with TLS or plain TCP
  22. tls = false
  23. # Path to DER-formatted PKCS#12 archive. (Unused if serve_tls=false)
  24. # This can be created using openssl:
  25. # openssl pkcs12 -export -out validatord_identity.pfx -inkey key.pem -in cert.pem -certfile validator_certs.pem
  26. identity = "~/.config/darkfi/validatord_identity.pfx"
  27. # Password for the created TLS identity. (Unused if serve_tls=false)
  28. password = "FOOBAR"
  29. # Path to the state file
  30. state = "~/.config/darkfi/validatord_state_0"
  31. # Node ID, used only for testing
  32. id = 0