Function Channel.queueNewPayment
Queue a payment to be routed through this channel. This could be for our own payment, or forwarded from another node.
void queueNewPayment
(
in ref const(geod24 .bitblob .BitBlob!(64L)) payment_hash,
in const(Amount) amount,
in const(Height) lock_height,
in ref const(OnionPacket) packet,
in const(Height) height
) @safe;
Parameters
Name | Description |
---|---|
payment_hash | the invoice payment hash |
amount | the invoice amount |
lock_height | the lock height for the outgoing HTLC |
packet | the packet which contains the encrypted payload for the counter-party. |