Okay, I seem to be stuckam trying to get a relatively simple getroute command to execute.
getroute id msatoshi riskfactor [cltv] [fromid] [fuzzpercent] [exclude] [maxhops]
(1) Do I need to include all the elements above, or can I ignoreuse the optional elements (which I understand to be the ones in square brackets) and rely on their default values? (2) If I can ignore the optional elements, how do I do that?
I thought the following would be enoughgetroute
command, but I get an error message about cltv being expectedspecified as such:
getroute 024...a67 1000000sat 10 exclude="687193x890x0/0, 687193x890x0/1"
I also think the exclude element above is wrong. How do I write the exclude array?
getroute id msatoshi riskfactor [cltv] [fromid] [fuzzpercent] [exclude] [maxhops]
- Do I need to include all the elements above, or can I ignore the optional elements (which I understand to be the ones in square brackets) and rely on their default values?
- If I can ignore the optional elements, how do I do that?
- How can i specify the
exclude
parameter? I had an error trying with:getroute 024...a67 1000000sat 10 exclude="687193x890x0/0, 687193x890x0/1"
(I am using Spark wallet's RPC console, FYI.)
Thanks!