You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/modules/ROOT/pages/rpc.adoc
+76-30
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ RPC endpoints are configured in the network configuration files with weights for
38
38
39
39
[TIP]
40
40
====
41
-
For high-availability setups, configure at least 3 RPC endpoints with appropriate weights to ensure continuous operation even if multiple endpoints fail.
41
+
For high-availability setups, configure at least 3 (private) RPC endpoints with appropriate weights to ensure continuous operation even if multiple endpoints fail.
Each transport client implements `reqwest-retry` middleware with exponential backoff to handle transient failures in network requests. This is implemented separately from the endpoint rotation mechanism.
93
93
94
94
* For transient HTTP errors and network failures:
95
-
** Retries up to 2 times (configurable via `ExponentialBackoff` builder)
95
+
** Retries up to 3 times (configurable via `ExponentialBackoff` builder)
96
96
** Applies exponential backoff between retry attempts
97
97
** Returns the final error if all retry attempts fail
98
98
** Maintains the same URL throughout the retry process
99
99
** Independent from the endpoint rotation mechanism
100
100
101
+
Each blockchain network type has its own specialized transport client that wraps the base `HttpTransportClient`.
102
+
This architecture provides common HTTP functionality while allowing customization of network-specific behaviors like connection testing and retry policies.
0 commit comments