Crate lightning_signer[][src]

Expand description

A policy-enforcing signer for Lightning See node::Node for the entry point.

Re-exports

pub use bitcoin;
pub use lightning;

Modules

Chain tracking and validation

Channel

Channel on-chain monitor

Node

Persistence

Policy enforcement

KeysManager

Transaction parsing and construction

Various utilities

Layer-1 wallet

Macros

Check that a channel’s closing channel update has been broadcasted, and optionally check whether an error message event has occurred.

Return a shortened version of the function name outside the closure.

Logs the arguments at debug level.

Logs the arguments at debug level.

Return a long version of the function name.

Log bytes

Return a scopeguard which debugs args on return unless disabled.

Return a shortened version of the function name.

log the enforcement state at the trace level

Construct a string suitable for debugging from a list of arguments

Structs

A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically Reference Counted’.

A set based on a B-Tree.

A single-threaded reference-counting pointer. ‘Rc’ stands for ‘Reference Counted’.

Weak is a version of Arc that holds a non-owning reference to the managed allocation. The allocation is accessed by calling upgrade on the Weak pointer, which returns an Option<Arc<T>>.

Traits

Convenience trait for Send + Sync