Module 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.
Modules§
- Defines ECDSA-specific signer types.
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
EcdsaChannelSigner
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. - An implementation of
EntropySource
using ChaCha20. - 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 helper trait that describes an on-chain wallet capable of returning a (change) destination script.
- A trait to handle Lightning channel key material without concretizing the channel type or the signature mechanism.
- 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 describes a wallet capable of creating a spending
Transaction
from a set ofSpendableOutputDescriptor
s. - A trait that can return signer instances for individual channels.