forked from wownero/diff-chart
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
585 B
15 lines
585 B
5 years ago
|
var monero_config = {
|
||
|
MONEY_SUPPLY: "18446744073709551615", // (uint64_t)(-1)
|
||
|
EMISSION_SPEED_FACTOR_PER_MINUTE: 20,
|
||
|
FINAL_SUBSIDY_PER_MINUTE: 300000000000, // 3 * pow(10, 11)
|
||
|
CRYPTONOTE_DISPLAY_DECIMAL_POINT: 12,
|
||
|
DIFFICULTY_TARGET_V2: 120,
|
||
|
DIFFICULTY_TARGET_V1: 60,
|
||
|
get_difficulty_target: function(height) {
|
||
|
return height < 1009827 ? this.DIFFICULTY_TARGET_V1 : this.DIFFICULTY_TARGET_V2;
|
||
|
},
|
||
|
get_emission_speed_factor: function(target_minutes) {
|
||
|
return this.EMISSION_SPEED_FACTOR_PER_MINUTE - (target_minutes - 1);
|
||
|
},
|
||
|
};
|