aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal
diff options
context:
space:
mode:
authorMaran <maran.hidskes@gmail.com>2014-06-11 16:27:58 +0800
committerMaran <maran.hidskes@gmail.com>2014-06-11 16:27:58 +0800
commit0ee258bb75a4b6649f67499884871d4ca774cd1f (patch)
tree99b0582f934a57f6c499a5be967dc15d90976745 /ethereal
parent66199497a0f2e3358bc0fc7cd638cdb4cbe37eba (diff)
downloaddexon-0ee258bb75a4b6649f67499884871d4ca774cd1f.tar.gz
dexon-0ee258bb75a4b6649f67499884871d4ca774cd1f.tar.zst
dexon-0ee258bb75a4b6649f67499884871d4ca774cd1f.zip
Add GasLimit to the block explorer
Diffstat (limited to 'ethereal')
-rw-r--r--ethereal/assets/qml/wallet.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/ethereal/assets/qml/wallet.qml b/ethereal/assets/qml/wallet.qml
index fece8e7d6..70e877be6 100644
--- a/ethereal/assets/qml/wallet.qml
+++ b/ethereal/assets/qml/wallet.qml
@@ -419,6 +419,7 @@ ApplicationWindow {
Text { text: '<b>Hash:</b> ' + hash; color: "#F2F2F2"}
Text { text: '<b>Coinbase:</b> ' + coinbase; color: "#F2F2F2"}
Text { text: '<b>Block found at:</b> ' + prettyTime; color: "#F2F2F2"}
+ Text { text: '<b>Gas Limit:</b> ' + 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)})
}
}