-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathmonero-config.js
33 lines (31 loc) · 1018 Bytes
/
monero-config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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);
},
get_blockheader_size(height) {
return 43;
}
};
var monero_offset_1 = {
height: 1000000,
supply: "11319902360375037196",
supply_proj: "11338799512357636715",
accum_fee: "28065472452232840",
bc_size: 2673363483,
};
var monero_offset_2 = {
height: 2000000,
supply: "17377181853051533808",
supply_proj: "17381467531075450577",
accum_fee: "94201213460887986",
bc_size: 60200955610,
};