diff options
Diffstat (limited to 'src/include/anastasis.h')
-rw-r--r-- | src/include/anastasis.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/anastasis.h b/src/include/anastasis.h index fd7ed40..b957f18 100644 --- a/src/include/anastasis.h +++ b/src/include/anastasis.h @@ -207,6 +207,24 @@ struct ANASTASIS_ChallengeStartResponse unsigned int http_status; } open_challenge; + /** + * Details for #ANASTASIS_CHALLENGE_STATUS_RATE_LIMIT_EXCEEDED. + */ + struct + { + + /** + * How many requests are allowed at most per @e request_frequency? + */ + uint32_t request_limit; + + /** + * Frequency at which requests are allowed / new challenges are + * created. + */ + struct GNUNET_TIME_Relative request_frequency; + + } rate_limit_exceeded; /** * Response with details if |