Crate lightning_signer

Source
Expand description

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

Re-exports§

pub use bitcoin;
pub use lightning;
pub use lightning_invoice;
pub use txoo;
pub use hex;

Modules§

chain
Chain tracking and validation
channel
Channel
invoice
Invoices
io
Traits, helpers, and type definitions for core I/O functionality.
monitor
Channel on-chain monitor
node
Node
persist
Persistence
policy
Policy enforcement
prelude
std / no_std compat
signer
KeysManager
tx
Transaction parsing and construction
util
Various utilities
wallet
Layer-1 wallet

Macros§

catch_panic
Macro to catch panics for an expression evaluation and convert them to Status::internal errors with the given format string and additional args. The format string must have a {} placeholder for the panic message. The surrounding function must return a Result<_, Status>.
policy_log
Log at the matching policy error level (ERROR or WARN).

Traits§

CommitmentPointProvider
A trait for getting a commitment point for a given commitment number, if known.