aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/config.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/config.rs b/src/util/config.rs
index 5c01712b..b985114d 100644
--- a/src/util/config.rs
+++ b/src/util/config.rs
@@ -14,6 +14,8 @@ pub struct Config {
pub rpc_bind_addr: SocketAddr,
pub bootstrap_peers: Vec<SocketAddr>,
+ pub consul_host: Option<String>,
+ pub consul_service_name: Option<String>,
#[serde(default = "default_max_concurrent_rpc_requests")]
pub max_concurrent_rpc_requests: usize,