Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moved msg type description from BOLT#2 to BOLT#1 #35

Merged
merged 7 commits into from
Dec 6, 2016

Conversation

pm47
Copy link
Collaborator

@pm47 pm47 commented Dec 5, 2016

Makes more sense I think, since some messages are described in BOLT #1.

@@ -23,6 +23,13 @@ A node MUST NOT send an evenly-typed message not listed here without prior negot
A node MUST ignore a received message of unknown type, if that type is odd.
A node MUST fail the channels if it receives a message of unknown type, if that type is even.

The messages are grouped logically into 4 groups by their most significant set bit:

- Setup & signalling (types `0`-`31`): comprises setup of the cryptographic transport, communication of supported features and error reporting. These are described below.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can remove "setup of the cryptographic transport," as that doesn't use these codes.

@pm47 pm47 merged commit 9bb732f into lightning:master Dec 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants