Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v3.1.3 #10

Merged
merged 3 commits into from
Apr 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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