fixed Jamfile. updated docs with some recent changes.
This commit is contained in:
@@ -544,8 +544,11 @@ and the node id from the previous session. The dht node state is a bencoded
|
||||
dictionary with the following entries:</p>
|
||||
<dl class="docutils">
|
||||
<dt><tt class="docutils literal"><span class="pre">nodes</span></tt></dt>
|
||||
<dd>is a string with the nodes written as 6 bytes each. 4 bytes ip
|
||||
address and 2 bytes port number. Both are written in big endian byte order.</dd>
|
||||
<dd>A list of strings, where each string is a node endpoint encoded in binary. If
|
||||
the string is 6 bytes long, it is an IPv4 address of 4 bytes, encoded in
|
||||
network byte order (big endian), followed by a 2 byte port number (also
|
||||
network byte order). If the string is 18 bytes long, it is 16 bytes of IPv6
|
||||
address followed by a 2 bytes port number (also network byte order).</dd>
|
||||
<dt><tt class="docutils literal"><span class="pre">node-id</span></tt></dt>
|
||||
<dd>The node id written as a readable string as a hexadecimal number.</dd>
|
||||
</dl>
|
||||
@@ -572,8 +575,7 @@ response to a <tt class="docutils literal"><span class="pre">get_peers</span></t
|
||||
<p><tt class="docutils literal"><span class="pre">search_branching</span></tt> is the number of concurrent search request the node will
|
||||
send when announcing and refreshing the routing table. This parameter is
|
||||
called alpha in the kademlia paper.</p>
|
||||
<p><tt class="docutils literal"><span class="pre">service_port</span></tt> is the udp port the node will listen to. (currently this
|
||||
cannot be changed while the node is running).</p>
|
||||
<p><tt class="docutils literal"><span class="pre">service_port</span></tt> is the udp port the node will listen to.</p>
|
||||
<p><tt class="docutils literal"><span class="pre">max_fail_count</span></tt> is the maximum number of failed tries to contact a node
|
||||
before it is removed from the routing table. If there are known working nodes
|
||||
that are ready to replace a failing node, it will be replaced immediately,
|
||||
|
Reference in New Issue
Block a user