diff --git a/index.html b/index.html index f3b7007..827b1d7 100644 --- a/index.html +++ b/index.html @@ -307,7 +307,7 @@

Wallet Commands

-

Waiting for 6 block confirmations, this should take approximately 15 minutes.

+

Waiting for 6 block confirmations, this should take approximately 1 hour.

diff --git a/js/index.js b/js/index.js index a07012f..24f2602 100644 --- a/js/index.js +++ b/js/index.js @@ -3,10 +3,10 @@ var Bitcore = require('@anonymousbitcoin/anoncore-lib'); var socket; var paymentCycle; -var mainnetProvider = 'http://texplorer.anonfork.io/'; +var mainnetProvider = 'https://explorer.anonfork.io/'; var mainnetPrefix = 'insight-api-anon'; -var testnetProvider = 'http://texplorer.anonfork.io/'; +var testnetProvider = 'https://explorer.anonfork.io/'; var testnetPrefix = 'insight-api-anon'; var init = function(network, provider, prefix) { diff --git a/js/paymentCycle.js b/js/paymentCycle.js index 02123bb..59d5193 100644 --- a/js/paymentCycle.js +++ b/js/paymentCycle.js @@ -10,9 +10,9 @@ function PaymentCycle(gov, provider, prefix) { this.network = gov.network; this.provider = provider; this.prefix = prefix; - this.paymentCycle = 16616; - this.proposalMaturity = 1662; // ~(60*24*3)/2.6 = about three days - this.budgetCycles = 24; + this.paymentCycle = 4320; + this.proposalMaturity = 432; // ~(60*24*3)/10 = about three days + this.budgetCycles = 99; this.selectedStartIndex = 0; this.selectedPeriods = 1; @@ -58,7 +58,7 @@ PaymentCycle.prototype.getBlockTimestamp = function(block) { var blocks = block - this.blockHeight; var now = Math.floor(Date.now()); - return (now + (blocks * (155 * 1000))); // 155 seconds per block x 1000 = ms per block + return (now + (blocks * (600 * 1000))); // 155 seconds per block x 1000 = ms per block }; PaymentCycle.prototype.getTimeDifference = function(opts, start, end) { @@ -147,7 +147,7 @@ PaymentCycle.prototype.updateDropdowns = function() { $.each(this.startDate, function(index) { var eta = self.getTimeDifference(opts, now, this.timestamp); var time = this.timestamp - now; - var option = $("