|
@ -12,38 +12,42 @@ block content |
|
|
code #{JSON.stringify(mempoolstats, null, 4)} |
|
|
code #{JSON.stringify(mempoolstats, null, 4)} |
|
|
|
|
|
|
|
|
if (true) |
|
|
if (true) |
|
|
table(class="table") |
|
|
div(class="card mb-3") |
|
|
tr |
|
|
div(class="card-header") |
|
|
th(class="table-active properties-header") Transaction Count |
|
|
span(class="h6") Summary |
|
|
td #{getmempoolinfo.size.toLocaleString()} |
|
|
div(class="card-body") |
|
|
|
|
|
table(class="table details-table mb-0") |
|
|
tr |
|
|
tr |
|
|
- var mem1Data = utils.formatLargeNumber(getmempoolinfo.usage, 2); |
|
|
td(class="properties-header") Transaction Count |
|
|
- var mem2Data = utils.formatLargeNumber(getmempoolinfo.bytes, 2); |
|
|
td #{getmempoolinfo.size.toLocaleString()} |
|
|
|
|
|
|
|
|
th(class="table-active properties-header") Memory Usage |
|
|
tr |
|
|
td(class="monospace") |
|
|
- var mem1Data = utils.formatLargeNumber(getmempoolinfo.usage, 2); |
|
|
span #{mem1Data[0]} #{mem1Data[1].abbreviation}B |
|
|
- var mem2Data = utils.formatLargeNumber(getmempoolinfo.bytes, 2); |
|
|
span(class="text-muted") (virtual size: #{mem2Data[0]} #{mem2Data[1].abbreviation}B) |
|
|
|
|
|
|
|
|
td(class="properties-header") Memory Usage |
|
|
tr |
|
|
td(class="monospace") |
|
|
th(class="table-active properties-header") Total Fees |
|
|
span #{mem1Data[0]} #{mem1Data[1].abbreviation}B |
|
|
td(class="monospace") |
|
|
span(class="text-muted") (virtual size: #{mem2Data[0]} #{mem2Data[1].abbreviation}B) |
|
|
- var currencyValue = mempoolstats["totalFees"]; |
|
|
|
|
|
include includes/value-display.pug |
|
|
tr |
|
|
|
|
|
td(class="properties-header") Total Fees |
|
|
if (getmempoolinfo.size > 0) |
|
|
td(class="monospace") |
|
|
tr |
|
|
- var currencyValue = mempoolstats["totalFees"]; |
|
|
th(class="table-active properties-header") Average Fee |
|
|
include includes/value-display.pug |
|
|
td(class="monospace") #{utils.formatCurrencyAmount(mempoolstats["averageFee"], currencyFormatType)} |
|
|
|
|
|
if (global.exchangeRate) |
|
|
if (getmempoolinfo.size > 0) |
|
|
span |
|
|
tr |
|
|
span(data-toggle="tooltip", title=utils.formatExchangedCurrency(mempoolstats["averageFee"])) |
|
|
td(class="properties-header") Average Fee |
|
|
i(class="fas fa-exchange-alt") |
|
|
td(class="monospace") #{utils.formatCurrencyAmount(mempoolstats["averageFee"], currencyFormatType)} |
|
|
|
|
|
if (global.exchangeRate) |
|
|
tr |
|
|
span |
|
|
th(class="table-active properties-header") Average Fee per Byte |
|
|
span(data-toggle="tooltip", title=utils.formatExchangedCurrency(mempoolstats["averageFee"])) |
|
|
td(class="monospace") #{utils.formatCurrencyAmountInSmallestUnits(mempoolstats["averageFeePerByte"])}/B |
|
|
i(class="fas fa-exchange-alt") |
|
|
|
|
|
|
|
|
|
|
|
tr |
|
|
|
|
|
td(class="properties-header") Average Fee per Byte |
|
|
|
|
|
td(class="monospace") #{utils.formatCurrencyAmountInSmallestUnits(mempoolstats["averageFeePerByte"], 2)}/B |
|
|
|
|
|
|
|
|
if (getmempoolinfo.size > 0) |
|
|
if (getmempoolinfo.size > 0) |
|
|
h2(class="h5") Transactions by fee rate |
|
|
h2(class="h5") Transactions by fee rate |
|
@ -126,7 +130,7 @@ block content |
|
|
span(data-toggle="tooltip", title=utils.formatExchangedCurrency(avgFee)) |
|
|
span(data-toggle="tooltip", title=utils.formatExchangedCurrency(avgFee)) |
|
|
i(class="fas fa-exchange-alt") |
|
|
i(class="fas fa-exchange-alt") |
|
|
|
|
|
|
|
|
td(class="text-right monospace") #{utils.formatCurrencyAmountInSmallestUnits(avgFeeRate)}/B |
|
|
td(class="text-right monospace") #{utils.formatCurrencyAmountInSmallestUnits(avgFeeRate, 2)}/B |
|
|
else |
|
|
else |
|
|
td(class="text-right monospace") - |
|
|
td(class="text-right monospace") - |
|
|
td(class="text-right monospace") - |
|
|
td(class="text-right monospace") - |
|
|