diff options
Diffstat (limited to '')
-rw-r--r-- | agent/agent.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/agent/agent.h b/agent/agent.h index d5aaec8b7..20a617f78 100644 --- a/agent/agent.h +++ b/agent/agent.h @@ -217,6 +217,12 @@ typedef enum } cache_mode_t; +/* The TTL is seconds used for adding a new nonce mode cache item. */ +#define CACHE_TTL_NONCE 120 + +/* The TTL in seconds used by the --preset option of some commands. */ +#define CACHE_TTL_OPT_PRESET 900 + /* The type of a function to lookup a TTL by a keygrip. */ typedef int (*lookup_ttl_t)(const char *hexgrip); |