static Result_InvoiceSignOrCreationErrorZ |
UtilMethods.create_invoice_from_channelmanager(ChannelManager channelmanager,
KeysInterface keys_manager,
Currency network,
Option_u64Z amt_msat,
String description,
int invoice_expiry_delta_secs) |
Utility to construct an invoice.
|
static Result_InvoiceSignOrCreationErrorZ |
UtilMethods.create_invoice_from_channelmanager_and_duration_since_epoch(ChannelManager channelmanager,
KeysInterface keys_manager,
Currency network,
Option_u64Z amt_msat,
String description,
long duration_since_epoch,
int invoice_expiry_delta_secs) |
See [`create_invoice_from_channelmanager`]
This version can be used in a `no_std` environment, where [`std::time::SystemTime`] is not
available and the current time is supplied by the caller.
|
static Result_InvoiceSignOrCreationErrorZ |
UtilMethods.create_invoice_from_channelmanager_with_description_hash(ChannelManager channelmanager,
KeysInterface keys_manager,
Currency network,
Option_u64Z amt_msat,
Sha256 description_hash,
int invoice_expiry_delta_secs) |
Utility to construct an invoice.
|
static Result_InvoiceSignOrCreationErrorZ |
UtilMethods.create_invoice_from_channelmanager_with_description_hash_and_duration_since_epoch(ChannelManager channelmanager,
KeysInterface keys_manager,
Currency network,
Option_u64Z amt_msat,
Sha256 description_hash,
long duration_since_epoch,
int invoice_expiry_delta_secs) |
See [`create_invoice_from_channelmanager_with_description_hash`]
This version can be used in a `no_std` environment, where [`std::time::SystemTime`] is not
available and the current time is supplied by the caller.
|
Result_NoneErrorZ |
Persister.persist_manager(ChannelManager channel_manager) |
Persist the given ['ChannelManager'] to disk, returning an error if persistence failed.
|
Result_NoneErrorZ |
Persister.PersisterInterface.persist_manager(ChannelManager channel_manager) |
Persist the given ['ChannelManager'] to disk, returning an error if persistence failed.
|
static BackgroundProcessor |
BackgroundProcessor.start(Persister persister,
EventHandler event_handler,
ChainMonitor chain_monitor,
ChannelManager channel_manager,
GossipSync gossip_sync,
PeerManager peer_manager,
Logger logger,
MultiThreadedLockableScore scorer) |
Start a background thread that takes care of responsibilities enumerated in the [top-level
documentation].
|