{% block stylesheet %}{% endblock %} {% macro green_if_true(cond) -%} {% if cond %}
Type | Host | Hosted nodes | Status | Block head | 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 }} | {{ node_names|join(', ') }} | {% if node.is_online() %}
online
|
{% if node.is_synced() %}
{% else %}
{% endif %}
{{ node.get_info()['blockchain_head_block_num'] }}
|
{% set info = node.get_info() %}
{{ green_if_true(info['wallet_open']) }} | {{ green_if_true(info['wallet_unlocked']) }} | {{ green_if_true(info['wallet_block_production_enabled']) }} | {% else %}{{ node.status() }} |
{% endif %} |