Skip to content
Snippets Groups Projects
Commit be42eb5c authored by Éloïs's avatar Éloïs
Browse files

add HEADs message format

parent d765286f
Branches ws2p_v1
No related tags found
1 merge request!4RFC 4 : Duniter WS2P API v1
...@@ -225,6 +225,19 @@ The set of heads known by a duniter node at the moment is public information ava ...@@ -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. 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 ### HEAD v0
Accepted since duniter-ts **v1.6.0** Accepted since duniter-ts **v1.6.0**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment