regenerated html
This commit is contained in:
parent
159f6c8742
commit
f99be2455a
|
@ -100,7 +100,7 @@ i.e. the node ID of the node sending the message, to maintain the structure of t
|
||||||
network.</p>
|
network.</p>
|
||||||
<p>The <tt class="docutils literal">token</tt> field also has the same semantics as the standard DHT message <tt class="docutils literal">get_peers</tt>
|
<p>The <tt class="docutils literal">token</tt> field also has the same semantics as the standard DHT message <tt class="docutils literal">get_peers</tt>
|
||||||
and <tt class="docutils literal">announce_peer</tt>, when requesting an item and to write an item respectively.</p>
|
and <tt class="docutils literal">announce_peer</tt>, when requesting an item and to write an item respectively.</p>
|
||||||
<p>The <tt class="docutils literal">k</tt> field is the 32 byte ed25519 public key, which the signature
|
<p>The <tt class="docutils literal">k</tt> field is the 32 byte curve25519 public key, which the signature
|
||||||
can be authenticated with. When looking up a mutable item, the <tt class="docutils literal">target</tt> field
|
can be authenticated with. When looking up a mutable item, the <tt class="docutils literal">target</tt> field
|
||||||
MUST be the SHA-1 hash of this key.</p>
|
MUST be the SHA-1 hash of this key.</p>
|
||||||
<p>The distinction between storing mutable and immutable items is the inclusion
|
<p>The distinction between storing mutable and immutable items is the inclusion
|
||||||
|
@ -191,7 +191,7 @@ and a node hosting the list node MUST not downgrade a list head from a higher se
|
||||||
number to a lower one, only upgrade. The sequence number SHOULD not exceed <tt class="docutils literal">MAX_INT64</tt>,
|
number to a lower one, only upgrade. The sequence number SHOULD not exceed <tt class="docutils literal">MAX_INT64</tt>,
|
||||||
(i.e. <tt class="docutils literal">0x7fffffffffffffff</tt>. A client MAY reject any message with a sequence number
|
(i.e. <tt class="docutils literal">0x7fffffffffffffff</tt>. A client MAY reject any message with a sequence number
|
||||||
exceeding this. A client MAY also reject any message with a negative sequence number.</p>
|
exceeding this. A client MAY also reject any message with a negative sequence number.</p>
|
||||||
<p>The signature is a 64 byte ed25519 signature of the bencoded sequence
|
<p>The signature is a 64 byte curve25519 signature of the bencoded sequence
|
||||||
number concatenated with the <tt class="docutils literal">v</tt> key. e.g. something like this:: <tt class="docutils literal">3:seqi4e1:v12:Hello world!</tt>.</p>
|
number concatenated with the <tt class="docutils literal">v</tt> key. e.g. something like this:: <tt class="docutils literal">3:seqi4e1:v12:Hello world!</tt>.</p>
|
||||||
<div class="section" id="id1">
|
<div class="section" id="id1">
|
||||||
<h2>put message</h2>
|
<h2>put message</h2>
|
||||||
|
@ -202,9 +202,9 @@ number concatenated with the <tt class="docutils literal">v</tt> key. e.g. somet
|
||||||
{
|
{
|
||||||
"cas": <em><optional 20 byte hash (string)></em>,
|
"cas": <em><optional 20 byte hash (string)></em>,
|
||||||
"id": <em><20 byte id of sending node (string)></em>,
|
"id": <em><20 byte id of sending node (string)></em>,
|
||||||
"k": <em><ed25519 public key (32 bytes string)></em>,
|
"k": <em><curve25519 public key (32 bytes string)></em>,
|
||||||
"seq": <em><monotonically increasing sequence number (integer)></em>,
|
"seq": <em><monotonically increasing sequence number (integer)></em>,
|
||||||
"sig": <em><ed25519 signature (64 bytes string)></em>,
|
"sig": <em><curve25519 signature (64 bytes string)></em>,
|
||||||
"token": <em><write-token (string)></em>,
|
"token": <em><write-token (string)></em>,
|
||||||
"v": <em><any bencoded type, whose encoded size < 1000></em>
|
"v": <em><any bencoded type, whose encoded size < 1000></em>
|
||||||
},
|
},
|
||||||
|
@ -307,11 +307,11 @@ a critical feature in synchronization of multiple agents sharing an immutable it
|
||||||
"r":
|
"r":
|
||||||
{
|
{
|
||||||
"id": <em><20 byte id of sending node (string)></em>,
|
"id": <em><20 byte id of sending node (string)></em>,
|
||||||
"k": <em><ed25519 public key (32 bytes string)></em>,
|
"k": <em><curve25519 public key (32 bytes string)></em>,
|
||||||
"nodes": <em><IPv4 nodes close to 'target'></em>,
|
"nodes": <em><IPv4 nodes close to 'target'></em>,
|
||||||
"nodes6": <em><IPv6 nodes close to 'target'></em>,
|
"nodes6": <em><IPv6 nodes close to 'target'></em>,
|
||||||
"seq": <em><monotonically increasing sequence number (integer)></em>,
|
"seq": <em><monotonically increasing sequence number (integer)></em>,
|
||||||
"sig": <em><ed25519 signature (64 bytes string)></em>,
|
"sig": <em><curve25519 signature (64 bytes string)></em>,
|
||||||
"token": <em><write-token (string)></em>,
|
"token": <em><write-token (string)></em>,
|
||||||
"v": <em><any bencoded type, whose encoded size <= 1000></em>
|
"v": <em><any bencoded type, whose encoded size <= 1000></em>
|
||||||
},
|
},
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<meta name="generator" content="Docutils 0.10: http://docutils.sourceforge.net/" />
|
<meta name="generator" content="Docutils 0.11: http://docutils.sourceforge.net/" />
|
||||||
<title></title>
|
<title></title>
|
||||||
<link rel="stylesheet" type="text/css" href="../../css/base.css" />
|
<link rel="stylesheet" type="text/css" href="../../css/base.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="../../css/rst.css" />
|
<link rel="stylesheet" type="text/css" href="../../css/rst.css" />
|
||||||
|
|
Loading…
Reference in New Issue