Skip to main content

create_tx_retry_manager

Function create_tx_retry_manager 

Source
pub fn create_tx_retry_manager() -> RetryManager<DydxError>
Expand description

Creates a retry manager configured for blockchain transaction broadcasting.

Configuration optimized for Cosmos SDK sequence management:

  • 5 retries with exponential backoff (500ms → 4s max)
  • Small jitter (100ms) to avoid thundering herd
  • No operation timeout (chain responses can be slow)
  • 10 second total budget to prevent indefinite waits