summaryrefslogtreecommitdiff
path: root/testing/Messenger_test.c
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-04-15 18:09:07 -0400
committerirungentoo <irungentoo@gmail.com>2014-04-15 18:09:07 -0400
commitf9bf7b074acd29b0448d36a66db4339c6ae659c4 (patch)
tree0b46cfd4a2989f06004c5e57ed26a735ff9a5d4f /testing/Messenger_test.c
parent229b2b2dcdcab20f35063da9e69b6ef0ded70231 (diff)
Major protocol changes, this commit breaks all network compatibility.
Removed a bunch of useless space from various structs. pack_nodes() and unpack_nodes() are now used to transmit lists of nodes for the DHT and onion parts. They provide a way to transmit both ipv6 and ipv4 nodes in the same packet in a portable way that takes as little space as possible without compression. Using pack_nodes, merged the send nodes and send nodes ipv6 packets into one packet greatly reducing the risk of amplification attacks.
Diffstat (limited to 'testing/Messenger_test.c')
0 files changed, 0 insertions, 0 deletions