{% extends "base.html" %}
{% block head %}{% endblock %}
{% block content %}
{% if not race %}
Race odds
Not enough chain history yet, check back after a few blocks.
{% else %}
{% if not mining_enabled %}
Not building right now: mining is off. Still fully validating and
syncing every block. Turn on in Settings.
{% endif %}
Odds
{{ (("~" if own_is_estimate and not race.own_pace_measured else "") ~ "%.1f"|format(race.odds_pct) ~ "%") if race.odds_pct is not none else "--" }}
{% set w = "%g"|format(race.draw_window) %}{% if race.odds_pct is none %}no blocks to judge from yet{% elif waiting_zero_odds %}at or below your minimum, so it waits for the field first{% elif own_is_estimate and not race.own_pace_measured %}estimate: our pace is not measured yet{% elif race.odds_pct == 0 %}never inside the {{ w }}s draw window{% elif race.in_draw_pct < 95 %}in the {{ w }}s draw window on {{ "%.0f"|format(race.in_draw_pct) }}% of heights{% elif race.entrants < 1.05 %}only builder inside the {{ w }}s draw window{% else %}{{ "%.1f"|format(race.entrants) }} builders inside the {{ w }}s draw window{% endif %}
Blocks won
{{ ("%.1f"|format(race.win_share_pct) ~ "%") if race.win_share_pct is not none else "--" }}
{{ "%d of the last %d"|format(race.own_blocks, race.window|length) }}
Self pace
{{ ("%.1f"|format(race.own_pace) ~ "s") if race.own_pace is not none else "--" }}
{{ "median interval of blocks we built" if race.own_pace_measured else ("estimated from calibration, no build finished yet" if own_is_estimate else "VDF clock: no block of ours in this window") }}
Window median
{{ "%.1f"|format(race.median) }}s
{{ race.window|length }} blocks
Deepest reorg
{{ reorgs.deepest if reorgs.deepest else "none" }}
{% if reorgs.count %}{{ reorgs.count }} in 30 days, ties not counted
{% else %}none deeper than a tie, 30 days{% endif %}
Block-to-block time, last {{ race.window|length }} blocks
{% for entry in chart.legend or [] %}
{% if entry.label %}
{% if entry.nick %}{{ entry.nick }}
{% else %}{{ entry.label[:10] }}…{% endif %}
{% else %}Other{% endif %}
({{ entry.count }}){% if entry.label %}{{ entry.nick or "Builder" }}{% else %}All other builders{% endif %}
{% if entry.label %}{{ entry.label }}{% endif %}
{{ entry.count }} of {{ entry.total }} blocks
{% if entry.machines %}
Machine, fastest firstBlocksMedian
{% for m in entry.machines %}
{{ m.name }}{{ m.blocks }}{{ "%.0f"|format(m.pace) }}s
{% endfor %}
{% endif %}
{% endfor %}