Module lightning::chain::keysinterface [−][src]
keysinterface provides keys into rust-lightning and defines some useful enums which describe spendable on-chain outputs which the user owns and is responsible for using just as any other on-chain output which is theirs.
Structs
DelayedPaymentOutputDescriptor | Information about a spendable output to a P2WSH script. See SpendableOutputDescriptor::DelayedPaymentOutput for more details on how to spend this. |
InMemorySigner | A simple implementation of Sign that just keeps the private keys in memory. |
KeysManager | Simple KeysInterface implementor that takes a 32-byte seed for use as a BIP 32 extended key and derives keys from that. |
StaticPaymentOutputDescriptor | Information about a spendable output to our “payment key”. See SpendableOutputDescriptor::StaticPaymentOutput for more details on how to spend this. |
Enums
SpendableOutputDescriptor | When on-chain outputs are created by rust-lightning (which our counterparty is not able to claim at any point in the future) an event is generated which you must track and be able to spend on-chain. The information needed to do this is provided in this enum, including the outpoint describing which txid and output index is available, the full output which exists at that txid/index, and any keys or other information required to sign. |
Traits
BaseSign | A trait to sign lightning channel transactions as described in BOLT 3. |
KeysInterface | A trait to describe an object which can get user secrets and key material. |
Sign | A cloneable signer. |