{% macro block(block_with_conflicting_transaction, short) %}
{% for tag_id in block_with_conflicting_transaction.block.tags %} {{ block::tag(tag=block_tag_id_to_tag(id=tag_id)) }} {% endfor %} {% if short %}

Template and Block {{block_with_conflicting_transaction.block.hash}}

{% else %}

Template and Block {{block_with_conflicting_transaction.block.hash}}

{% endif %} {{ block::info(block=block_with_conflicting_transaction.block, show_previous=false) }} {% if short %} {% else %} {{ block::diff(block=block_with_conflicting_transaction.block) }} {% endif %}
{% set const_max_sets_when_short = 5 %} {% set const_max_sets_shown = 3 %} {% if not short %}

Conflicts between Template and Block

{% endif %}
{% for set in block_with_conflicting_transaction.conflicting_transaction_sets %} {% if short and loop.index0 == const_max_sets_shown %}
Show {{block_with_conflicting_transaction.conflicting_transaction_sets | length - const_max_sets_shown}} more {% endif %} {{ conflicting::transaction_set(set=set) }} {% if short and loop.index0 == const_max_sets_when_short %} This list is limited to {{const_max_sets_when_short}} (out of {{block_with_conflicting_transaction.conflicting_transaction_sets | length}}) transaction sets. See the dedicated conflicting tansactions page for this block for the full list of transactions. {% endif %} {% if loop.last and loop.index0 >= const_max_sets_shown + 1 %}
{% endif %} {% endfor %}
{% endmacro block %} {% macro transaction_set(set) %}
Template Transactions
{% for tx in set.template_transactions %} {% if loop.index == 6 %}
Show {{set.template_transactions | length - 5}} more {% endif %} {{ transaction::transaction(tx=tx, half_width=true) }} {% if loop.last and loop.index >= 6%}
{% endif %} {% endfor %}
Block Transactions
{% for tx in set.block_transactions %} {% if loop.index == 6 %}
Show {{set.block_transactions | length - 5}} more {% endif %} {{ transaction::transaction(tx=tx, half_width=true) }} {% if loop.last and loop.index >= 6%}
{% endif %} {% endfor %}
Conflicting on these previous transaction outputs:
    {% for outpoint in set.conflicting_outpoints %} {% if loop.index == 6 %}
    Show {{set.conflicting_outpoints | length - 5}} more {% endif %} Output #{{outpoint.vout}} of {{outpoint.txid}}
    open in explorer {{ transaction::explorers(txid=outpoint.txid) }}
    {% if loop.last and loop.index >= 6%}
    {% endif %} {% endfor %}
{% endmacro transaction_set %}