Skip to content

Commit a182ee2

Browse files
committed
deploy: 892155f
1 parent 17c5796 commit a182ee2

13 files changed

Lines changed: 22 additions & 12 deletions

3sf_mini.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
const path_to_root = "";
3636
const default_light_theme = "light";
3737
const default_dark_theme = "navy";
38-
window.path_to_searchindex_js = "searchindex-c54f2e7a.js";
38+
window.path_to_searchindex_js = "searchindex-60b0072f.js";
3939
</script>
4040
<!-- Start loading toc.js asap -->
4141
<script src="toc-294cc887.js"></script>

404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
const path_to_root = "";
3737
const default_light_theme = "light";
3838
const default_dark_theme = "navy";
39-
window.path_to_searchindex_js = "searchindex-c54f2e7a.js";
39+
window.path_to_searchindex_js = "searchindex-60b0072f.js";
4040
</script>
4141
<!-- Start loading toc.js asap -->
4242
<script src="toc-294cc887.js"></script>

checkpoint_sync.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
const path_to_root = "";
3636
const default_light_theme = "light";
3737
const default_dark_theme = "navy";
38-
window.path_to_searchindex_js = "searchindex-c54f2e7a.js";
38+
window.path_to_searchindex_js = "searchindex-60b0072f.js";
3939
</script>
4040
<!-- Start loading toc.js asap -->
4141
<script src="toc-294cc887.js"></script>

fork_choice_visualization.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
const path_to_root = "";
3636
const default_light_theme = "light";
3737
const default_dark_theme = "navy";
38-
window.path_to_searchindex_js = "searchindex-c54f2e7a.js";
38+
window.path_to_searchindex_js = "searchindex-60b0072f.js";
3939
</script>
4040
<!-- Start loading toc.js asap -->
4141
<script src="toc-294cc887.js"></script>

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
const path_to_root = "";
3636
const default_light_theme = "light";
3737
const default_dark_theme = "navy";
38-
window.path_to_searchindex_js = "searchindex-c54f2e7a.js";
38+
window.path_to_searchindex_js = "searchindex-60b0072f.js";
3939
</script>
4040
<!-- Start loading toc.js asap -->
4141
<script src="toc-294cc887.js"></script>

introduction.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
const path_to_root = "";
3636
const default_light_theme = "light";
3737
const default_dark_theme = "navy";
38-
window.path_to_searchindex_js = "searchindex-c54f2e7a.js";
38+
window.path_to_searchindex_js = "searchindex-60b0072f.js";
3939
</script>
4040
<!-- Start loading toc.js asap -->
4141
<script src="toc-294cc887.js"></script>

lmd_ghost.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
const path_to_root = "";
3636
const default_light_theme = "light";
3737
const default_dark_theme = "navy";
38-
window.path_to_searchindex_js = "searchindex-c54f2e7a.js";
38+
window.path_to_searchindex_js = "searchindex-60b0072f.js";
3939
</script>
4040
<!-- Start loading toc.js asap -->
4141
<script src="toc-294cc887.js"></script>

metrics.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
const path_to_root = "";
3636
const default_light_theme = "light";
3737
const default_dark_theme = "navy";
38-
window.path_to_searchindex_js = "searchindex-c54f2e7a.js";
38+
window.path_to_searchindex_js = "searchindex-60b0072f.js";
3939
</script>
4040
<!-- Start loading toc.js asap -->
4141
<script src="toc-294cc887.js"></script>

