reorganization of data loading logic

This commit is contained in:
Simon Gardling
2022-05-16 10:13:29 -04:00
parent 4bb7fea2de
commit 54c0703946
2 changed files with 26 additions and 24 deletions

View File

@@ -311,7 +311,7 @@ pub fn step_helper(max_i: usize, min_x: &f64, step: &f64) -> Vec<f64> {
(0..max_i).map(|x| (x as f64 * step) + min_x).collect()
}
const HASH_LENGTH: usize = 8;
pub const HASH_LENGTH: usize = 8;
#[allow(dead_code)]
pub fn hashed_storage_create(hash: &[u8], data: &[u8]) -> String {