eth::rpc::RpcReceiptSource¶
#include <rpc_receipt_source.hpp>
Inherits from eth::IEthReceiptSource
Public Functions¶
| Name | |
|---|---|
| RpcReceiptSource(JsonRpcTransport & transport, FinalityPolicy finality_policy, uint64_t last_processed_block =0, uint64_t max_log_range =1000) | |
| virtual WatchId | add_filter(EventFilter filter) override Let the source optimize acquisition around the same filter used by EthWatchService. |
| virtual void | remove_filter(WatchId id) override Remove a previously registered acquisition filter. |
| virtual void | set_receipt_batch_handler(ReceiptBatchHandler handler) override Set the handler that receives normalized receipt batches. |
| virtual std::optional< ReceiptResult > | get_receipt(const Hash256 & tx_hash) override Fetch one receipt by transaction hash when the source supports lookup verification. |
| uint64_t | last_processed_block() const |
| std::optional< FinalityDecision > | finality_head() |
| bool | poll_once() |
| bool | backfill(uint64_t from_block, uint64_t to_block) |
Additional inherited members¶
Public Functions inherited from eth::IEthReceiptSource
| Name | |
|---|---|
| virtual | ~IEthReceiptSource() =default |
Public Functions Documentation¶
function RpcReceiptSource¶
RpcReceiptSource(
JsonRpcTransport & transport,
FinalityPolicy finality_policy,
uint64_t last_processed_block =0,
uint64_t max_log_range =1000
)
function add_filter¶
Let the source optimize acquisition around the same filter used by EthWatchService.
Reimplements: eth::IEthReceiptSource::add_filter
function remove_filter¶
Remove a previously registered acquisition filter.
Reimplements: eth::IEthReceiptSource::remove_filter
function set_receipt_batch_handler¶
Set the handler that receives normalized receipt batches.
Reimplements: eth::IEthReceiptSource::set_receipt_batch_handler
function get_receipt¶
Fetch one receipt by transaction hash when the source supports lookup verification.
Reimplements: eth::IEthReceiptSource::get_receipt
function last_processed_block¶
function finality_head¶
function poll_once¶
function backfill¶
Updated on 2026-06-05 at 17:22:18 -0700