Module breez_sdk_core::lightning::sign
Expand description
Provides keys to LDK and defines some useful objects describing spendable on-chain outputs.
The provided output descriptors follow a custom LDK data format and are currently not fully compatible with Bitcoin Core output descriptors.
Structs§
- The parameters required to derive a channel signer via
SignerProvider
. - Information about a spendable output to a P2WSH script.
- A descriptor used to sign for a commitment transaction’s HTLC output.
- A simple implementation of
WriteableEcdsaChannelSigner
that just keeps the private keys in memory. - Used as initial key material, to be expanded into multiple secret keys (but not to be used directly). This is used within LDK to encrypt/decrypt inbound payment data.
- Simple implementation of
EntropySource
,NodeSigner
, andSignerProvider
that takes a 32-byte seed for use as a BIP 32 extended key and derives keys from that. - Similar to
KeysManager
, but allows the node using this struct to receive phantom node payments. - Information about a spendable output to our “payment key”.
Enums§
- Specifies the recipient of an invoice.
- Describes the necessary information to spend a spendable output.
Traits§
- A trait to handle Lightning channel key material without concretizing the channel type or the signature mechanism.
- A trait to sign Lightning channel transactions as described in BOLT 3.
- A trait that describes a source of entropy.
- A trait that can handle cryptographic operations at the scope level of a node.
- A trait that can return signer instances for individual channels.
- A writeable signer.