Review comments: node creation functions for replicators
And rework download loop.
This commit is contained in:
committed by
sakridge
parent
ee58c1f960
commit
f1802e592a
@ -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={:?}",
|
||||
|
Reference in New Issue
Block a user