openethereum/util/bloomchain/src/database.rs
Marek Kotewicz 668d910c44
bloom refactor (#7475)
* ethereum-types refactor in progress

* ethereum-types refactor in progress

* ethereum-types refactor in progress

* ethereum-types refactor in progress

* ethereum-types refactor finished

* cleanup bloom mess

* simplify usage of Bloom in few places

* removed obsolete util/src/lib.rs

* removed commented out code

* ethereum-types 0.1.4

* updated ethereum-types and tiny-keccak
2018-01-14 22:43:28 +01: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>;
}