{% extends "_base.html" %} {% load i18n %} {% load labelbase_tags %} {% load sekizai_tags %} {% block content %} {% if labelbase %}

Fill Missing Data - {{ labelbase.name }}

{% if labelbase.fingerprint %}{{ labelbase.fingerprint }}{% endif %} {% if labelbase.about %}

{{ labelbase.about }}

{% endif %}

Auto-populate BIP-329 additional fields (height, time, value) for outputs from OutputStat data.

{% if can_fill_from_outputstat %}
{{ can_fill_from_outputstat|length }} output labels can be filled!
{% else %}
All good! All {{ already_complete|length }} output labels have their fields populated.
{% endif %} {% if can_fill_from_outputstat %}
{{ can_fill_from_outputstat|length }} Output labels can be filled from OutputStat

These output labels have OutputStat data available. Can populate: height, time, value.

    {% for item in can_fill_from_outputstat %}
  • {{ item.label.get_type_display }}: {{ item.label.ref }}
    Label: {{ item.label.label|default:"(empty)" }}
    Missing fields: {{ item.missing_fields|join:", " }}
    Available data: height={{ item.output_stat.confirmed_at_block_height }}, time={{ item.output_stat.confirmed_at_block_time }}, value={{ item.output_stat.value }} sats
    {% csrf_token %}
    Edit
  • {% endfor %}
{% csrf_token %}
{% endif %} {% if already_complete %}
✓ {{ already_complete|length }} Output labels already have all fields populated

These output labels have all applicable BIP-329 additional fields (height, time, value) populated.

    {% for label in already_complete %}
  • {{ label.get_type_display }}: {{ label.ref }}
    {{ label.label }}
  • {% endfor %}
{% endif %}
{% else %}

Labelbase not found.

{% endif %} {% endblock %}