Struct ethcore::trace::Filter [−][src]
pub struct Filter { pub range: Range<usize>, pub from_address: AddressesFilter, pub to_address: AddressesFilter, }
Traces filter.
Fields
range: Range<usize>
Block range.
from_address: AddressesFilter
From address filter.
to_address: AddressesFilter
To address filter.
Methods
impl Filter
[src]
impl Filter
pub fn bloom_possibilities(&self) -> Vec<Bloom>
[src]
pub fn bloom_possibilities(&self) -> Vec<Bloom>
Returns combinations of each address.
pub fn matches(&self, trace: &FlatTrace) -> bool
[src]
pub fn matches(&self, trace: &FlatTrace) -> bool
Returns true if given trace matches the filter.