 |
Ethereum
PoC-8
The C++ Implementation of Ethereum
|
Go to the documentation of this file.
29 #ifdef __INTEL_COMPILER
30 #pragma warning(disable:1098) //the qualifier on this friend declaration is ignored
53 LogFilter(
h256 _earliest = EarliestBlockHash,
h256 _latest = PendingBlockHash): m_earliest(_earliest), m_latest(_latest) {}
77 LogFilter topic(
unsigned _index,
h256 const& _t) {
if (_index < 4) m_topics[_index].insert(_t);
return *
this; }
85 std::array<h256Hash, 4> m_topics;
86 h256 m_earliest = EarliestBlockHash;
87 h256 m_latest = PendingBlockHash;
LogFilter address(Address _a)
LogFilter withEarliest(h256 _e)
LogFilter withLatest(h256 _e)
std::vector< LogBloom > bloomPossibilities() const
std::unordered_set< h160 > AddressHash
A hash set of Ethereum addresses.
h256 earliest() const
hash of earliest block which should be filtered
std::vector< LogEntry > LogEntries
bool matches(LogBloom _bloom) const
void streamRLP(RLPStream &_s) const
Class for writing to an RLP bytestream.
LogFilter topic(unsigned _index, h256 const &_t)
std::ostream & operator<<(std::ostream &_out, BlockHeader const &_bi)
LogFilter(h256 _earliest=EarliestBlockHash, h256 _latest=PendingBlockHash)
h256 latest() const
hash of latest block which should be filtered
bool isRangeFilter() const
Active model of a block within the block chain. Keeps track of all transactions, receipts and state f...