eth::IEthReceiptSource¶
Transport-neutral source of receipt/log evidence for EthWatchService.
#include <eth_receipt_source.hpp>
Inherited by eth::rpc::RpcReceiptSource
Public Functions¶
| Name | |
|---|---|
| virtual | ~IEthReceiptSource() =default |
| virtual WatchId | add_filter(EventFilter filter) =0 Let the source optimize acquisition around the same filter used by EthWatchService. |
| virtual void | remove_filter(WatchId id) =0 Remove a previously registered acquisition filter. |
| virtual void | set_receipt_batch_handler(ReceiptBatchHandler handler) =0 Set the handler that receives normalized receipt batches. |
| virtual std::optional< ReceiptResult > | get_receipt(const Hash256 & tx_hash) =0 Fetch one receipt by transaction hash when the source supports lookup verification. |
Public Functions Documentation¶
function ~IEthReceiptSource¶
function add_filter¶
Let the source optimize acquisition around the same filter used by EthWatchService.
Reimplemented by: eth::rpc::RpcReceiptSource::add_filter
function remove_filter¶
Remove a previously registered acquisition filter.
Reimplemented by: eth::rpc::RpcReceiptSource::remove_filter
function set_receipt_batch_handler¶
Set the handler that receives normalized receipt batches.
Reimplemented by: eth::rpc::RpcReceiptSource::set_receipt_batch_handler
function get_receipt¶
Fetch one receipt by transaction hash when the source supports lookup verification.
Reimplemented by: eth::rpc::RpcReceiptSource::get_receipt
Updated on 2026-06-05 at 17:22:18 -0700