static Result_InvoiceSignOrCreationErrorZ |
UtilMethods.create_invoice_from_channelmanager(ChannelManager channelmanager,
KeysInterface keys_manager,
Currency network,
Option_u64Z amt_msat,
String description) |
Utility to construct an invoice.
|
static Result_NoneErrorZ |
UtilMethods.FilesystemPersister_persist_manager(String data_dir,
ChannelManager manager) |
Writes the provided `ChannelManager` to the path provided at `FilesystemPersister`
initialization, within a file called \"manager\".
|
Result_NoneErrorZ |
ChannelManagerPersister.ChannelManagerPersisterInterface.persist_manager(ChannelManager channel_manager) |
Persist the given [`ChannelManager`] to disk, returning an error if persistence failed
(which will cause the [`BackgroundProcessor`] which called this method to exit.
|
Result_NoneErrorZ |
ChannelManagerPersister.persist_manager(ChannelManager channel_manager) |
Persist the given [`ChannelManager`] to disk, returning an error if persistence failed
(which will cause the [`BackgroundProcessor`] which called this method to exit.
|
static BackgroundProcessor |
BackgroundProcessor.start(ChannelManagerPersister persister,
EventHandler event_handler,
ChainMonitor chain_monitor,
ChannelManager channel_manager,
NetGraphMsgHandler net_graph_msg_handler,
PeerManager peer_manager,
Logger logger) |
Start a background thread that takes care of responsibilities enumerated in the [top-level
documentation].
|