clementine_core

Module utils

Source

Structs§

Enums§

  • Specifies the fee bumping strategy used for a transaction.

Traits§

  • A trait for entities that have a name, operator, watchtower, verifier, etc. Used to distinguish between state machines with different owners in the database, and to provide a human-readable name for the entity for task names.

Functions§

  • Initializes tracing as the logger.
  • Monitors a JoinHandle and aborts the process if the task completes with an error. Returns a handle to the monitoring task that can be used to cancel it.
  • Wraps a future with a timeout, returning a Status::deadline_exceeded gRPC error if the future does not complete within the specified duration.
  • Concurrently executes a collection of futures, applying a timeout to each one individually. If any future fails or times out, the entire operation is aborted and an error is returned.