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
Implement background job for transaction rebroadcasting
Introduces a `RebroadcastPolicy` to manage the automatic rebroadcasting
of unconfirmed transactions with exponential backoff. This prevents
excessive network spam while systematically retrying stuck transactions.
The feature is enabled by default but can be disabled via the builder:
`builder.set_auto_rebroadcast_unconfirmed(false)`.
Configuration options:
- min_rebroadcast_interval: Base delay between attempts (seconds)
- max_broadcast_attempts: Total attempts before abandonment
- backoff_factor: Multiplier for exponential delay increase
Sensible defaults are provided (300s, 24 attempts, 1.5x backoff).
0 commit comments