Review comments: node creation functions for replicators

And rework download loop.
This commit is contained in:
Stephen Akridge
2019-03-18 11:12:19 -07:00
committed by sakridge
parent ee58c1f960
commit f1802e592a
3 changed files with 84 additions and 46 deletions

View File

@ -67,7 +67,7 @@ fn main() {
}
addr
};
let node = Node::new_with_external_ip(&keypair.pubkey(), &gossip_addr);
let node = Node::new_replicator_with_external_ip(&keypair.pubkey(), &gossip_addr);
println!(
"replicating the data with keypair={:?} gossip_addr={:?}",