eth::rpc::RpcEndpointPool¶
#include <rpc_manager.hpp>
Public Functions¶
| Name | |
|---|---|
| RpcEndpointPool() =default | |
| RpcEndpointPool(std::vector< RpcEndpoint > endpoints) | |
| const std::vector< RpcEndpoint > & | endpoints() const |
| std::vector< RpcEndpoint > & | endpoints() |
| std::optional< std::reference_wrapper< RpcEndpoint > > | next_endpoint() |
| std::optional< std::reference_wrapper< const RpcEndpoint > > | next_endpoint() const |
| void | mark_temporary_failure(std::string_view url) |
| void | disable(std::string_view url) |
| void | reset_temporary_failures() |
Public Attributes¶
| Name | |
|---|---|
| auto | kMaxBackoff |
| auto | kBaseBackoff |
| auto | kEscalationWindow |
| uint32_t | kEscalationThreshold |
Public Functions Documentation¶
function RpcEndpointPool¶
function RpcEndpointPool¶
function endpoints¶
function endpoints¶
function next_endpoint¶
function next_endpoint¶
function mark_temporary_failure¶
function disable¶
function reset_temporary_failures¶
Public Attributes Documentation¶
variable kMaxBackoff¶
variable kBaseBackoff¶
variable kEscalationWindow¶
variable kEscalationThreshold¶
Updated on 2026-06-05 at 17:22:18 -0700