referrerpolicy=no-referrer-when-downgrade

Crate relay_utils

source ·
Expand description

Utilities used by different relays.

Re-exports§

Modules§

Macros§

  • Macro that returns (client, Err(error)) tuple from function if result is Err(error).
  • Macro that returns (client, Err(error)) tuple from function if result is Err(error).

Structs§

Enums§

Constants§

  • Delay after connection-related error happened before we’ll try reconnection again.
  • Max delay after connection-unrelated error happened before we’ll try the same request again.
  • Default relay loop stall timeout. If transactions generated by relay are immortal, then this timeout is used.

Traits§

  • Block number traits shared by all chains that relay is able to serve.
  • Error type that can signal connection errors.
  • Transaction tracker.
  • Just like From except that if the source value is too big to fit into the destination type then it’ll saturate the destination.
  • Just like Into except that if the source value is too big to fit into the destination type then it’ll saturate the destination.

Functions§

Type Aliases§