Package com.norswap.nanoeth.receipts
Class LogEntry
java.lang.Object
com.norswap.nanoeth.receipts.LogEntry
public final class LogEntry extends Object
A log entry generated during contract execution.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description void
addToBloomFilter(BloomFilter bloomFilter)
Adds the address and the topics for this entry into the given log filter.
-
Field Details
-
logger
Address that generated this log. -
topics
Topics for this entry. -
data
public final byte[] dataArbitrary data attached to the entry.
-
-
Constructor Details
-
LogEntry
-
-
Method Details
-
addToBloomFilter
Adds the address and the topics for this entry into the given log filter.This implements the M(O) function from the yellowpaper excepted that the output of the function is immediately combined with the given bloom filter. This target bloom filter is most likely a combination of many individual log entry bloom filters, to be used as
BlockHeader.logsBloom
.
-