Discovery via consul

This commit is contained in:
Alex Auvolat
2021-10-21 00:29:50 +02:00
parent 6455347955
commit 5e986c443f
4 changed files with 125 additions and 10 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ pub struct Config {
/// Bootstrap peers RPC address
#[serde(deserialize_with = "deserialize_vec_addr")]
pub bootstrap_peers: Vec<(NodeID, SocketAddr)>,
/// Consule host to connect to to discover more peers
/// Consul host to connect to to discover more peers
pub consul_host: Option<String>,
/// Consul service name to use
pub consul_service_name: Option<String>,