Browse Source

Make the data more pretty

master
Duke Leto 3 years ago
parent
commit
2a8ded42e2
  1. 46
      hip-0155.md

46
hip-0155.md

@ -75,41 +75,15 @@ Clients SHOULD reject messages with longer addresses, irrespective of the networ
The list of reserved network IDs is as follows:
!Network ID
!Enumeration
!Address length (bytes)
!Description
|-
| <code>0x01</code>
| <code>IPV4</code>
| 4
| IPv4 address (globally routed internet)
|-
| <code>0x02</code>
| <code>IPV6</code>
| 16
| IPv6 address (globally routed internet)
|-
| <code>0x03</code>
| <code>TORV2</code>
| 10
| Tor v2 hidden service address
|-
| <code>0x04</code>
| <code>TORV3</code>
| 32
| Tor v3 hidden service address
|-
| <code>0x05</code>
| <code>I2P</code>
| 32
| I2P overlay network address
|-
| <code>0x06</code>
| <code>CJDNS</code>
| 16
| Cjdns overlay network address
|}
Network ID | Enumeration | Address Length (bytes) | Description
--------------|------------------|--------------------------|------------
<code>0x01</code> | <code>IPV4</code> | 4 | IPv4 address (globally routed internet) |
<code>0x02</code> | <code>IPV6</code> | 16 | IPv6 address (globally routed internet) |
<code>0x03</code> | <code>TORV2</code> | 10 | Tor v2 hidden service address |
<code>0x04</code> | <code>TORV3</code> | 32 | Tor v3 hidden service address |
<code>0x05</code> | <code>I2P</code> | 32 | I2P overlay network address |
<code>0x06</code> | <code>CJDNS</code> | 16 | Cjdns overlay network address |
Clients are RECOMMENDED to gossip addresses from all known networks even if they are currently not connected to some of them. That could help multi-homed nodes and make it more difficult for an observer to tell which networks a node is connected to.
@ -131,7 +105,7 @@ For older peers, that did not emit <code>sendaddrv2</code>, keep sending the leg
# Reference implementation
The reference implementation is available at (to be done)
The reference implementation is available in the `p2p` branch of hush3.git
# Acknowledgements

Loading…
Cancel
Save