|
Electroneum
|
#include <infra.h>
Public Attributes | |
| int | qps [RATE_WINDOW] |
| time_t | timestamp [RATE_WINDOW] |
Data for ratelimits per domain name It is incremented when a non-cache-lookup happens for that domain name. The name is the delegation point we have for the name. If a new delegation point is found (a referral reply), the previous delegation point is decremented, and the new one is charged with the query.
| int rate_data::qps[RATE_WINDOW] |
| time_t rate_data::timestamp[RATE_WINDOW] |