Skip to content

Commit

Permalink
update Typos
Browse files Browse the repository at this point in the history
update Typos
  • Loading branch information
CobitCoin committed Jun 26, 2018
1 parent d3513c1 commit 378d2d7
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
var api = 'https://blockchain.cobitcoin.io/blockapi';
var blockTargetInterval = 120;
var coinUnits = 100000;
var coinUnits = 1000000;
var symbol = 'CBC';
var refreshDelay = 30000;
var refreshDelay = 10000;
// pools stats by MainCoins
var networkStat = {
"cbc": [
Expand Down
4 changes: 2 additions & 2 deletions pages/blockchain_block.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ <h3 class="transactions"><i class="fa fa-exchange fa-fw" aria-hidden="true"></i>
updateText('block.currentTxsMedian', block.sizeMedian);
updateText('block.effectiveTxsMedian', block.effectiveSizeMedian);
updateText('block.rewardPenalty', block.penalty*100 + "%");
updateText('block.baseReward', getReadableCoins(block.baseReward*1000));
updateText('block.baseReward', getReadableCoins(block.baseReward));
updateText('block.transactionsFee', getReadableCoins(block.totalFeeAmount));
updateText('block.reward', getReadableCoins(block.reward*1000));
updateText('block.reward', getReadableCoins(block.reward));
updateText('block.totalCoins', getReadableCoins(block.alreadyGeneratedCoins));
updateText('block.totalTransactions', block.alreadyGeneratedTransactions);
renderTransactions(block.transactions);
Expand Down
4 changes: 2 additions & 2 deletions pages/blockchain_payment_id.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ <h3><i class="fa fa-exchange fa-fw" aria-hidden="true"></i> Transactions with th

function getTransactionCells(transaction){
return '<td>' + formatPaymentLink(transaction.hash) + '</td>' +
'<td>' + getReadableCoins(transaction.fee, 4, true) + '</td>' +
'<td>' + getReadableCoins(transaction.amount_out, 4, true) + '</td>' +
'<td>' + getReadableCoins(transaction.fee, 6, true) + '</td>' +
'<td>' + getReadableCoins(transaction.amount_out, 6, true) + '</td>' +
'<td>' + transaction.size + '</td>';
}

Expand Down
2 changes: 1 addition & 1 deletion pages/blockchain_transaction.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ <h3 class="outputs">Outputs (<span id="outputs_count"></span>)</h3>
updateText('transaction.timestamp', formatDate(block.timestamp));
$(".transaction-timeago").timeago('update', new Date(block.timestamp * 1000).toISOString());
}
updateText('transaction.amount_out', getReadableCoins(details.amount_out));
updateText('transaction.amount_out', (getReadableCoins(details.amount_out)));
updateText('transaction.fee', getReadableCoins(details.fee));
updateText('transaction.mixin', details.mixin);
if (!details.mixin)
Expand Down
6 changes: 3 additions & 3 deletions pages/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,9 @@ <h3 class="panel-title"><i class="fa fa-chain fa-fw" aria-hidden="true"></i> Rec
cache: 'false',
success: function(data){
block = data.result.block;
updateText('totalCoins', getReadableCoins(block.alreadyGeneratedCoins*1000,2));
updateText('emissionPercent', (block.alreadyGeneratedCoins / 300000000000 * 100).toFixed(4));
updateText('currentReward', getReadableCoins(block.baseReward *1000,4));
updateText('totalCoins', getReadableCoins(block.alreadyGeneratedCoins,6));
updateText('emissionPercent', (block.alreadyGeneratedCoins / 3000000000000000 * 100).toFixed(6));
updateText('currentReward', getReadableCoins(block.baseReward,6));
}
});
}
Expand Down
2 changes: 1 addition & 1 deletion q/supply/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

$supply = $blockData[result][block][alreadyGeneratedCoins];

$supply = number_format($supply / 1000000000000, 12, ".", "");
$supply = number_format($supply / 1000000, 6, ".", "");

print_r($supply);

Expand Down

0 comments on commit 378d2d7

Please sign in to comment.