GNUnet  0.18.1
GNUNET_DHT_HopSignature Struct Reference

Message signed by a peer when doing path tracking. More...

#include <gnunet_dht_service.h>

Collaboration diagram for GNUNET_DHT_HopSignature:
[legend]

Data Fields

struct GNUNET_CRYPTO_EccSignaturePurpose purpose
 Must be GNUNET_SIGNATURE_PURPOSE_DHT_HOP. More...
 
struct GNUNET_TIME_AbsoluteNBO expiration_time
 Expiration time of the block. More...
 
struct GNUNET_HashCode h_data
 Hash over the payload of the block. More...
 
struct GNUNET_PeerIdentity pred
 Previous hop the message was received from. More...
 
struct GNUNET_PeerIdentity succ
 Next hop the message was forwarded to. More...
 

Detailed Description

Message signed by a peer when doing path tracking.

Definition at line 132 of file gnunet_dht_service.h.

Field Documentation

◆ purpose

struct GNUNET_CRYPTO_EccSignaturePurpose GNUNET_DHT_HopSignature::purpose

Must be GNUNET_SIGNATURE_PURPOSE_DHT_HOP.

Definition at line 573 of file gnunet_dht_service.h.

Referenced by GNUNET_DHT_verify_path(), and sign_path().

◆ expiration_time

struct GNUNET_TIME_AbsoluteNBO GNUNET_DHT_HopSignature::expiration_time

Expiration time of the block.

Definition at line 573 of file gnunet_dht_service.h.

◆ h_data

struct GNUNET_HashCode GNUNET_DHT_HopSignature::h_data

Hash over the payload of the block.

Definition at line 573 of file gnunet_dht_service.h.

Referenced by GNUNET_DHT_verify_path(), and sign_path().

◆ pred

struct GNUNET_PeerIdentity GNUNET_DHT_HopSignature::pred

Previous hop the message was received from.

All zeros if this peer was the initiator.

Definition at line 573 of file gnunet_dht_service.h.

Referenced by GNUNET_DHT_verify_path(), and sign_path().

◆ succ

struct GNUNET_PeerIdentity GNUNET_DHT_HopSignature::succ

Next hop the message was forwarded to.

Definition at line 573 of file gnunet_dht_service.h.

Referenced by GNUNET_DHT_verify_path(), and sign_path().


The documentation for this struct was generated from the following file: