validatord_config.toml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. # Consensus accept address
  10. caccept = "0.0.0.0:12000"
  11. # Seed nodes
  12. #seeds = "127.0.0.1:11000"
  13. # Consensus seed nodes
  14. #cseeds = "127.0.0.1:12000"
  15. # Manual connections
  16. #connect = "127.0.0.1:11000"
  17. # Connection slots
  18. slots = 5
  19. # External address
  20. external = "127.0.0.1:11000"
  21. # Consensus external address
  22. cexternal = "127.0.0.1:12000"
  23. # Logfile path
  24. #log = "/tmp/darkfid.log"
  25. # The endpoint where validatord will bind its RPC socket
  26. rpc = "127.0.0.1:6660"
  27. # Whether to listen with TLS or plain TCP
  28. tls = false
  29. # Path to DER-formatted PKCS#12 archive. (Unused if serve_tls=false)
  30. # This can be created using openssl:
  31. # openssl pkcs12 -export -out validatord_identity.pfx -inkey key.pem -in cert.pem -certfile validator_certs.pem
  32. identity = "~/.config/darkfi/validatord_identity.pfx"
  33. # Password for the created TLS identity. (Unused if serve_tls=false)
  34. password = "FOOBAR"
  35. # Timestamp of the genesis block creation
  36. genesis = 1648383795
  37. # Path to the sled database folder
  38. database = "~/.config/darkfi/validatord_db_0"
  39. # Node ID, used only for testing
  40. id = 0