From 62baffd03406bffa6c2ee644a7d982d1c0a85ff0 Mon Sep 17 00:00:00 2001 From: scilicet64 Date: Wed, 24 Apr 2019 10:34:45 +0200 Subject: [PATCH 1/2] MN staking requirement set to 10000BDX. Blockreward set to 2BDX (90% MN, 10% Miner) --- src/cryptonote_basic/cryptonote_basic_impl.cpp | 5 +++++ src/cryptonote_core/master_node_rules.cpp | 1 + 2 files changed, 6 insertions(+) diff --git a/src/cryptonote_basic/cryptonote_basic_impl.cpp b/src/cryptonote_basic/cryptonote_basic_impl.cpp index aa43f42d80..44c7864afb 100644 --- a/src/cryptonote_basic/cryptonote_basic_impl.cpp +++ b/src/cryptonote_basic/cryptonote_basic_impl.cpp @@ -97,6 +97,11 @@ namespace cryptonote { return true; } + if(height>=56500) + { + reward = COIN * 2; + return true; + } static_assert(DIFFICULTY_TARGET_V2%60==0&&DIFFICULTY_TARGET_V1%60==0,"difficulty targets must be a multiple of 60"); const int target = version < 2 ? DIFFICULTY_TARGET_V1 : DIFFICULTY_TARGET_V2; const int target_minutes = target / 60; diff --git a/src/cryptonote_core/master_node_rules.cpp b/src/cryptonote_core/master_node_rules.cpp index 55649e7b46..5bc29cfdc1 100644 --- a/src/cryptonote_core/master_node_rules.cpp +++ b/src/cryptonote_core/master_node_rules.cpp @@ -12,6 +12,7 @@ namespace master_nodes { uint64_t get_staking_requirement(cryptonote::network_type m_nettype, uint64_t height, int hf_version) { uint64_t result = COIN * 100000; + if(height>=56500) result = COIN * 10000; return result; } From e941ca8001f7f71165273eb168c4e17d1907e786 Mon Sep 17 00:00:00 2001 From: sarath-beldex Date: Wed, 24 Apr 2019 14:44:45 +0530 Subject: [PATCH 2/2] changed patch version --- src/version.cpp.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/version.cpp.in b/src/version.cpp.in index 49acb4ba75..8377a5fdcf 100644 --- a/src/version.cpp.in +++ b/src/version.cpp.in @@ -1,6 +1,6 @@ #define DEF_BELDEX_VERSION_MAJOR 3 #define DEF_BELDEX_VERSION_MINOR 1 -#define DEF_BELDEX_VERSION_PATCH 2 +#define DEF_BELDEX_VERSION_PATCH 3 #define BELDEX_STRINGIFY2(val) #val #define BELDEX_STRINGIFY(val) BELDEX_STRINGIFY2(val)