Bläddra i källkod

example/ config: added cashier vec to darkfid.toml

lunar-mining 4 år sedan
förälder
incheckning
e5da4c6d8e
1 ändrade filer med 14 tillägg och 4 borttagningar
  1. 14 4
      example/config/darkfid.toml

+ 14 - 4
example/config/darkfid.toml

@@ -17,10 +17,6 @@ tls_identity_path = "~/.config/darkfi/darkfid_identity.pfx"
 # Password for the created TLS identity. (Unused if serve_tls=false)
 tls_identity_password = "FOOBAR"
 
-# The RPC endpoint for a selected cashier
-cashier_rpc_url = "tcp://127.0.0.1:9000"
-#cashier_rpc_url = "tls://127.0.0.1:9000"
-
 # The endpoint to a gatewayd protocol API
 gateway_protocol_url = "127.0.0.1:3333"
 
@@ -41,3 +37,17 @@ wallet_path = "~/.config/darkfi/darkfid_wallet.db"
 
 # The wallet password
 wallet_password = "TEST_PASSWORD"
+
+# The configured cashiers to use.
+[[cashiers]]
+
+# Cashier name
+cashier_name = "cashier.dark.fi"
+
+# The RPC endpoint for a selected cashier
+cashier_rpc_url = "tcp://127.0.0.1:9000"
+#cashier_rpc_url = "tls://127.0.0.1:9000"
+
+# The selected cashier public key
+cashier_public_key = ""
+