Module lightning::chain::keysinterface[][src]

Expand description

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

Information about a spendable output to a P2WSH script. See SpendableOutputDescriptor::DelayedPaymentOutput for more details on how to spend this.

A simple implementation of Sign that just keeps the private keys in memory.

Simple KeysInterface implementor that takes a 32-byte seed for use as a BIP 32 extended key and derives keys from that.

Information about a spendable output to our “payment key”. See SpendableOutputDescriptor::StaticPaymentOutput for more details on how to spend this.

Enums

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

A trait to sign lightning channel transactions as described in BOLT 3.

A trait to describe an object which can get user secrets and key material.

A cloneable signer.