State we keep for validation activities. More...
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... | |
State we keep for validation activities.
Each of these is both in the validation_heap and the validation_map.
Definition at line 2690 of file gnunet-service-transport.c.
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 2696 of file gnunet-service-transport.c.
Referenced by free_validation_state(), handle_validation_response(), revalidation_start_cb(), start_address_validation(), and validation_start_cb().
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 2704 of file gnunet-service-transport.c.
Referenced by handle_validation_response(), start_address_validation(), and validation_start_cb().
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 2710 of file gnunet-service-transport.c.
Referenced by handle_validation_response(), and start_address_validation().