@@ -213,16 +213,17 @@ var DashGov = ("object" === typeof module && exports) || {};
213
213
const SUPERBLOCK_INTERVAL = 16616 ;
214
214
const VOTE_LEAD_BLOCKS = 1662 ;
215
215
const PROPOSAL_LEAD_MS = 6 * 24 * 60 * 60 * 1000 ;
216
+ DashGov . PROPOSAL_LEAD_MS = PROPOSAL_LEAD_MS ;
216
217
DashGov . SUPERBLOCK_INTERVAL = SUPERBLOCK_INTERVAL ;
217
218
218
219
// not used because the actual average at any time is always closer to 157.5
219
220
//const SECONDS_PER_BLOCK_ESTIMATE = 155;
220
- DashGov . _AVG_SECS_PER_BLOCK = 157.58166827154548 ;
221
+ DashGov . _AVG_SECS_PER_BLOCK = 157.5816652623977 ;
221
222
222
223
// used to calculate ~5 year (~60 month) averages
223
- const MONTHLY_SUPERBLOCK_01_DATE = "2017-03-05T20:16:00Z " ;
224
+ const MONTHLY_SUPERBLOCK_01_DATE = "2017-03-05T20:16:05Z " ;
224
225
const MONTHLY_SUPERBLOCK_01 = 631408 ;
225
- const MONTHLY_SUPERBLOCK_61_DATE = "2022-02-26T03:53:00Z " ;
226
+ const MONTHLY_SUPERBLOCK_61_DATE = "2022-02-26T03:53:02Z " ;
226
227
const MONTHLY_SUPERBLOCK_61 = 1628368 ;
227
228
228
229
/**
@@ -281,8 +282,8 @@ var DashGov = ("object" === typeof module && exports) || {};
281
282
GObj . estimateProposalCycles = function (
282
283
cycles = 3 ,
283
284
snapshot = null ,
284
- proposalLeadtime = PROPOSAL_LEAD_MS ,
285
285
secondsPerBlock = 0 ,
286
+ proposalLeadtime = PROPOSAL_LEAD_MS ,
286
287
) {
287
288
let now = snapshot ?. ms || Date . now ( ) ;
288
289
let currentBlock = snapshot ?. block ;
0 commit comments