Fix tunnel delivery instruction doc errors (tickets #1845, #1846)

This commit is contained in:
zzz
2016-09-17 16:20:02 +00:00
parent feec6e60c8
commit 6b83cfab5c

View File

@@ -3,8 +3,8 @@ Tunnel Message Specification
============================ ============================
.. meta:: .. meta::
:category: Design :category: Design
:lastupdated: February 2014 :lastupdated: September 2016
:accuratefor: 0.9.11 :accuratefor: 0.9.26
.. contents:: .. contents::
@@ -229,8 +229,7 @@ or a complete (unfragmented) I2NP message, and the instructions are:
To Hash :: To Hash ::
32 bytes 32 bytes
Optional, present if delivery type is DESTINATION, ROUTER, or TUNNEL Optional, present if delivery type is ROUTER or TUNNEL
If DESTINATION, the SHA256 Hash of the destination
If ROUTER, the SHA256 Hash of the router If ROUTER, the SHA256 Hash of the router
If TUNNEL, the SHA256 Hash of the gateway router If TUNNEL, the SHA256 Hash of the gateway router
@@ -262,7 +261,7 @@ or a complete (unfragmented) I2NP message, and the instructions are:
Total length: Typical length is: Total length: Typical length is:
3 bytes for LOCAL delivery (tunnel message); 3 bytes for LOCAL delivery (tunnel message);
35 bytes for ROUTER / DESTINATION delivery or 39 bytes for TUNNEL 35 bytes for ROUTER delivery or 39 bytes for TUNNEL
delivery (unfragmented tunnel message); delivery (unfragmented tunnel message);
39 bytes for ROUTER delivery or 43 bytes for TUNNEL delivery (first 39 bytes for ROUTER delivery or 43 bytes for TUNNEL delivery (first
fragment) fragment)
@@ -303,7 +302,7 @@ instructions are:
total length: 7 bytes total length: 7 bytes
{% endhighlight %} {% endhighlight %}
JavaDoc: http://{{ i2pconv('i2p-javadocs.i2p') }}/net/i2p/data/i2np/DeliveryInstructions.html JavaDoc: http://{{ i2pconv('i2p-javadocs.i2p') }}/net/i2p/router/tunnel/FragmentHandler.html
Notes Notes