aboutsummaryrefslogtreecommitdiff
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)
downloadgnunet-e500e9ec3678dfbb666d173854c134ac3858f8b1.tar.gz
gnunet-e500e9ec3678dfbb666d173854c134ac3858f8b1.zip
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
35# for SCRYPT; with 2ms/op and 5ms workdelay, we can expect 35# for SCRYPT; with 2ms/op and 5ms workdelay, we can expect
36# the POW calculation to be done by a high-end peer in about 6h 36# the POW calculation to be done by a high-end peer in about 6h
37# DO NOT CHANGE THIS VALUE, doing so will break the protocol! 37# DO NOT CHANGE THIS VALUE, doing so will break the protocol!
38WORKBITS = 22 38WORKBITS = 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
13# 2^25 hash operations take about 16-24h on a first-generation i7 13# 2^25 hash operations take about 16-24h on a first-generation i7
14# (using only a single-core) with SCRYPT. 14# (using only a single-core) with SCRYPT.
15# DO NOT CHANGE THIS VALUE, doing so will break the protocol! 15# DO NOT CHANGE THIS VALUE, doing so will break the protocol!
16WORKBITS = 25 16WORKBITS = 22
17EPOCH_DURATION = 356 d 17EPOCH_DURATION = 356 d
18 18
19DATABASE = $GNUNET_DATA_HOME/revocation.dat 19DATABASE = $GNUNET_DATA_HOME/revocation.dat