Browse Source

- include weight in block lists

- add tooltip to block-list miner text displaying the identifiedBy value
fix-133-memory-crash
Dan Janosik 6 years ago
parent
commit
552a6977ee
  1. 6
      views/includes/blocks-list.pug

6
views/includes/blocks-list.pug

@ -9,6 +9,7 @@ table(class="table table-striped table-responsive-sm")
th(class="data-header text-right") Transactions
th(class="data-header text-right") Average Fee
th(class="data-header text-right") Size (bytes)
th(class="data-header text-right") Weight (wu)
tbody
each block, blockIndex in blocks
if (block)
@ -22,7 +23,7 @@ table(class="table table-striped table-responsive-sm")
td(class="data-cell monospace text-right") #{timeAgo.format()}
td(class="data-cell monospace")
if (block.miner && block.miner.name)
span #{block.miner.name}
span(data-toggle="tooltip", title=("Identified by: " + block.miner.identifiedBy)) #{block.miner.name}
else
span ?
@ -33,4 +34,5 @@ table(class="table table-striped table-responsive-sm")
- var currencyValue = new Decimal(block.totalFees).dividedBy(block.tx.length);
include ./value-display.pug
td(class="data-cell monospace text-right") #{block.size.toLocaleString()}
td(class="data-cell monospace text-right") #{block.size.toLocaleString()}
td(class="data-cell monospace text-right") #{block.weight.toLocaleString()}
Loading…
Cancel
Save