Skip to content

Get route hints to own node via RPC #3971

Open
@hsjoberg

Description

@hsjoberg

When using keysend for sending to a node only private channels, one would need to provide route hints.
To be able to get route hints for a node, AFAICT the only way to do that is to call AddInvoice with private: true.
It's not an optimal solution as that would also trigger SubscribeInvoices stream.

It would be good to have a QueryRouteHints API function that gets all route hints to a node.

I could work on this depending on the difficulty of the task, but I'm opening an issue about it to keep track of this functionality and for discussion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions