Add a cache for leader schedules (#3841)

* Add a cache for leader schedules
This commit is contained in:
carllin
2019-04-19 02:39:44 -07:00
committed by GitHub
parent 0f88872650
commit 512bfc93cb
16 changed files with 568 additions and 254 deletions

View File

@@ -112,7 +112,7 @@ fn main() {
stdout().write_all(b"\n]}\n").expect("close array");
}
("verify", _) => match process_blocktree(&genesis_block, &blocktree, None) {
Ok((_bank_forks, bank_forks_info)) => {
Ok((_bank_forks, bank_forks_info, _)) => {
println!("{:?}", bank_forks_info);
}
Err(err) => {