[ad_1]
I’m interested in finding paths from senders whose node you don’t run to potential receivers. According to https://api.lightning.community/?python#queryroutes , you can do that by specifying the parameter source_pub_key
to be any public key you wish and not just yours. In reality, this does not work as the querryroutes
command does not support any other parameters than:
OPTIONS:
dest value: the 33-byte hex-encoded public key for the payment destination
amt value: the amount to send expressed in satoshis
fee_limit value: maximum fee allowed in satoshis when sending the payment
fee_limit_percent value: percentage of the payment’s amount used as the maximum fee allowed when sending the payment
final_cltv_delta value: number of blocks the last hop has to reveal the preimage
use_mc: use mission control probabilities
Does anyone know if there used to be a possibility of adding source_pub_key
and it was removed or it never existed in the first place? More importantly, is there a way to construct paths from a source to a destination, when you don’t actually run the node of the source and you don’t care about actually forwarding payments and packets but rather just constructing paths according to the shortest paths algorithm of lnd
.
[ad_2]
Source link