Function Network.getPaymentPath

Build a path between two nodes in the network

Hop[] getPaymentPath (
  agora.crypto.ECC.Point from_pk,
  agora.crypto.ECC.Point to_pk,
  Amount amount,
  Set!(geod24.bitblob.BitBlob!(64L).BitBlob) ignore_chans = Set(null)
) nothrow @safe;

Parameters

NameDescription
from_pk Source node public key
to_pk Destination node public key
amount Amount of the payment
ignore_chans Channels to ignore

Returns

If found, path from source to destination