Skip to content

Commit

Permalink
Merge pull request #10 from Beldex-Coin/release-v3.1.3
Browse files Browse the repository at this point in the history
Release v3.1.3
  • Loading branch information
codeman-crypto committed Apr 24, 2019
2 parents c60ac9f + f5f480c commit 75fc9eb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/cryptonote_basic/cryptonote_basic_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions src/cryptonote_core/master_node_rules.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion src/version.cpp.in
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit 75fc9eb

Please sign in to comment.