mirror of
https://github.com/oxen-io/oxen-observer.git
synced 2023-12-14 09:22:54 +01:00
This is completely different from the old one, made much more compact and usable using the full list of truncated SN pubkeys in flex boxes.
3.8 KiB
3.8 KiB
{% extends "_basic.html" %}
{% block content %}
Service Node testing quorums:
{%for q in quorums.obligation[-18:] | reverse%}
{%endfor%}
{# quorum height + 13 here because a node only does an obligations test once the node has at least 11 blocks on top of it, which means it is 13 blocks below the blockchain height, which means it has to be (at least) the 12th oldest block, +1 because info.height is the top height + 1 #} Block {{q.height + 13}} {%if q.height + 13 > info.height%} (~{{(q.height + 13 - info.height) * 2}} minutes) {%elif q.height + 13 == info.height%} (testing now!) {%else%} (~{{(info.height - (q.height + 13)) * 2}} minutes ago) {%endif%}
Validators:
{%for v in q.quorum.validators%}
{{v}}
{%endfor%}
SNs to test:
{%for w in q.quorum.workers%}
{{w}}
{%endfor%}
Recent pulse quorums:
Current block height: {{info.height}}
{%for q in quorums.pulse[-24:] | reverse%}
{%if q.height == info.height%}
{% endblock %}
Next block
{%else%} {%endfor%}Recent checkpoint quorums:
Current block height: {{info.height}}
{%for q in quorums.checkpoint[-12:] | reverse%}
{%endfor%}
Block {{q.height}}
{%for v in q.quorum.validators%}
{{v}}
{%endfor%}