Skip to content

Commit

Permalink
doc: add disclaimer
Browse files Browse the repository at this point in the history
  • Loading branch information
renancloudwalk committed May 15, 2024
1 parent d12d856 commit b15c90e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bin/run_with_importer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ fn current_namespace() -> Option<String> {
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() {
Expand Down

0 comments on commit b15c90e

Please sign in to comment.