Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ |
Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.clone() |
Creates a new CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ which has the same data as `orig`
but with all dynamically-allocated buffers duplicated in new buffers.
|
static Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ |
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_ThirtyTwoBytesThirtyTwoBytesZNoneZ |
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_ThirtyTwoBytesThirtyTwoBytesZNoneZ |
Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.err() |
Creates a new CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ in the error state.
|
static Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ |
Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ.ok(TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ o) |
Creates a new CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZNoneZ in the success state.
|