* [`ChannelManager::create_inbound_payment`]: crate::ln::channelmanager::ChannelManager::create_inbound_payment
* [`ChannelManager::claim_funds`]: crate::ln::channelmanager::ChannelManager::claim_funds
*/
* [`ChannelManager::create_inbound_payment`]: crate::ln::channelmanager::ChannelManager::create_inbound_payment
* [`ChannelManager::claim_funds`]: crate::ln::channelmanager::ChannelManager::claim_funds
*/
/**
* The \"payment secret\". This authenticates the sender to the recipient, preventing a
* number of deanonymization attacks during the routing process.
/**
* The \"payment secret\". This authenticates the sender to the recipient, preventing a
* number of deanonymization attacks during the routing process.
private InvoicePayment(long ptr, bindings.LDKPaymentPurpose.InvoicePayment obj) {
super(null, ptr);
long payment_preimage = obj.payment_preimage;
private InvoicePayment(long ptr, bindings.LDKPaymentPurpose.InvoicePayment obj) {
super(null, ptr);
long payment_preimage = obj.payment_preimage;
if (payment_preimage_hu_conv != null) { payment_preimage_hu_conv.ptrs_to.add(this); };
this.payment_preimage = payment_preimage_hu_conv;
this.payment_secret = obj.payment_secret;
if (payment_preimage_hu_conv != null) { payment_preimage_hu_conv.ptrs_to.add(this); };
this.payment_preimage = payment_preimage_hu_conv;
this.payment_secret = obj.payment_secret;
long ret = bindings.PaymentPurpose_invoice_payment(payment_preimage.ptr, InternalUtils.check_arr_len(payment_secret, 32));
Reference.reachabilityFence(payment_preimage);
Reference.reachabilityFence(payment_secret);
long ret = bindings.PaymentPurpose_invoice_payment(payment_preimage.ptr, InternalUtils.check_arr_len(payment_secret, 32));
Reference.reachabilityFence(payment_preimage);
Reference.reachabilityFence(payment_secret);