1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
#![allow(missing_docs)]

// modules
pub mod error;
pub mod global_state;
pub mod protocol_data;
pub mod protocol_data_store;
pub mod store;
pub mod transaction_source;
pub mod trie;
pub mod trie_store;

const MAX_DBS: u32 = 2;

#[cfg(test)]
pub(crate) const DEFAULT_TEST_MAX_DB_SIZE: usize = 52_428_800; // 50 MiB

#[cfg(test)]
pub(crate) const DEFAULT_TEST_MAX_READERS: u32 = 512;