aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-09-26 17:56:43 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-09-27 22:46:47 +0100
commit434e0f42e71a4c064baa5df87081f6b0e49daa6b (patch)
treecec5020f797ca419aec3576a58c6366b6fa69304
parenthardfork: rescan speedup (diff)
downloadmonero-434e0f42e71a4c064baa5df87081f6b0e49daa6b.tar.xz
hardfork: make the voting window a week
-rw-r--r--src/cryptonote_core/hardfork.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/hardfork.h b/src/cryptonote_core/hardfork.h
index 2fcc2d539..6b98b9fa1 100644
--- a/src/cryptonote_core/hardfork.h
+++ b/src/cryptonote_core/hardfork.h
@@ -47,7 +47,7 @@ namespace cryptonote
static const uint64_t DEFAULT_ORIGINAL_VERSION_TILL_HEIGHT = 0; // <= actual height
static const time_t DEFAULT_FORKED_TIME = 31557600; // a year in seconds
static const time_t DEFAULT_UPDATE_TIME = 31557600 / 2;
- static const uint64_t DEFAULT_WINDOW_SIZE = 50; // supermajority window check length
+ static const uint64_t DEFAULT_WINDOW_SIZE = 10080; // supermajority window check length - a week
static const int DEFAULT_THRESHOLD_PERCENT = 80;
/**