forked from I2P_Developers/i2p.www
note on address sorting
This commit is contained in:
@@ -3,8 +3,8 @@ Common structures Specification
|
|||||||
===============================
|
===============================
|
||||||
.. meta::
|
.. meta::
|
||||||
:category: Design
|
:category: Design
|
||||||
:lastupdated: August 2016
|
:lastupdated: January 2017
|
||||||
:accuratefor: 0.9.26
|
:accuratefor: 0.9.28
|
||||||
|
|
||||||
.. contents::
|
.. contents::
|
||||||
|
|
||||||
@@ -1019,6 +1019,8 @@ Notes
|
|||||||
* The peer_size Integer_ may be followed by a list of that many router hashes.
|
* The peer_size Integer_ may be followed by a list of that many router hashes.
|
||||||
This is currently unused. It was intended for a form of restricted routes,
|
This is currently unused. It was intended for a form of restricted routes,
|
||||||
which is unimplemented.
|
which is unimplemented.
|
||||||
|
Certain implementations may require the list to be sorted so the signature is invariant.
|
||||||
|
To be researched before enabling this feature.
|
||||||
|
|
||||||
* The signature may be verified using the signing public key of the
|
* The signature may be verified using the signing public key of the
|
||||||
router_ident.
|
router_ident.
|
||||||
@@ -1026,6 +1028,10 @@ Notes
|
|||||||
* See the network database page [NETDB-ROUTERINFO]_ for standard options that
|
* See the network database page [NETDB-ROUTERINFO]_ for standard options that
|
||||||
are expected to be present in all router infos.
|
are expected to be present in all router infos.
|
||||||
|
|
||||||
|
* Very old routers required the addresses to be sorted by the SHA256 of their data
|
||||||
|
so the signature is invariant.
|
||||||
|
This is no longer required, and not worth implementing for backward compatibility.
|
||||||
|
|
||||||
JavaDoc: http://{{ i2pconv('i2p-javadocs.i2p') }}/net/i2p/data/router/RouterInfo.html
|
JavaDoc: http://{{ i2pconv('i2p-javadocs.i2p') }}/net/i2p/data/router/RouterInfo.html
|
||||||
|
|
||||||
.. _struct-DeliveryInstructions:
|
.. _struct-DeliveryInstructions:
|
||||||
|
Reference in New Issue
Block a user