conflict fixed

This commit is contained in:
raja.blaze 2019-09-06 16:10:26 +05:30
commit 19585e2cb1
4 changed files with 12 additions and 12 deletions

View File

@ -658,8 +658,8 @@ export class BlockchainKernelController {
} }
const TransactionFeeQuery = await getConnection(Global.network) const TransactionFeeQuery = await getConnection(Global.network)
.query( .query(
"select 1 as hash, date(DATE_TRUNC('day', timestamp)) as date, sum(fee)/1000000 as fee \ "select 1 as hash, date(DATE_TRUNC('day', timestamp)) as date, avg(fee)/1000000000 as fee \
from blockchain_block t1 join blockchain_kernel t2 on t2.block_id=t1.hash where " + from blockchain_block t1 join blockchain_kernel t2 on t2.block_id=t1.hash where fee > 0 and " +
timeIntervalQry + timeIntervalQry +
"group by DATE_TRUNC('day', timestamp) order by date", "group by DATE_TRUNC('day', timestamp) order by date",
) )
@ -670,7 +670,7 @@ export class BlockchainKernelController {
Fee = []; Fee = [];
TransactionFeeQuery.forEach(e => { TransactionFeeQuery.forEach(e => {
date.push(moment(e.date).format('YYYY-MM-DD')); date.push(moment(e.date).format('YYYY-MM-DD'));
Fee.push(parseInt(e.fee)); Fee.push(e.fee);
}); });
if(date.length == 0){ if(date.length == 0){

View File

@ -3,7 +3,7 @@
"transactions-over-time" : "Transaktionen im Zeitverlauf", "transactions-over-time" : "Transaktionen im Zeitverlauf",
"blocks-by-algorithm" : "Blöcke nach Algorithmus", "blocks-by-algorithm" : "Blöcke nach Algorithmus",
"blocks" : "Blöcke", "blocks" : "Blöcke",
"transaction-fees" : "Transkationsgebühren", "transaction-fees" : "durchschnittliche Transaktionsgebühr",
"supply-growth" : "Angebotswachstum", "supply-growth" : "Angebotswachstum",
"blocks-mined" : "Blöcke abgebaut", "blocks-mined" : "Blöcke abgebaut",
"hashrate-growth-chart" : "HashRate-Wachstumstabelle", "hashrate-growth-chart" : "HashRate-Wachstumstabelle",
@ -47,13 +47,13 @@
"BLOCKSINTERVAL" : "Sperrintervall", "BLOCKSINTERVAL" : "Sperrintervall",
"SUPPLY_GROWTH_HOVER" : "Aktuelle Blockbelohnung", "SUPPLY_GROWTH_HOVER" : "Aktuelle Blockbelohnung",
"BOCKS_COUNT_HOVER" : "Anzahl der letzten 24h Blöcke", "BOCKS_COUNT_HOVER" : "Anzahl der letzten 24h Blöcke",
"TRANSACTION_FEE_HOVER" : "Heute Transaktionsgebühren insgesamt", "TRANSACTION_FEE_HOVER" : "24h Durchschnittsgebühr",
"BLOCK_INTERVAL_HOVER" : "Heute Blockintervall in Sekunden", "BLOCK_INTERVAL_HOVER" : "Heute Blockintervall in Sekunden",
"TRANSACTION_LINECHAT_HOVER" : "Heute Gesamtzahl der Transaktionen", "TRANSACTION_LINECHAT_HOVER" : "Heute Gesamtzahl der Transaktionen",
"BLOCK_INTERVAL_BW_BLOCKS_HOVER" : "Letztes Blockintervall in Sekunden", "BLOCK_INTERVAL_BW_BLOCKS_HOVER" : "Letztes Blockintervall in Sekunden",
"BLOCK" : "Block", "BLOCK" : "Block",
"BLOCKS_MINED" : "Blöcke abgebaut", "BLOCKS_MINED" : "Blöcke abgebaut",
"TRANSACTION_FEES" : "Transkationsgebühren", "TRANSACTION_FEES" : "durchschnittliche Transaktionsgebühr",
"SUPPLY_GROWTH" : "Angebotswachstum", "SUPPLY_GROWTH" : "Angebotswachstum",
"HASHRATE_GROWTH_CHART" : "HashRate-Wachstumstabelle", "HASHRATE_GROWTH_CHART" : "HashRate-Wachstumstabelle",
"BLOCK_INTERVAL" : "Durchschnittliches Sperrintervall", "BLOCK_INTERVAL" : "Durchschnittliches Sperrintervall",

View File

@ -3,7 +3,7 @@
"transactions-over-time" : "Transactions over time", "transactions-over-time" : "Transactions over time",
"blocks-by-algorithm" : "Blocks by Algorithm", "blocks-by-algorithm" : "Blocks by Algorithm",
"blocks" : "Blocks", "blocks" : "Blocks",
"transaction-fees" : "Transaction Fees", "transaction-fees" : "Average Transaction Fee",
"supply-growth" : "Supply Growth", "supply-growth" : "Supply Growth",
"blocks-mined" : "Blocks Mined", "blocks-mined" : "Blocks Mined",
"hashrate-growth-chart" : "HashRate Growth Chart", "hashrate-growth-chart" : "HashRate Growth Chart",
@ -47,13 +47,13 @@
"BLOCKSINTERVAL" : "Block Interval", "BLOCKSINTERVAL" : "Block Interval",
"SUPPLY_GROWTH_HOVER" : "Current Block Reward", "SUPPLY_GROWTH_HOVER" : "Current Block Reward",
"BOCKS_COUNT_HOVER" : "Last 24h Blocks Count", "BOCKS_COUNT_HOVER" : "Last 24h Blocks Count",
"TRANSACTION_FEE_HOVER" : "Today Total Transaction Fees", "TRANSACTION_FEE_HOVER" : "24h Avg Fee",
"BLOCK_INTERVAL_HOVER" : "Today Block Interval in Secs", "BLOCK_INTERVAL_HOVER" : "Today Block Interval in Secs",
"TRANSACTION_LINECHAT_HOVER" : "Today Total Transaction Count", "TRANSACTION_LINECHAT_HOVER" : "Today Total Transaction Count",
"BLOCK_INTERVAL_BW_BLOCKS_HOVER" : "Last Block Interval in Secs", "BLOCK_INTERVAL_BW_BLOCKS_HOVER" : "Last Block Interval in Secs",
"BLOCK" : "Block", "BLOCK" : "Block",
"BLOCKS_MINED" : "Blocks Mined", "BLOCKS_MINED" : "Blocks Mined",
"TRANSACTION_FEES" : "Transaction Fees", "TRANSACTION_FEES" : "Average Transaction Fee",
"SUPPLY_GROWTH" : "Supply Growth", "SUPPLY_GROWTH" : "Supply Growth",
"HASHRATE_GROWTH_CHART" : "HashRate Growth Chart", "HASHRATE_GROWTH_CHART" : "HashRate Growth Chart",
"BLOCK_INTERVAL" : "Avg Block Interval", "BLOCK_INTERVAL" : "Avg Block Interval",

View File

@ -940,9 +940,9 @@ export class GraphListComponent implements OnInit {
{ {
x: gDate, x: gDate,
y: gaddedreward, y: gaddedreward,
// type: 'scatter', // type: 'line',
// mode: 'lines', //mode: 'lines',
//fill: 'tozeroy', //fill: 'tozeroy',
type: 'line', type: 'line',
name: '', name: '',
line: { line: {