Add Storage accounts for all nodes (#4298)

* Setup storage keypairs for all nodes

* Clean up naming

* clippy

* Update arg value_names
This commit is contained in:
Sagar Dhawan
2019-05-15 15:19:29 -07:00
committed by GitHub
parent 915956b94b
commit fd3f2cb910
9 changed files with 87 additions and 38 deletions

View File

@@ -106,13 +106,15 @@ fn test_replay() {
let dr_1 = new_gossip(cref1.clone(), target1.sockets.gossip, &exit);
let voting_keypair = Keypair::new();
let storage_keypair = Arc::new(Keypair::new());
let blocktree = Arc::new(blocktree);
{
let (poh_service_exit, poh_recorder, poh_service, _entry_receiver) =
create_test_recorder(&working_bank, &blocktree);
let tvu = Tvu::new(
&voting_keypair.pubkey(),
Some(Arc::new(voting_keypair)),
Some(&Arc::new(voting_keypair)),
&storage_keypair,
&bank_forks,
&cref1,
{