Revert "remove window code from most places" (#2417)

* Revert "Fix link to book in Local Testnet section (#2416)"

This reverts commit 710c0c9980.

* Revert "Add current leader information to dashboard (#2413)"

This reverts commit f0300c1711.

* Revert "remove window code from most places (#2389)"

This reverts commit e3c0bd5a3f.
This commit is contained in:
Rob Walker
2019-01-14 15:11:18 -08:00
committed by GitHub
parent 710c0c9980
commit 447243f994
8 changed files with 496 additions and 512 deletions

View File

@@ -562,10 +562,9 @@ mod test {
let shared_blobs = make_tiny_test_entries(num_entries).to_shared_blobs();
index_blobs(
&shared_blobs,
shared_blobs.iter().zip(vec![slot; num_entries].into_iter()),
&Keypair::new().pubkey(),
0,
&vec![slot; num_entries],
);
let blob_locks: Vec<_> = shared_blobs.iter().map(|b| b.read().unwrap()).collect();
@@ -658,10 +657,11 @@ mod test {
let shared_blobs = original_entries.clone().to_shared_blobs();
index_blobs(
&shared_blobs,
shared_blobs
.iter()
.zip(vec![DEFAULT_SLOT_HEIGHT; num_entries].into_iter()),
&Keypair::new().pubkey(),
0,
&vec![DEFAULT_SLOT_HEIGHT; num_entries],
);
let mut consume_queue = vec![];