Struct ethcore::filter::Filter [] [src]

pub struct Filter {
    pub from_block: BlockId,
    pub to_block: BlockId,
    pub address: Option<Vec<Address>>,
    pub topics: Vec<Option<Vec<H256>>>,
    pub limit: Option<usize>,
}

Blockchain Filter.

Fields

Blockchain will be searched from this block.

Till this block.

Search addresses.

If None, match all. If specified, log must be produced by one of these addresses.

Search topics.

If None, match all. If specified, log must contain one of these topics.

Logs limit

If None, return all logs If specified, should only return last n logs.

Methods

impl Filter
[src]

Returns combinations of each address and topic.

Returns true if given log entry matches filter.

Trait Implementations

impl Debug for Filter
[src]

Formats the value using the given formatter.

impl PartialEq for Filter
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for Filter
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more