From a72b357ee6a506c59ca4b487e8e28ec4382bd6f6 Mon Sep 17 00:00:00 2001 From: sstone Date: Tue, 14 Feb 2017 16:02:44 +0100 Subject: [PATCH] BOLT 1: specify connection handling see #109 --- 01-messaging.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/01-messaging.md b/01-messaging.md index 3fc976a..5134117 100644 --- a/01-messaging.md +++ b/01-messaging.md @@ -9,6 +9,7 @@ The default TCP port is 9735. This corresponds to hexadecimal `0x2607`, the unic All data fields are big-endian unless otherwise specified. ## Table of Contents + * [Connection handling and multiplexing](#connection-handling-and-multiplexing) * [Lightning Message Format](#lightning-message-format) * [Setup Messages](#setup-messages) * [The `init` message](#the-init-message) @@ -17,6 +18,11 @@ All data fields are big-endian unless otherwise specified. * [References](#references) * [Authors](#authors) +## Connection handling and multiplexing + +Implementations MUST use one connection per peer, channel messages (which include a channel id) being multiplexed over this single connection. + + ## Lightning Message Format After decryption, all lightning messages are of the form: