From 0ee258bb75a4b6649f67499884871d4ca774cd1f Mon Sep 17 00:00:00 2001 From: Maran Date: Wed, 11 Jun 2014 10:27:58 +0200 Subject: [PATCH] Add GasLimit to the block explorer --- ethereal/assets/qml/wallet.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ethereal/assets/qml/wallet.qml b/ethereal/assets/qml/wallet.qml index fece8e7d6e..70e877be6a 100644 --- a/ethereal/assets/qml/wallet.qml +++ b/ethereal/assets/qml/wallet.qml @@ -419,6 +419,7 @@ ApplicationWindow { Text { text: 'Hash: ' + hash; color: "#F2F2F2"} Text { text: 'Coinbase: ' + coinbase; color: "#F2F2F2"} Text { text: 'Block found at: ' + prettyTime; color: "#F2F2F2"} + Text { text: 'Gas Limit: ' + gasLimit; color: "#F2F2F2"} } } } @@ -642,9 +643,9 @@ ApplicationWindow { } if(initial){ - blockModel.append({number: block.number, coinbase: block.coinbase, hash: block.hash, txs: txs, txAmount: amount, time: block.time, prettyTime: convertToPretty(block.time)}) + blockModel.append({number: block.number, gasLimit: block.gasLimit, coinbase: block.coinbase, hash: block.hash, txs: txs, txAmount: amount, time: block.time, prettyTime: convertToPretty(block.time)}) }else{ - blockModel.insert(0, {number: block.number, coinbase: block.coinbase, hash: block.hash, txs: txs, txAmount: amount, time: block.time, prettyTime: convertToPretty(block.time)}) + blockModel.insert(0, {number: block.number, gasLimit: block.gasLimit, coinbase: block.coinbase, hash: block.hash, txs: txs, txAmount: amount, time: block.time, prettyTime: convertToPretty(block.time)}) } }