Fix bug in storage processor and remove duplicate Constant (#4294)

* Fix bug in storage processor and remove duplicate Constant

* Add test

* Bump replicator timeout
This commit is contained in:
Sagar Dhawan
2019-05-15 13:28:56 -07:00
committed by GitHub
parent 2bef1b0433
commit 4576250342
7 changed files with 28 additions and 13 deletions

View File

@@ -7,12 +7,11 @@ use crate::sigverify::{
chacha_cbc_encrypt_many_sample, chacha_end_sha_state, chacha_init_sha_state,
};
use solana_sdk::hash::Hash;
use solana_storage_api::SLOTS_PER_SEGMENT;
use std::io;
use std::mem::size_of;
use std::sync::Arc;
use crate::storage_stage::SLOTS_PER_SEGMENT;
// Encrypt a file with multiple starting IV states, determined by ivecs.len()
//
// Then sample each block at the offsets provided by samples argument with sha256