Storage Account setup for replicators and validators (#3516)

* Setup Storage Accounts for replicators

* Setup Storage Accounts for validators

* Add Replicator Info to Local Cluster and Add test
This commit is contained in:
Sagar Dhawan
2019-03-27 15:54:09 -07:00
committed by GitHub
parent e45f7afd85
commit e8cc566b2b
6 changed files with 204 additions and 41 deletions

View File

@ -81,9 +81,16 @@ fn main() {
.unwrap();
let leader_info = ContactInfo::new_gossip_entry_point(&network_addr);
let mut replicator =
Replicator::new(ledger_path, node, leader_info, Arc::new(keypair), None).unwrap();
let storage_keypair = Arc::new(Keypair::new());
let mut replicator = Replicator::new(
ledger_path,
node,
leader_info,
Arc::new(keypair),
storage_keypair,
None,
)
.unwrap();
replicator.run();