66f3c50842
* Revert "fix traces, removed bloomchain crate, closes #7228, closes #7167"
This reverts commit 1bf62038678295e5586f02a38a0c5aab9a9efe62.
* Revert "fixed broken logs (#7934)"
This reverts commit f8a2e53f3e
.
* fixed broken logs
* bring back old lock order
* remove migration v13
* revert CURRENT_VERSION to 12 in migration.rs
18 lines
325 B
Rust
18 lines
325 B
Rust
/// `BloomChain` configuration.
|
|
#[derive(Debug, PartialEq, Clone, Copy)]
|
|
pub struct Config {
|
|
/// Number of levels.
|
|
pub levels: usize,
|
|
/// Number of elements in a single index.
|
|
pub elements_per_index: usize,
|
|
}
|
|
|
|
impl Default for Config {
|
|
fn default() -> Self {
|
|
Config {
|
|
levels: 3,
|
|
elements_per_index: 16,
|
|
}
|
|
}
|
|
}
|