Module inbound_payment

Expand description

Utilities to generate inbound payment information in service of invoice creation.

Structs§

ExpandedKey
A set of keys that were HKDF-expanded from an initial call to NodeSigner::get_inbound_payment_key_material.

Functions§

create
Equivalent to crate::ln::channelmanager::ChannelManager::create_inbound_payment, but no ChannelManager is required. Useful for generating invoices for phantom node payments without a ChannelManager.
create_from_hash
Equivalent to crate::ln::channelmanager::ChannelManager::create_inbound_payment_for_hash, but no ChannelManager is required. Useful for generating invoices for phantom node payments without a ChannelManager.