oxen-observer/templates/include/mempool.html

2.2 KiB

{# Lists mempool transactions. mempool_limit can be set to limit the number of shown transactions; defaults to 25. Set explicitly to none to show all. #} {% if not mempool_limit is defined %}{% set mempool_limit = 25 %} {% elif mempool_limit is none %}{% set mempool_limit = mempool.transactions|length %} {% endif %}

Transaction Pool

{{mempool.transactions|length}} transactions, {{mempool.transactions|sum(attribute='blob_size') | si}}B

{% import 'include/tx_type_symbol.html' as symbol %} {% import 'include/tx_fee.html' as fee %} {% for tx in mempool.transactions[:mempool_limit] %} {% endfor %}
Age [hⓂ️s] Type Transaction Hash Fee/Per kB In/Out TX Size
{{tx.receive_time | from_timestamp | ago}} {{symbol.display(tx)}} {{tx.id_hash}} {%if 'rct_signatures' in tx.info%} {{fee.display(tx)}} / {{(tx.info.rct_signatures.txnFee * 1000 / tx.blob_size) | oxen(tag=false, decimals=4)}} {%else%} N/A {%endif%} {{tx.info.vin | length}}/{{tx.info.vout | length}} {{tx.blob_size | si}}B
{% if mempool.transactions|length > mempool_limit %} {% endif %}