Result_ThirtyTwoBytesNoneZ |
Result_ThirtyTwoBytesNoneZ.clone() |
Creates a new CResult_ThirtyTwoBytesNoneZ which has the same data as `orig`
but with all dynamically-allocated buffers duplicated in new buffers.
|
static Result_ThirtyTwoBytesNoneZ |
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_ThirtyTwoBytesNoneZ |
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.
|
Result_ThirtyTwoBytesNoneZ |
NodeSigner.ecdh(Recipient recipient,
byte[] other_key,
Option_BigEndianScalarZ tweak) |
Gets the ECDH shared secret of our node secret and `other_key`, multiplying by `tweak` if
one is provided.
|
Result_ThirtyTwoBytesNoneZ |
NodeSigner.NodeSignerInterface.ecdh(Recipient recipient,
byte[] other_key,
Option_BigEndianScalarZ tweak) |
Gets the ECDH shared secret of our node secret and `other_key`, multiplying by `tweak` if
one is provided.
|
static Result_ThirtyTwoBytesNoneZ |
Result_ThirtyTwoBytesNoneZ.err() |
Creates a new CResult_ThirtyTwoBytesNoneZ in the error state.
|
static Result_ThirtyTwoBytesNoneZ |
Result_ThirtyTwoBytesNoneZ.ok(byte[] o) |
Creates a new CResult_ThirtyTwoBytesNoneZ in the success state.
|
Result_ThirtyTwoBytesNoneZ |
Bolt12Invoice.verify(ExpandedKey key) |
Verifies that the invoice was for a request or refund created using the given key.
|