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 prelude::SendSync;
Modules
- Chain tracking and validation
- Channel
- 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
- 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
- Invoke policy_error on the policy object Return a policy error from the current function, by invoking policy_error on the policy object.
- 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’.
- An ordered set based on a B-Tree.
- A single-threaded reference-counting pointer. ‘Rc’ stands for ‘Reference Counted’.