![]() |
Ethereum
PoC-8
The C++ Implementation of Ethereum
|
#include <LogFilter.h>
Public Member Functions | |
| LogFilter (h256 _earliest=EarliestBlockHash, h256 _latest=PendingBlockHash) | |
| void | streamRLP (RLPStream &_s) const |
| h256 | sha3 () const |
| h256 | earliest () const |
| hash of earliest block which should be filtered More... | |
| h256 | latest () const |
| hash of latest block which should be filtered More... | |
| bool | isRangeFilter () const |
| std::vector< LogBloom > | bloomPossibilities () const |
| bool | matches (LogBloom _bloom) const |
| bool | matches (Block const &_b, unsigned _i) const |
| LogEntries | matches (TransactionReceipt const &_r) const |
| LogFilter | address (Address _a) |
| LogFilter | topic (unsigned _index, h256 const &_t) |
| LogFilter | withEarliest (h256 _e) |
| LogFilter | withLatest (h256 _e) |
Friends | |
| std::ostream & | dev::eth::operator<< (std::ostream &_out, dev::eth::LogFilter const &_s) |
Definition at line 50 of file LogFilter.h.
|
inline |
Definition at line 53 of file LogFilter.h.
Definition at line 76 of file LogFilter.h.
| vector< LogBloom > LogFilter::bloomPossibilities | ( | ) | const |
Definition at line 88 of file LogFilter.cpp.
|
inline |
hash of earliest block which should be filtered
Definition at line 59 of file LogFilter.h.
| bool LogFilter::isRangeFilter | ( | ) | const |
Range filter is a filter which doesn't care about addresses or topics Matches are all entries from earliest to latest
Definition at line 49 of file LogFilter.cpp.
|
inline |
hash of latest block which should be filtered
Definition at line 62 of file LogFilter.h.
| bool LogFilter::matches | ( | Block const & | _b, |
| unsigned | _i | ||
| ) | const |
Definition at line 83 of file LogFilter.cpp.
| bool LogFilter::matches | ( | LogBloom | _bloom | ) | const |
Definition at line 61 of file LogFilter.cpp.
| LogEntries LogFilter::matches | ( | TransactionReceipt const & | _r | ) | const |
Definition at line 147 of file LogFilter.cpp.
| h256 LogFilter::sha3 | ( | ) | const |
Definition at line 42 of file LogFilter.cpp.
| void LogFilter::streamRLP | ( | RLPStream & | _s | ) | const |
Definition at line 37 of file LogFilter.cpp.
Definition at line 77 of file LogFilter.h.
Definition at line 78 of file LogFilter.h.
Definition at line 79 of file LogFilter.h.
|
friend |