class LogsBloomFilter
(source)
Bloom filter implementation for storing persistent logs, describes a 2048-bit representation of all log entries of a transaction, except data. Sets the bits of the 2048 byte array, where indices are given by: The lower order 11-bits, of the first three double-bytes, of the SHA3, of each value. For instance the address "0x0F572E5295C57F15886F9B263E2F6D2D6C7B5EC6" results in the KECCAK256 hash "bd2b01afcd27800b54d2179edc49e2bffde5078bb6d0b204694169b1643fb108", of which the corresponding double-bytes are: bd2b, 01af, cd27, corresponding to the following bits in the bloom filter: 1323, 431, 1319
<init> |
LogsBloomFilter() LogsBloomFilter(data: Bytes!) |
compute |
Creates a bloom filter corresponding to the provide log series. static fun compute(logs: MutableCollection<Log!>!): LogsBloomFilter! |
digest |
fun digest(other: LogsBloomFilter!): Unit |
equals |
fun equals(other: Any?): Boolean |
hashCode |
fun hashCode(): Int |
insertLog |
fun insertLog(log: Log!): Unit |
readFrom |
Creates a bloom filter from the given RLP-encoded input. static fun readFrom(input: RLPReader!): LogsBloomFilter! |
toBytes |
fun toBytes(): Bytes! |
toString |
fun toString(): String |