add a clock to validator windows (part 3 of #309) (#448)

* count entries processed by Bank
 * initialize windows with initial height of Entries
This commit is contained in:
Rob Walker
2018-06-25 15:07:48 -07:00
committed by anatoly yakovenko
parent 3966eb5374
commit 1919ec247b
5 changed files with 23 additions and 6 deletions

View File

@@ -102,7 +102,8 @@ fn main() {
bank.register_entry_id(&entry1.id);
eprintln!("processing entries...");
bank.process_entries(entries).expect("process_entries");
let num_entries = bank.process_entries(entries).expect("process_entries");
eprintln!("processed {} entries...", num_entries);
eprintln!("creating networking stack...");