From be42eb5c88e270c53f542f8b71d0d9552ff67a35 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89lo=C3=AFs?= <elois@ifee.fr>
Date: Fri, 18 May 2018 16:20:37 +0000
Subject: [PATCH] add HEADs message format

---
 rfc/0004_ws2p_v1.md | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/rfc/0004_ws2p_v1.md b/rfc/0004_ws2p_v1.md
index 136bfd9..916ad9e 100644
--- a/rfc/0004_ws2p_v1.md
+++ b/rfc/0004_ws2p_v1.md
@@ -225,6 +225,19 @@ The set of heads known by a duniter node at the moment is public information ava
 
 Each new head received from the same node overwrites the previous head in memory, so that only the current state of the network is stored.
 
+HEADs message format :
+
+    {
+        name: "HEAD",
+        body: {
+            heads: [
+                HEAD_0,
+                HEAD_1,
+                ...
+            ]
+        }
+    }
+
 ### HEAD v0
 
 Accepted since duniter-ts **v1.6.0**
-- 
GitLab