Free up the term 'replicate' for exclusive use in replicator

Also, align Sockets field names with ContactInfo.
This commit is contained in:
Greg Fitzgerald
2018-12-07 15:09:29 -07:00
parent bc96bd3410
commit 5e703dc70a
13 changed files with 146 additions and 150 deletions

View File

@ -24,7 +24,7 @@ fn test_node(exit: Arc<AtomicBool>) -> (Arc<RwLock<ClusterInfo>>, GossipService,
let w = Arc::new(RwLock::new(vec![]));
let d = GossipService::new(&c.clone(), w, None, tn.sockets.gossip, exit);
let _ = c.read().unwrap().my_data();
(c, d, tn.sockets.replicate.pop().unwrap())
(c, d, tn.sockets.tvu.pop().unwrap())
}
/// Test that the network converges.