Skip to content

Instantly share code, notes, and snippets.

@fjahr
Last active February 11, 2019 17:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fjahr/67b006100d66577baa0867811f9cc870 to your computer and use it in GitHub Desktop.
Save fjahr/67b006100d66577baa0867811f9cc870 to your computer and use it in GitHub Desktop.
List of all Lightning Network MW Message Types

Lightning Network MW Message Types

List of all Lightning Network Message Types for easy & quick overview.

Messages with strikethrough style exist in the original RFCs but are currently removed in Lightning MW.

Setup & Control (0 - 31)

Messages related to connection setup, control, supported features, and error reporting.

Channel (32 - 127)

Messages used to setup and tear down micropayment channels.

New

Commitment (128 - 255)

Messages related to updating the current commitment transaction, which includes adding, revoking, and settling HTLCs as well as updating fees and exchanging signatures.

New:

Routing (256 - 511)

Messages containing node and channel announcements, as well as any active route exploration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment