2020-03-23 01:43:03 +07:00
< div class = "container-xl" * ngIf = "mempoolBlock$ | async as mempoolBlock" >
2020-03-17 21:53:20 +07:00
< div class = "title-block" >
2021-10-26 21:47:17 -03:00
< h1 > {{ ordinal$ | async }}</ h1 >
2021-05-03 10:11:30 -03:00
< button [ routerLink ]="['/' | relativeUrl ]" class = "btn btn-sm float-right" > ✕ </ button >
2020-03-17 21:53:20 +07:00
</ div >
2020-07-19 19:49:27 +07:00
< div class = "clearfix" ></ div >
2020-03-17 21:53:20 +07:00
< div class = "box" >
< div class = "row" >
2021-08-21 01:46:28 -03:00
< div class = "col-md" >
2022-06-15 01:40:05 +00:00
< table class = "table table-borderless table-striped" >
2020-03-17 21:53:20 +07:00
< tbody >
2022-06-15 01:40:05 +00:00
< tr >
< td i18n = "mempool-block.median-fee" > Median fee</ td >
2023-06-15 15:17:32 -04:00
< td > ~< app-fee-rate [ fee ]=" mempoolBlock . medianFee " rounding = "1.0-0" ></ app-fee-rate > < span class = "fiat" >< app-fiat [ value ]=" mempoolBlock . medianFee * 140 " digitsInfo = "1.2-2" i18n-ngbTooltip = "Transaction fee tooltip" ngbTooltip = "Based on average native segwit transaction of 140 vBytes" placement = "bottom" ></ app-fiat ></ span ></ td >
2022-06-15 01:40:05 +00:00
</ tr >
< tr >
< td i18n = "mempool-block.fee-span" > Fee span</ td >
2023-06-15 15:17:32 -04:00
< td >< span class = "yellow-color" >
< app-fee-rate [ fee ]=" mempoolBlock . feeRange [ 0 ]" [ showUnit ]=" false " rounding = "1.0-0" ></ app-fee-rate >
-
< app-fee-rate [ fee ]=" mempoolBlock . feeRange [ mempoolBlock . feeRange . length - 1 ]" rounding = "1.0-0" ></ app-fee-rate >
</ span ></ td >
2022-06-15 01:40:05 +00:00
</ tr >
< tr >
< td i18n = "block.total-fees|Total fees in a block" > Total fees</ td >
< td >< app-amount [ satoshis ]=" mempoolBlock . totalFees " [ digitsInfo ]="' 1 . 2-2 '" [ noFiat ]=" true " ></ app-amount > < span class = "fiat" >< app-fiat [ value ]=" mempoolBlock . totalFees " digitsInfo = "1.0-0" ></ app-fiat ></ span ></ td >
</ tr >
< tr >
< td i18n = "mempool-block.transactions" > Transactions</ td >
< td > {{ mempoolBlock.nTx }}</ td >
</ tr >
< tr >
< td i18n = "mempool-block.size" > Size</ td >
< td >
< div class = "progress" >
< div class = "progress-bar progress-mempool {{ (network$ | async) }}" role = "progressbar" [ ngStyle ]="{' width ' : ( mempoolBlock . blockVSize / stateService . blockVSize ) * 100 + '%' }" ></ div >
< div class = "progress-text" [ innerHTML ]=" mempoolBlock . blockSize | bytes: 2 " ></ div >
</ div >
</ td >
</ tr >
2020-03-17 21:53:20 +07:00
</ tbody >
</ table >
2023-06-07 13:22:27 -04:00
< app-fee-distribution-graph * ngIf = "webGlEnabled" [ transactions ]=" mempoolBlockTransactions $ | async " [ feeRange ]=" mempoolBlock . isStack ? mempoolBlock . feeRange : []" [ vsize ]=" mempoolBlock . blockVSize " ></ app-fee-distribution-graph >
2020-03-17 21:53:20 +07:00
</ div >
2021-12-15 23:53:12 +04:00
< div class = "col-md chart-container" >
2022-05-31 22:25:09 +00:00
< app-mempool-block-overview * ngIf = "webGlEnabled" [ index ]=" mempoolBlockIndex " ( txPreviewEvent )=" setTxPreview ($ event )" ></ app-mempool-block-overview >
2023-06-07 13:22:27 -04:00
< app-fee-distribution-graph * ngIf = "!webGlEnabled" [ transactions ]=" mempoolBlockTransactions $ | async " [ feeRange ]=" mempoolBlock . isStack ? mempoolBlock . feeRange : []" [ vsize ]=" mempoolBlock . blockVSize " ></ app-fee-distribution-graph >
2021-12-15 23:53:12 +04:00
</ div >
2020-03-17 21:53:20 +07:00
</ div >
</ div >
< br >
2020-12-02 04:19:33 +09:00
</ div >