Struct bitcoin::util::bip158::BlockFilterReader [−][src]
pub struct BlockFilterReader { /* fields omitted */ }
Reads and interpret a block filter
Implementations
impl BlockFilterReader
[src]
impl BlockFilterReader
[src]pub fn new(block_hash: &BlockHash) -> BlockFilterReader
[src]
Create a block filter reader
pub fn match_any(
&self,
reader: &mut dyn Read,
query: &mut dyn Iterator<Item = &[u8]>
) -> Result<bool, Error>
[src]
&self,
reader: &mut dyn Read,
query: &mut dyn Iterator<Item = &[u8]>
) -> Result<bool, Error>
match any query pattern
pub fn match_all(
&self,
reader: &mut dyn Read,
query: &mut dyn Iterator<Item = &[u8]>
) -> Result<bool, Error>
[src]
&self,
reader: &mut dyn Read,
query: &mut dyn Iterator<Item = &[u8]>
) -> Result<bool, Error>
match all query pattern