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;
Modules§
- Chain tracking and validation
- Channel
- Invoices
- Traits, helpers, and type definitions for core I/O functionality.
- Channel on-chain monitor
- Node
- Persistence
- Policy enforcement
- std / no_std compat
- KeysManager
- Transaction parsing and construction
- Various utilities
- Layer-1 wallet
Macros§
- 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>.
- Log at the matching policy error level (ERROR or WARN).
Traits§
- A trait for getting a commitment point for a given commitment number, if known.