Cinder

All posts

eth_getLogs

Posts on eth_getLogs in Cinder: how the node finds the logs of an address or a topic. The bloom in the block header is not sufficient.

  1. Sparse eth_getLogs: the header bloom says yes too oftenOn mainnet today, the log bloom in a block header lets a rare address or topic through on 31 to 46% of blocks. Only 0.1 to 0.5% of blocks have a match. Cinder 0.9.5 keeps a small row of log key fingerprints for each block. Against reth 2.7 on the same head, sparse queries over 10 000 blocks got 113 to 143 times the requests per second. All 1 195 compared answers were equal.