{% block stylesheet %}{% endblock %} {% macro green_if_true(cond) -%} {% if cond %}
{{ cond }}
{% else %}
{{ cond }}
{% endif %} {%- endmacro %}
{% include 'layouts/header.html' %}
{% for host, node_names, node in rpc.client_instances() %} {% if node.is_online() %} {% if node.is_graphene_based() %} {% else %} {% set info = node.get_info() %} {% endif %} {% else %} {% endif %} {% endfor %}
Type RPC Host IP p2p port Hosted nodes Status Head block Wallet open Wallet unlocked Block production enabled
{% set node_type = node.bts_type() %} {% if node_type %} {% if node.is_online() %}
{% else %}
{% endif %} {{ node.bts_type() }}
{% endif %}
{{ host }} {{ (backbone.get_ip_nofail() if node.rpc_host == 'localhost' and node.is_online() else '') | add_ip_flag | safe }} {{ backbone.get_p2p_port(node) if node.is_online() else '' }} {{ node_names|join(', ') }}
online
{% if node.is_synced() %}
{% else %}
{% endif %} {{ node.get_head_block_num() }}
{{ green_if_true(not node.is_new()) }} {{ green_if_true(not node.is_locked()) }} {{ green_if_true(node.witness_signing_key == node.get_witness(node.name)['signing_key']) }}{{ green_if_true(not node.is_new()) }} {{ green_if_true(not node.is_locked()) }} {{ green_if_true(info['wallet_block_production_enabled']) }}
{{ node.status() }}
{% block content %} {% endblock %}
{% include 'layouts/footer.html' %} {% block scripts %}{% endblock %}