Skip to content

Onion message follow-ups  #1607

Open
Open
@valentinewallace

Description

@valentinewallace
  • Force users to use path_id
  • Enable the addition of dummy blinded hops for increased privacy
  • On creation, pad blinded route hops to be equal length
  • Support 1-hop blinded paths
  • Rate limit based on channel vs non-channel peers
  • Rate limit based on outbound peer buffer limits
  • Refuse to send onion messages to offline peers and drop forwards to offline peers
  • Config option for forwarding over channels-only
  • Custom TLVs, sending-side + handler on receiving side
  • Implement BOLT spec test vectors
  • Consider setting max number of hops before refusing to send
  • Custom get_route for finding an OM path (current get_route has a lot of custom stuff for payments)
  • Flip on OM feature bit (may want to conditionally flip based on whether a user has an OnionMessenger)
  • Refactor onion_utils::construct_onion_packet_with_init_noise to take one Vec instead of two
  • Minor: make onion_utils::decode_next_hop private, see Onion messages v1 #1503 (comment)
  • Add fuzz testing
  • Don't disconnect peers on garbage onion messages (cc Onion messages v1 #1503 (comment))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions