{% block stylesheet %}{% endblock %} {% macro green_if_true(cond) -%} {% if cond %}
Type | RPC Host | IP | p2p port | 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 }} | {{ backbone.get_ip_nofail() if node.rpc_host == 'localhost' and node.is_online() else '' }} | {{ backbone.get_p2p_port(node) if node.is_online() else '' }} | {{ 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 %} |