summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2020-06-16 01:48:00 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2020-06-16 01:48:00 +0200
commite500e9ec3678dfbb666d173854c134ac3858f8b1 (patch)
treeca2f6cc0328328ab41c5a814178f0385a8c7d2f0
parenta07778df40ee840a8da6d222e05e66962c902227 (diff)
Set workbits for PoWs to more realistic values
-rw-r--r--src/nse/nse.conf.in2
-rw-r--r--src/revocation/revocation.conf.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/nse/nse.conf.in b/src/nse/nse.conf.in
index d3c9a64b1..6330254e9 100644
--- a/src/nse/nse.conf.in
+++ b/src/nse/nse.conf.in
@@ -35,4 +35,4 @@ INTERVAL = 1 h
# for SCRYPT; with 2ms/op and 5ms workdelay, we can expect
# the POW calculation to be done by a high-end peer in about 6h
# DO NOT CHANGE THIS VALUE, doing so will break the protocol!
-WORKBITS = 22
+WORKBITS = 15
diff --git a/src/revocation/revocation.conf.in b/src/revocation/revocation.conf.in
index 346168785..04393ea9f 100644
--- a/src/revocation/revocation.conf.in
+++ b/src/revocation/revocation.conf.in
@@ -13,7 +13,7 @@ UNIX_MATCH_GID = YES
# 2^25 hash operations take about 16-24h on a first-generation i7
# (using only a single-core) with SCRYPT.
# DO NOT CHANGE THIS VALUE, doing so will break the protocol!
-WORKBITS = 25
+WORKBITS = 22
EPOCH_DURATION = 356 d
DATABASE = $GNUNET_DATA_HOME/revocation.dat