Skip to content

Definition of onion_message should be moved to BOLT-0002 #1271

Open
@gijswijs

Description

@gijswijs

The onion_message is to onion_message_packet what the update_add_htlc is to onion_routing_packet. It's even explained like that in https://github.com/lightning/bolts/blob/master/04-onion-routing.md#onion-decryption

Yet, update_add_htlc is part of BOLT-0002 but somehow onion_message is part of BOLT-0004. To be consistent the onion_message should be part of the peer protocol (BOLT-0002), and the onion_message_packet should be part of the onion routing (BOLT-0004).

I would be happy to create a PR for it, but I created the issue first to solicit feedback and see if there's enough support for such a change.

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