• Péter Szilágyi's avatar
    core/bloombits, eth/filters: handle null topics (#15195) · 2ab2a9f1
    Péter Szilágyi authored
    When implementing the new bloombits based filter, I've accidentally broke null
    topics by removing the special casing of common.Hash{} filter rules, which
    acted as the wildcard topic until now.
    
    This PR fixes the regression, but instead of using the magic hash
    common.Hash{} as the null wildcard, the PR reworks the code to handle nil
    topics during parsing, converting a JSON null into nil []common.Hash topic.
    2ab2a9f1
Name
Last commit
Last update
..
downloader Loading commit data...
fetcher Loading commit data...
filters Loading commit data...
gasprice Loading commit data...
api.go Loading commit data...
api_backend.go Loading commit data...
api_test.go Loading commit data...
backend.go Loading commit data...
bind.go Loading commit data...
bloombits.go Loading commit data...
config.go Loading commit data...
db_upgrade.go Loading commit data...
gen_config.go Loading commit data...
handler.go Loading commit data...
handler_test.go Loading commit data...
helper_test.go Loading commit data...
metrics.go Loading commit data...
peer.go Loading commit data...
protocol.go Loading commit data...
protocol_test.go Loading commit data...
sync.go Loading commit data...
sync_test.go Loading commit data...