From 2a4db59d2fe48533a532b663f8e4a9613c38f574 Mon Sep 17 00:00:00 2001 From: j-berman Date: Thu, 14 Oct 2021 20:13:17 -0700 Subject: [PATCH] Decrease "recent_spend_window" to 15 --- src/util/gamma_picker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/gamma_picker.cpp b/src/util/gamma_picker.cpp index ba6ebb5..5ad1023 100644 --- a/src/util/gamma_picker.cpp +++ b/src/util/gamma_picker.cpp @@ -41,7 +41,7 @@ namespace lws constexpr const double gamma_scale = 1 / double(1.61); constexpr const std::size_t blocks_in_a_year = (86400 * 365) / DIFFICULTY_TARGET_V2; constexpr const std::size_t default_unlock_time = CRYPTONOTE_DEFAULT_TX_SPENDABLE_AGE * DIFFICULTY_TARGET_V2; - constexpr const std::size_t recent_spend_window = 50 * DIFFICULTY_TARGET_V2; + constexpr const std::size_t recent_spend_window = 15 * DIFFICULTY_TARGET_V2; } gamma_picker::gamma_picker(std::vector rct_offsets)