{% extends "base.html" %} {% block title %} {{ block.super }} - Closures{% endblock %} {% block content %} {% load humanize %} {% if pending_closed %}
| Channel ID | Peer Alias | Channel Point | Capacity | Local Balance | Remote Balance | Balance In Limbo | Local Commit Fees | Closing TX |
|---|---|---|---|---|---|---|---|---|
| {{ channel.short_chan_id }} | {% if channel.alias == '' %}{{ channel.remote_node_pub|slice:":12" }}{% else %}{{ channel.alias }}{% endif %} | {% with funding_txid=channel.channel_point|slice:":-2" %}{{ channel.channel_point }} | {% endwith %}{{ channel.capacity|intcomma }} | {{ channel.local_balance|intcomma }} | {{ channel.remote_balance|intcomma }} | {{ channel.limbo_balance|intcomma }} | {{ channel.local_commit_fee_sat }} | {{ channel.closing_txid }} |
| Channel ID | Peer Alias | Channel Point | Capacity | Local Balance | Remote Balance | Balance In Limbo | Maturity | Closing TX |
|---|---|---|---|---|---|---|---|---|
| {{ channel.short_chan_id }} | {% if channel.alias == '' %}{{ channel.remote_node_pub|slice:":12" }}{% else %}{{ channel.alias }}{% endif %} | {% with funding_txid=channel.channel_point|slice:":-2" %}{{ channel.channel_point }} | {% endwith %}{{ channel.capacity|intcomma }} | {{ channel.local_balance|intcomma }} | {{ channel.remote_balance|intcomma }} | {{ channel.limbo_balance|intcomma }} | {{ channel.maturity_datetime|naturaltime }} | {{ channel.closing_txid }} |
| Channel ID | Peer Alias | Channel Point | Capacity | Local Balance | Remote Balance | Balance In Limbo | Local Commit Fee | Closing TX |
|---|---|---|---|---|---|---|---|---|
| {{ channel.short_chan_id }} | {% if channel.alias == '' %}{{ channel.remote_node_pub|slice:":12" }}{% else %}{{ channel.alias }}{% endif %} | {% with funding_txid=channel.channel_point|slice:":-2" %}{{ channel.channel_point }} | {% endwith %}{{ channel.capacity|intcomma }} | {{ channel.local_balance|intcomma }} | {{ channel.remote_balance|intcomma }} | {{ channel.limbo_balance|intcomma }} | {{ channel.local_commit_fee_sat }} | {{ channel.closing_txid }} |
| Channel ID | Alias | Capacity | Closing TXID | Settled Balance | Locked Balance | Close Height | Close Type | Opener | Closer | Resolutions | Costs 🗘 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {% if closure.chan_id == '0' %}---{% else %}{{ closure.short_chan_id }}{% endif %} | {% if closure.alias == '' %}{{ closure.remote_pubkey|slice:":12" }}{% else %}{{ closure.alias }}{% endif %} | {{ closure.capacity|intcomma }} | {% if closure.closing_tx == '0000000000000000000000000000000000000000000000000000000000000000' %}---{% else %}{{ closure.closing_tx }}{% endif %} | {{ closure.settled_balance|intcomma }} | {{ closure.time_locked_balance|intcomma }} | {{ closure.close_height|intcomma }} | {% if closure.close_type == 0 %}Cooperative{% elif closure.close_type == 1 %}Local Force{% elif closure.close_type == 2 %}Remote Force{% elif closure.close_type == 3 %}Breach{% elif closure.close_type == 4 %}Funding Cancelled{% elif closure.close_type == 5 %}Abandoned{% else %}{{ closure.close_type }}{% endif %} | {% if closure.open_initiator == 0 %}Unknown{% elif closure.open_initiator == 1 %}Local{% elif closure.open_initiator == 2 %}Remote{% elif closure.open_initiator == 3 %}Both{% else %}{{ closure.open_initiator }}{% endif %} | {% if closure.close_initiator == 0 %}Unknown{% elif closure.close_initiator == 1 %}Local{% elif closure.close_initiator == 2 %}Remote{% elif closure.close_initiator == 3 %}Both{% else %}{{ closure.close_initiator }}{% endif %} | {% if closure.resolution_count > 0 %}Details{% else %}---{% endif %} | {% if closure.close_type == 4 or closure.close_type == 5 %} --- {% elif closure.open_initiator == 2 and closure.resolution_count == 0 %} --- {% else %} {% endif %} |