1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

fix order in keys and add example

This commit is contained in:
Jeff Becker 2018-02-16 07:30:41 -05:00
parent 43eb9778ae
commit a5de70310d
No known key found for this signature in database
GPG key ID: F357B3B42F6F9B05

View file

@ -82,8 +82,8 @@ An address info (AI) defines a publically reachable endpoint
{
c: transport_rank_uint16,
e: "<32 bytes public encryption key>",
d: "<transport dialect name>",
e: "<32 bytes public encryption key>",
i: "<net address>",
p: port_uint16,
v: 0
@ -93,13 +93,16 @@ example iwp address info:
{
c: 1,
e: "<32 bytes public encryption key>",
d: "iwp",
e: "<32 bytes of 0x61>",
i: "123.123.123.123",
p: 1234,
v: 0
}
bencoded form:
d1:ci1e1:d3:iwp1:e32:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa:d3:iwp1:i15:123.123.123.1231:pi1234e1:vi0ee
Exit Info (XI)