MacrosΒ§
- delayed_
panic π - Delays the exit of the program for 15 seconds, to allow for logs to be flushed. Then panics with the given arguments.
StructsΒ§
- AddMethod
Middleware - AddMethod
Middleware Layer - RbfSigning
Info - Information to re-sign an RBF transaction. Specifically the merkle root of the taproot to keyspend with and the output index of the utxo to be re-signed.
- TxMetadata
EnumsΒ§
- FeePaying
Type - Specifies the fee bumping strategy used for a transaction.
TraitsΒ§
- Last20
Bytes - Named
Entity - A trait for entities that have a name, operator, 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.
- Script
BufExt - TryLast20
Bytes
FunctionsΒ§
- combine_
errors - Collects errors from an iterator of results and returns a combined error if any failed.
- env_
subscriber_ πto_ human - env_
subscriber_ πto_ json - env_
subscriber_ πwith_ file - flatten_
join_ named_ results - Collects all errors (both outer and inner) from named task results and returns a combined error if any task failed.
- get_
vergen_ response - initialize_
logger - Initializes a [
tracing] subscriber depending on the environment. [EnvFilter] is used with an optional default level. Sets up thecolor_eyrehandler. - initialize_
telemetry - is_
json_ πlogs - join_
all_ combine_ errors - Executes a collection of fallible futures concurrently and aggregates failures into a single
BridgeError. - monitor_
standalone_ task - Monitors a [
tokio::task::JoinHandle] in the background and logs itβs end result. - timed_
request - Wraps a future with a timeout, returning a
Status::deadline_exceededgRPC error if the future does not complete within the specified duration. - timed_
request_ base - Wraps a future with a timeout and adds a debug span with the description.
- timed_
try_ join_ all - 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.
- try_
set_ πglobal_ subscriber
Type AliasesΒ§
- BoxFuture π