From f3f09bde9888507f9769eb4e2dddc5c9d15e81b6 Mon Sep 17 00:00:00 2001 From: Javier Smooth Date: Mon, 12 Oct 2015 06:38:31 -0700 Subject: [PATCH] Use DEFAULT_TX_SPENDABLE_AGE rather than CRYPTONOTE_MINED_MONEY_UNLOCK_WINDOW for mixin selection --- src/cryptonote_config.h | 2 ++ src/cryptonote_core/blockchain_storage.cpp | 2 +- src/wallet/wallet2.h | 1 - 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cryptonote_config.h b/src/cryptonote_config.h index 43709f2..453d8d2 100644 --- a/src/cryptonote_config.h +++ b/src/cryptonote_config.h @@ -123,3 +123,5 @@ #define THREAD_STACK_SIZE 5 * 1024 * 1024 #define CONFIG_DONATION_ADDRESS "WmsSWgtT1JPg5e3cK41hKXSHVpKW7e47bjgiKmWZkYrhSS5LhRemNyqayaSBtAQ6517eo5PtH9wxHVmM78JDZSUu2W8PqRiNs" + +#define DEFAULT_TX_SPENDABLE_AGE 10 diff --git a/src/cryptonote_core/blockchain_storage.cpp b/src/cryptonote_core/blockchain_storage.cpp index 79485cf..6dd9002 100644 --- a/src/cryptonote_core/blockchain_storage.cpp +++ b/src/cryptonote_core/blockchain_storage.cpp @@ -989,7 +989,7 @@ size_t blockchain_storage::find_end_of_allowed_index(const std::vector -#define DEFAULT_TX_SPENDABLE_AGE 10 #define WALLET_RCP_CONNECTION_TIMEOUT 200000 namespace tools