|
|
@ -11,12 +11,12 @@ This protocol framework is also used by Whatsapp and Wireguard and is very well
|
|
|
|
If you want to learn more we suggest you check out http://www.noiseprotocol.org/
|
|
|
|
If you want to learn more we suggest you check out http://www.noiseprotocol.org/
|
|
|
|
====
|
|
|
|
====
|
|
|
|
|
|
|
|
|
|
|
|
=== Ligtning Messages
|
|
|
|
=== Lightning Messages
|
|
|
|
|
|
|
|
|
|
|
|
Each Ligtning Message contains 2 bytes indicating the *type* of message, and a variable-length *payload*.
|
|
|
|
Each Lightning Message contains 2 bytes indicating the *type* of message, and a variable-length *payload*.
|
|
|
|
A *payload* needs to be interpreted according the *type*.
|
|
|
|
A *payload* needs to be interpreted according the *type*.
|
|
|
|
|
|
|
|
|
|
|
|
A Ligtning Message falls into one of the following groups:
|
|
|
|
A Lightning Message falls into one of the following groups:
|
|
|
|
|
|
|
|
|
|
|
|
[cols="3,3,10",options="header"]
|
|
|
|
[cols="3,3,10",options="header"]
|
|
|
|
|=======
|
|
|
|
|=======
|
|
|
|