Skip to content

Commit

Permalink
decommission credit reduced to 12hr to 3hr
Browse files Browse the repository at this point in the history
  • Loading branch information
victor-tucci committed Sep 11, 2023
1 parent 04af98d commit 154150c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cryptonote_core/master_node_rules.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ namespace master_nodes {
inline constexpr int64_t DECOMMISSION_INITIAL_CREDIT = BLOCKS_PER_HOUR * 2;
inline constexpr int64_t DECOMMISSION_MAX_CREDIT = BLOCKS_PER_DAY * 2;
inline constexpr int64_t DECOMMISSION_MINIMUM = BLOCKS_PER_HOUR * 2;
inline constexpr int64_t DECOMMISSION_INITIAL_CREDIT_V18 = BLOCKS_PER_HOUR * 12;
inline constexpr int64_t DECOMMISSION_INITIAL_CREDIT_V18 = BLOCKS_PER_HOUR * 3;

static_assert(DECOMMISSION_INITIAL_CREDIT <= DECOMMISSION_MAX_CREDIT, "Initial registration decommission credit cannot be larger than the maximum decommission credit");
static_assert(DECOMMISSION_INITIAL_CREDIT_V18 <= DECOMMISSION_MAX_CREDIT, "Initial registration decommission credit cannot be larger than the maximum decommission credit");
Expand Down

0 comments on commit 154150c

Please sign in to comment.