plug in LedgerWindow

fixes #872
This commit is contained in:
Rob Walker
2018-08-06 12:35:38 -07:00
parent ecea41a0ab
commit fbc754ea25
10 changed files with 132 additions and 43 deletions

View File

@@ -24,6 +24,7 @@ fn test_node(exit: Arc<AtomicBool>) -> (Arc<RwLock<Crdt>>, Ncp, UdpSocket) {
let d = Ncp::new(
&c.clone(),
w,
None,
tn.sockets.gossip,
tn.sockets.gossip_send,
exit,

View File

@@ -43,6 +43,7 @@ fn converge(leader: &NodeInfo, num_nodes: usize) -> Vec<NodeInfo> {
let ncp = Ncp::new(
&spy_ref,
spy_window,
None,
spy.sockets.gossip,
spy.sockets.gossip_send,
exit.clone(),