GNUnet 0.21.1
ValidationState Struct Reference

State we keep for validation activities. More...

Collaboration diagram for ValidationState:
[legend]

Data Fields

struct GNUNET_PeerIdentity pid
 For which peer is address to be validated (or possibly valid)? Serves as key in the validation_map. More...
 
struct GNUNET_TIME_Absolute valid_until
 How long did the peer claim this address to be valid? Capped at minimum of MAX_ADDRESS_VALID_UNTIL relative to the time where we last were told about the address and the value claimed by the other peer at that time. More...
 
struct GNUNET_TIME_Absolute validated_until
 How long do we consider this address to be valid? In the past or zero if we have not yet validated it. More...
 

Detailed Description

State we keep for validation activities.

Each of these is both in the validation_heap and the validation_map.

Definition at line 2643 of file gnunet-service-transport.c.

Field Documentation

◆ pid

struct GNUNET_PeerIdentity ValidationState::pid

For which peer is address to be validated (or possibly valid)? Serves as key in the validation_map.

Definition at line 2649 of file gnunet-service-transport.c.

Referenced by free_validation_state(), handle_validation_response(), revalidation_start_cb(), start_address_validation(), and validation_start_cb().

◆ valid_until

struct GNUNET_TIME_Absolute ValidationState::valid_until

How long did the peer claim this address to be valid? Capped at minimum of MAX_ADDRESS_VALID_UNTIL relative to the time where we last were told about the address and the value claimed by the other peer at that time.

May be updated similarly when validation succeeds.

Definition at line 2657 of file gnunet-service-transport.c.

Referenced by handle_validation_response(), start_address_validation(), and validation_start_cb().

◆ validated_until

struct GNUNET_TIME_Absolute ValidationState::validated_until

How long do we consider this address to be valid? In the past or zero if we have not yet validated it.

Definition at line 2663 of file gnunet-service-transport.c.

Referenced by handle_validation_response(), and start_address_validation().


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