print.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
const path_to_root = "";
3737
const default_light_theme = "light";
3838
const default_dark_theme = "navy";
39-
window.path_to_searchindex_js = "searchindex-c54f2e7a.js";
39+
window.path_to_searchindex_js = "searchindex-60b0072f.js";
4040
</script>
4141
<!-- Start loading toc.js asap -->
4242
<script src="toc-294cc887.js"></script>
@@ -1447,6 +1447,7 @@ <h2 id="api-server-5052"><a class="header" href="#api-server-5052">API Server (<
14471447
</thead>
14481448
<tbody>
14491449
<tr><td><code>GET</code></td><td><code>/lean/v0/health</code></td><td>JSON</td><td>Liveness check</td></tr>
1450+
<tr><td><code>GET</code></td><td><code>/lean/v0/genesis</code></td><td>JSON</td><td>Genesis time and validator count</td></tr>
14501451
<tr><td><code>GET</code></td><td><code>/lean/v0/states/finalized</code></td><td>SSZ</td><td>Latest finalized <code>State</code></td></tr>
14511452
<tr><td><code>GET</code></td><td><code>/lean/v0/blocks/finalized</code></td><td>SSZ</td><td>Latest finalized <code>SignedBlock</code></td></tr>
14521453
<tr><td><code>GET</code></td><td><code>/lean/v0/checkpoints/justified</code></td><td>JSON</td><td>Latest justified <code>Checkpoint</code></td></tr>
@@ -1463,6 +1464,10 @@ <h3 id="get-leanv0health"><a class="header" href="#get-leanv0health"><code>GET /
14631464
<p>The handler emits a fixed, compact body (no whitespace):</p>
14641465
<pre><code class="language-json">{"status":"healthy","service":"lean-rpc-api"}
14651466
</code></pre>
1467+
<h3 id="get-leanv0genesis"><a class="header" href="#get-leanv0genesis"><code>GET /lean/v0/genesis</code></a></h3>
1468+
<pre><code class="language-json">{ "genesis_time": 1770407233, "validator_count": 16 }
1469+
</code></pre>
1470+
<p><code>validator_count</code> is read from the head state’s validator registry. Lean validators are fixed at genesis (no churn), so it always equals the size of the genesis registry.</p>
14661471
<h3 id="get-leanv0statesfinalized"><a class="header" href="#get-leanv0statesfinalized"><code>GET /lean/v0/states/finalized</code></a></h3>
14671472
<p>SSZ-encoded <code>State</code> at the latest finalized checkpoint (<code>Content-Type: application/octet-stream</code>). The served state has its <code>latest_block_header.state_root</code> zeroed to match the canonical post-state representation the state transition produces, so checkpoint-sync peers reconstruct an identical state root. See <a href="#checkpoint-sync">Checkpoint Sync</a>.</p>
14681473
<h3 id="get-leanv0blocksfinalized"><a class="header" href="#get-leanv0blocksfinalized"><code>GET /lean/v0/blocks/finalized</code></a></h3>

rpc.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
const path_to_root = "";
3636
const default_light_theme = "light";
3737
const default_dark_theme = "navy";
38-
window.path_to_searchindex_js = "searchindex-c54f2e7a.js";
38+
window.path_to_searchindex_js = "searchindex-60b0072f.js";
3939
</script>
4040
<!-- Start loading toc.js asap -->
4141
<script src="toc-294cc887.js"></script>
@@ -209,6 +209,7 @@ <h2 id="api-server-5052"><a class="header" href="#api-server-5052">API Server (<
209209
</thead>
210210
<tbody>
211211
<tr><td><code>GET</code></td><td><code>/lean/v0/health</code></td><td>JSON</td><td>Liveness check</td></tr>
212+
<tr><td><code>GET</code></td><td><code>/lean/v0/genesis</code></td><td>JSON</td><td>Genesis time and validator count</td></tr>
212213
<tr><td><code>GET</code></td><td><code>/lean/v0/states/finalized</code></td><td>SSZ</td><td>Latest finalized <code>State</code></td></tr>
213214
<tr><td><code>GET</code></td><td><code>/lean/v0/blocks/finalized</code></td><td>SSZ</td><td>Latest finalized <code>SignedBlock</code></td></tr>
214215
<tr><td><code>GET</code></td><td><code>/lean/v0/checkpoints/justified</code></td><td>JSON</td><td>Latest justified <code>Checkpoint</code></td></tr>
@@ -225,6 +226,10 @@ <h3 id="get-leanv0health"><a class="header" href="#get-leanv0health"><code>GET /
225226
<p>The handler emits a fixed, compact body (no whitespace):</p>
226227
<pre><code class="language-json">{"status":"healthy","service":"lean-rpc-api"}
227228
</code></pre>
229+
<h3 id="get-leanv0genesis"><a class="header" href="#get-leanv0genesis"><code>GET /lean/v0/genesis</code></a></h3>
230+
<pre><code class="language-json">{ "genesis_time": 1770407233, "validator_count": 16 }
231+
</code></pre>
232+
<p><code>validator_count</code> is read from the head state’s validator registry. Lean validators are fixed at genesis (no churn), so it always equals the size of the genesis registry.</p>
228233
<h3 id="get-leanv0statesfinalized"><a class="header" href="#get-leanv0statesfinalized"><code>GET /lean/v0/states/finalized</code></a></h3>
229234
<p>SSZ-encoded <code>State</code> at the latest finalized checkpoint (<code>Content-Type: application/octet-stream</code>). The served state has its <code>latest_block_header.state_root</code> zeroed to match the canonical post-state representation the state transition produces, so checkpoint-sync peers reconstruct an identical state root. See <a href="./checkpoint_sync.html">Checkpoint Sync</a>.</p>
230235
<h3 id="get-leanv0blocksfinalized"><a class="header" href="#get-leanv0blocksfinalized"><code>GET /lean/v0/blocks/finalized</code></a></h3>

0 commit comments

Comments
 (0)