Result_InvoiceSignOrCreationErrorZ |
Result_InvoiceSignOrCreationErrorZ.clone() |
Creates a new CResult_InvoiceSignOrCreationErrorZ which has the same data as `orig`
but with all dynamically-allocated buffers duplicated in new buffers.
|
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.
|
static Result_InvoiceSignOrCreationErrorZ |
UtilMethods.create_phantom_invoice(Option_u64Z amt_msat,
byte[] payment_hash,
String description,
int invoice_expiry_delta_secs,
PhantomRouteHints[] phantom_route_hints,
KeysInterface keys_manager,
Currency network) |
Utility to create an invoice that can be paid to one of multiple nodes, or a \"phantom invoice.\"
See [`PhantomKeysManager`] for more information on phantom node payments.
|
static Result_InvoiceSignOrCreationErrorZ |
UtilMethods.create_phantom_invoice_with_description_hash(Option_u64Z amt_msat,
byte[] payment_hash,
int invoice_expiry_delta_secs,
Sha256 description_hash,
PhantomRouteHints[] phantom_route_hints,
KeysInterface keys_manager,
Currency network) |
Utility to create an invoice that can be paid to one of multiple nodes, or a \"phantom invoice.\"
See [`PhantomKeysManager`] for more information on phantom node payments.
|
static Result_InvoiceSignOrCreationErrorZ |
Result_InvoiceSignOrCreationErrorZ.err(SignOrCreationError e) |
Creates a new CResult_InvoiceSignOrCreationErrorZ in the error state.
|
static Result_InvoiceSignOrCreationErrorZ |
Result_InvoiceSignOrCreationErrorZ.ok(Invoice o) |
Creates a new CResult_InvoiceSignOrCreationErrorZ in the success state.
|