Result_PaymentSecretNoneZ |
Result_PaymentSecretNoneZ.clone() |
Creates a new CResult_PaymentSecretNoneZ which has the same data as `orig`
but with all dynamically-allocated buffers duplicated in new buffers.
|
static Result_PaymentSecretNoneZ |
UtilMethods.create_from_hash(ExpandedKey keys,
Option_u64Z min_value_msat,
byte[] payment_hash,
int invoice_expiry_delta_secs,
long current_time,
Option_u16Z min_final_cltv_expiry_delta) |
Equivalent to [`crate::ln::channelmanager::ChannelManager::create_inbound_payment_for_hash`],
but no `ChannelManager` is required.
|
Result_PaymentSecretNoneZ |
ChannelManager.create_inbound_payment_for_hash(byte[] payment_hash,
Option_u64Z min_value_msat,
int invoice_expiry_delta_secs,
Option_u16Z min_final_cltv_expiry) |
Gets a [`PaymentSecret`] for a given [`PaymentHash`], for which the payment preimage is
stored external to LDK.
|
static Result_PaymentSecretNoneZ |
Result_PaymentSecretNoneZ.err() |
Creates a new CResult_PaymentSecretNoneZ in the error state.
|
static Result_PaymentSecretNoneZ |
Result_PaymentSecretNoneZ.ok(byte[] o) |
Creates a new CResult_PaymentSecretNoneZ in the success state.
|