Result_C2Tuple_PaymentHashPaymentSecretZNoneZ |
Result_C2Tuple_PaymentHashPaymentSecretZNoneZ.clone() |
Creates a new CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ which has the same data as `orig`
but with all dynamically-allocated buffers duplicated in new buffers.
|
static Result_C2Tuple_PaymentHashPaymentSecretZNoneZ |
UtilMethods.create(ExpandedKey keys,
Option_u64Z min_value_msat,
int invoice_expiry_delta_secs,
EntropySource entropy_source,
long current_time,
Option_u16Z min_final_cltv_expiry_delta) |
Equivalent to [`crate::ln::channelmanager::ChannelManager::create_inbound_payment`], but no
`ChannelManager` is required.
|
Result_C2Tuple_PaymentHashPaymentSecretZNoneZ |
ChannelManager.create_inbound_payment(Option_u64Z min_value_msat,
int invoice_expiry_delta_secs,
Option_u16Z min_final_cltv_expiry_delta) |
Gets a payment secret and payment hash for use in an invoice given to a third party wishing
to pay us.
|
static Result_C2Tuple_PaymentHashPaymentSecretZNoneZ |
Result_C2Tuple_PaymentHashPaymentSecretZNoneZ.err() |
Creates a new CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ in the error state.
|
static Result_C2Tuple_PaymentHashPaymentSecretZNoneZ |
Result_C2Tuple_PaymentHashPaymentSecretZNoneZ.ok(TwoTuple_PaymentHashPaymentSecretZ o) |
Creates a new CResult_C2Tuple_PaymentHashPaymentSecretZNoneZ in the success state.
|