Electroneum
autr_point_data Struct Reference

#include <autotrust.h>

Collaboration diagram for autr_point_data:

Public Attributes

char * file
 
rbnode_type pnode
 
struct autr_takeys
 
time_t last_queried
 
time_t last_success
 
time_t next_probe_time
 
time_t query_interval
 
time_t retry_time
 
uint8_t query_failed
 
uint8_t revoked
 

Detailed Description

Autotrust metadata for a trust point. This is part of the struct trust_anchor data.

Definition at line 90 of file autotrust.h.

Member Data Documentation

◆ file

char* autr_point_data::file

file to store the trust point in. chrootdir already applied.

Definition at line 92 of file autotrust.h.

◆ keys

struct autr_ta* autr_point_data::keys

the keys

Definition at line 97 of file autotrust.h.

◆ last_queried

time_t autr_point_data::last_queried

last queried DNSKEY set Not all failures are captured in this entry. If the validator did not even start (e.g. timeout or localservfail), then the last_queried and query_failed values are not updated.

Definition at line 104 of file autotrust.h.

◆ last_success

time_t autr_point_data::last_success

last successful DNSKEY set

Definition at line 106 of file autotrust.h.

◆ next_probe_time

time_t autr_point_data::next_probe_time

next probe time

Definition at line 108 of file autotrust.h.

◆ pnode

rbnode_type autr_point_data::pnode

rbtree node for probe sort, key is struct trust_anchor

Definition at line 94 of file autotrust.h.

◆ query_failed

uint8_t autr_point_data::query_failed

How many times did it fail. diagnostic only (has no effect). Only updated if there was a dnskey rrset that failed to verify.

Definition at line 119 of file autotrust.h.

◆ query_interval

time_t autr_point_data::query_interval

when to query if !failed

Definition at line 111 of file autotrust.h.

◆ retry_time

time_t autr_point_data::retry_time

when to retry if failed

Definition at line 113 of file autotrust.h.

◆ revoked

uint8_t autr_point_data::revoked

true if the trust point has been revoked

Definition at line 121 of file autotrust.h.


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