I tried to generate a twitter friendly invoice the other day (less than 280 characters) but due to the "hop_hints" the char count was more than that. my question is how I can eliminate the hop_hints from the invoice hash? I read the man entry for "invoice" command but it didn't have such option
getinfo output
v0.6.3
Hey, thanks for the bug report!
I never thought of this! Hmm, there's a developer-only option in master called dev-routes which you can use to override the normal heuristics, eg. 'dev-routes=[]'. But I never thought of a normal option to do this...
Yech, you could restart with --offline, generate the invoice, then restart without. That will work, but it's damn clumsy!
Great, thanks for the --offline tip. didn't know it is possible to start offline.
Most helpful comment
Hey, thanks for the bug report!
I never thought of this! Hmm, there's a developer-only option in master called
dev-routeswhich you can use to override the normal heuristics, eg. 'dev-routes=[]'. But I never thought of a normal option to do this...Yech, you could restart with
--offline, generate the invoice, then restart without. That will work, but it's damn clumsy!