openethereum/util/bloomchain/src/database.rs
Marek Kotewicz 66f3c50842 revert removing blooms (#8066)
* 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
2018-03-12 20:15:55 +00:00

8 lines
161 B
Rust

use position::Position;
use bloom::Bloom;
/// Readonly `Bloom` database.
pub trait BloomDatabase {
fn bloom_at(&self, position: &Position) -> Option<Bloom>;
}