A (signed) path tracking a block's flow through the DHT is represented by an array of path elements, each consisting of a peer on the path and a signature by which the peer affirms its routing decision. More...
#include <gnunet_dht_service.h>
Data Fields | |
struct GNUNET_CRYPTO_EddsaSignature | sig |
Signature affirming the hop of type GNUNET_SIGNATURE_PURPOSE_DHT_HOP. More... | |
struct GNUNET_PeerIdentity | pred |
Previous peer on the path (matches "pred" in the signed field). More... | |
A (signed) path tracking a block's flow through the DHT is represented by an array of path elements, each consisting of a peer on the path and a signature by which the peer affirms its routing decision.
Definition at line 166 of file gnunet_dht_service.h.
struct GNUNET_CRYPTO_EddsaSignature GNUNET_DHT_PathElement::sig |
Signature affirming the hop of type GNUNET_SIGNATURE_PURPOSE_DHT_HOP.
Definition at line 172 of file gnunet_dht_service.h.
Referenced by GDS_NEIGHBOURS_handle_reply(), GNUNET_DHT_verify_path(), handle_dht_p2p_put(), handle_dht_p2p_result(), and run().
struct GNUNET_PeerIdentity GNUNET_DHT_PathElement::pred |
Previous peer on the path (matches "pred" in the signed field).
The public key used to create the sig is in the next path element, or is the sender of the message if this was the last path element.
The "succ" field can be found in 'pred' if there are two more path elements in the path, is the sender if there is only one more path element, or the recipient if this was the last element on the path.
Definition at line 184 of file gnunet_dht_service.h.
Referenced by GDS_helper_put_message_get_size(), GDS_NEIGHBOURS_handle_reply(), GNUNET_DHT_verify_path(), handle_dht_p2p_put(), handle_dht_p2p_result(), and run().