aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_config.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-10-25 16:16:59 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-10-25 16:34:57 +0000
commitecbb732faab2b79225155dbd7f91b53ac34be669 (patch)
tree1f1e3d1fec391d2ff9fd9170e3a1f9b3516805b1 /src/cryptonote_config.h
parentMerge pull request #437 (diff)
downloadmonero-ecbb732faab2b79225155dbd7f91b53ac34be669.tar.xz
Fix leak on real output when using a very recent output
The wallet and the daemon applied different height considerations when selecting outputs to use. This can leak information on which input in a ring signature is the real one. Found and originally fixed by smooth on Aeon.
Diffstat (limited to '')
-rw-r--r--src/cryptonote_config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptonote_config.h b/src/cryptonote_config.h
index b042088bd..303e12b3b 100644
--- a/src/cryptonote_config.h
+++ b/src/cryptonote_config.h
@@ -45,6 +45,7 @@
#define CURRENT_BLOCK_MAJOR_VERSION 1
#define CURRENT_BLOCK_MINOR_VERSION 0
#define CRYPTONOTE_BLOCK_FUTURE_TIME_LIMIT 60*60*2
+#define CRYPTONOTE_DEFAULT_TX_SPENDABLE_AGE 10
#define BLOCKCHAIN_TIMESTAMP_CHECK_WINDOW 60