diff --git a/src/bin/run_with_importer.rs b/src/bin/run_with_importer.rs index 7c03eb29f..f4d03dbfc 100644 --- a/src/bin/run_with_importer.rs +++ b/src/bin/run_with_importer.rs @@ -30,6 +30,9 @@ fn current_namespace() -> Option { Some(namespace.trim().to_string()) } +//XXX this is a temporary solution to get the leader node +// later we want the leader to GENERATE blocks +// and even later we want this sync to be replaced by a gossip protocol or raft fn get_chain_url(config: RunWithImporterConfig) -> String { if let Some(leader_node) = config.leader_node { if let Some(current_node) = current_node() {