|
|
@@ -4,37 +4,43 @@
|
|
|
## your daemon properly.
|
|
|
|
|
|
# Configuration file to use
|
|
|
-config = "validatord_config.toml"
|
|
|
+config = "~/.config/darkfi/validatord_config.toml"
|
|
|
|
|
|
# Accept address
|
|
|
-accept = "0.0.0.0:9999"
|
|
|
+accept = "0.0.0.0:11000"
|
|
|
|
|
|
# Seed nodes
|
|
|
-#seeds = "127.0.0.1:9999"
|
|
|
+#seeds = "127.0.0.1:11000"
|
|
|
|
|
|
# Manual connections
|
|
|
-#connect = "127.0.0.1:9999"
|
|
|
+#connect = "127.0.0.1:11000"
|
|
|
|
|
|
# Connection slots
|
|
|
-#slots = 5
|
|
|
+slots = 5
|
|
|
|
|
|
# External address
|
|
|
-#external = "127.0.0.1:11004"
|
|
|
+external = "127.0.0.1:11000"
|
|
|
|
|
|
# Logfile path
|
|
|
#log = "/tmp/darkfid.log"
|
|
|
|
|
|
# The endpoint where validatord will bind its RPC socket
|
|
|
-rpc = "127.0.0.1:8000"
|
|
|
+rpc = "127.0.0.1:6660"
|
|
|
|
|
|
# Whether to listen with TLS or plain TCP
|
|
|
-serve_tls = false
|
|
|
+tls = false
|
|
|
|
|
|
# Path to DER-formatted PKCS#12 archive. (Unused if serve_tls=false)
|
|
|
# This can be created using openssl:
|
|
|
# openssl pkcs12 -export -out validatord_identity.pfx -inkey key.pem -in cert.pem -certfile validator_certs.pem
|
|
|
-tls_identity_path = "~/.config/darkfi/validatord_identity.pfx"
|
|
|
+identity = "~/.config/darkfi/validatord_identity.pfx"
|
|
|
|
|
|
# Password for the created TLS identity. (Unused if serve_tls=false)
|
|
|
-tls_identity_password = "FOOBAR"
|
|
|
+password = "FOOBAR"
|
|
|
+
|
|
|
+# Path to the state file
|
|
|
+state = "~/.config/darkfi/validatord_state_0"
|
|
|
+
|
|
|
+# Node ID, used only for testing
|
|
|
+id = 0
|
|
|
|