go-ethereum/eth/filters
Austin Larson 62502c6712
feat: allow custom bloom production (#261)
## Why this should be merged

See ava-labs/strevm#120. To get bloom filters for a block when the
header doesn't contain the correct bloom because of SAE's delayed
settlement, you need a custom accessor to provide arbitrary bloom.

## How this works

Introduces an optional interface which, if satisfied by
`filters.Backend` implementations, is used to override the Bloom filter
instead of retrieving it from the `types.Header`.

## How this was tested

Existing tests unchanged. Integration test demonstrates calling of the
override method when present.

---------

Co-authored-by: Arran Schlosberg <me@arranschlosberg.com>
2026-02-12 08:36:04 -05:00
..
api.go fix: filters.FilterAPI goroutine leak (#254) 2026-01-03 16:54:33 -05:00
api.libevm.go fix: do not expose eth_close from the FilterAPI (#256) 2026-01-05 17:32:37 +00:00
api.libevm_test.go fix: do not expose eth_close from the FilterAPI (#256) 2026-01-05 17:32:37 +00:00
api_test.go [AUTO] rename Go module + update internal import paths 2024-10-17 01:49:47 +00:00
bench_test.go [AUTO] rename Go module + update internal import paths 2024-10-17 01:49:47 +00:00
filter.go feat: allow custom bloom production (#261) 2026-02-12 08:36:04 -05:00
filter_system.go feat: allow custom bloom production (#261) 2026-02-12 08:36:04 -05:00
filter_system.libevm.go feat: allow custom bloom production (#261) 2026-02-12 08:36:04 -05:00
filter_system.libevm_test.go feat: allow custom bloom production (#261) 2026-02-12 08:36:04 -05:00
filter_system_test.go [AUTO] rename Go module + update internal import paths 2024-10-17 01:49:47 +00:00
filter_test.go [AUTO] rename Go module + update internal import paths 2024-10-17 01:49:47 +00:00