Skip to content

Allow private channels to be used in sendtoroute #2139

@alexbosworth

Description

@alexbosworth

Background

Currently sendtoroute takes as an argument a set of hops that assume the channels specified reference channels known to the channel graph.

Completely specifying all the route details including public keys of node hops is not possible, which precludes the ability to use sendtoroute for things like sending to private recipients.

Expected behaviour

Ideally sendtoroute would accept public keys in its arguments and follow crafted routes as specified without needing to consult the channel graph for edge and node lookups.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprovements to existing features / behaviourgRPCintermediateIssues suitable for developers moderately familiar with the codebase and LNroutingrpcRelated to the RPC interface

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions