gateway: Use a URI for configuration.

This will enable us to implement TLS later on without breaking the
config scheme.
This commit is contained in:
parazyd
2021-10-19 11:31:02 +02:00
parent 03b987d559
commit f13f6b0d4e
5 changed files with 30 additions and 18 deletions

View File

@@ -18,10 +18,10 @@ tls_identity_path = "~/.config/darkfi/cashierd_identity.pfx"
tls_identity_password = "FOOBAR"
# The endpoint to a gatewayd protocol API
gateway_protocol_url = "127.0.0.1:3333"
gateway_protocol_url = "tcp://127.0.0.1:3333"
# The endpoint to a gatewayd publisher API
gateway_publisher_url = "127.0.0.1:4444"
gateway_publisher_url = "tcp://127.0.0.1:4444"
# Path to mint.params
mint_params_path = "~/.config/darkfi/mint.params"

View File

@@ -18,10 +18,10 @@ tls_identity_path = "~/.config/darkfi/darkfid_identity.pfx"
tls_identity_password = "FOOBAR"
# The endpoint to a gatewayd protocol API
gateway_protocol_url = "127.0.0.1:3333"
gateway_protocol_url = "tcp://127.0.0.1:3333"
# The endpoint to a gatewayd publisher API
gateway_publisher_url = "127.0.0.1:4444"
gateway_publisher_url = "tcp://127.0.0.1:4444"
# Path to mint.params
mint_params_path = "~/.config/darkfi/mint.params"