GNUnet 0.21.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 131 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 136 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 141 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 146 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 152 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 157 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: