Skip to content

Compact BlindedPath representation for onion messaging #2921

@jkczyz

Description

@jkczyz

BOLT 12 defines a compact representation for BlindedPaths, which uses short_channel_id in place of next_node_id for use in an OnionMessage packet's hop data: lightning/bolts@ba2b95a

Additionally, the blinded path's introduction node can use a short channel id with a direction byte: lightning/bolts@3db064e

TODO:

  • Create a BlindedPath that uses a directed scid introduction node Compact blinded path creation #3011
  • Parse a BlindedPath that uses a directed scid introduction node
  • Pay a BlindedPath that uses a directed scid introduction node
  • Resolve a directed scid from a BlindedPath introduction node
  • Create BlindedHop::encrypted_payload that use an scid as the next hop Compact blinded path creation #3011
  • Parse ForwardTlvs that use an scid as the next hop
  • Resolve an scid from a PeeledOnion::Forward

Related issues:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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