aboutsummaryrefslogtreecommitdiff
path: root/src/feature/hs/hs_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/feature/hs/hs_config.h')
-rw-r--r--src/feature/hs/hs_config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/feature/hs/hs_config.h b/src/feature/hs/hs_config.h
index b250c62c8b..bde6da9612 100644
--- a/src/feature/hs/hs_config.h
+++ b/src/feature/hs/hs_config.h
@@ -25,6 +25,9 @@
#define HS_CONFIG_V3_DOS_DEFENSE_BURST_PER_SEC_MIN 0
#define HS_CONFIG_V3_DOS_DEFENSE_BURST_PER_SEC_MAX INT32_MAX
+/* Default values for the HS anti-DoS PoW defenses. */
+#define HS_CONFIG_V3_POW_DEFENSES_DEFAULT 0
+
/* API */
int hs_config_service_all(const or_options_t *options, int validate_only);