Is it possible to overwrite the fees on a channel when creating a route? #2882
DerEwige
started this conversation in
Node operators
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently I create a
PredefinedChannelRoute
when doing rebalancing.I then call
sendToRoute
with my ownPredefinedChannelRoute
andBolt11Invoice
.I tried to follow the code to see where the fees are set for each channel.
For unknown channels it seems to check the
Bolt11Invoice
for routing hints when creating aFinalizeRoute
.There are two things I try to achieve:
I could achieve 1.) by including routing hints into my
Bolt11Invoice
.Would this be somehow possible in a plugin despite this issue: #2802 ?
How would I go about 2.) Can I just create a
FinalizeRoute
manually and send to it somehow?A few pointers at the correct sections of code would be helpful.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions