Skip to content

Commit f0d3d1b

Browse files
committed
deploy: c6c0074
1 parent a392228 commit f0d3d1b

13 files changed

Lines changed: 46 additions & 14 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-fd1243a6.js";
38+
window.path_to_searchindex_js = "searchindex-739513d3.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-fd1243a6.js";
39+
window.path_to_searchindex_js = "searchindex-739513d3.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-fd1243a6.js";
38+
window.path_to_searchindex_js = "searchindex-739513d3.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-fd1243a6.js";
38+
window.path_to_searchindex_js = "searchindex-739513d3.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-fd1243a6.js";
38+
window.path_to_searchindex_js = "searchindex-739513d3.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-fd1243a6.js";
38+
window.path_to_searchindex_js = "searchindex-739513d3.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-fd1243a6.js";
38+
window.path_to_searchindex_js = "searchindex-739513d3.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-fd1243a6.js";
38+
window.path_to_searchindex_js = "searchindex-739513d3.js";
3939
</script>
4040
<!-- Start loading toc.js asap -->
4141
<script src="toc-294cc887.js"></script>

print.html

Lines changed: 18 additions & 2 deletions
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-fd1243a6.js";
39+
window.path_to_searchindex_js = "searchindex-739513d3.js";
4040
</script>
4141
<!-- Start loading toc.js asap -->
4242
<script src="toc-294cc887.js"></script>
@@ -1510,7 +1510,23 @@ <h3 id="get-leanv0events"><a class="header" href="#get-leanv0events"><code>GET /
15101510
<pre><code>event: head
15111511
data: {"slot":128,"block":"0x1a2b…","state":"0x3c4d…"}
15121512
</code></pre>
1513-
<p>Events are fanned out over a bounded broadcast channel. A client that reads too slowly skips past the events it missed: they are dropped for that subscriber rather than back-pressured onto the actor, so treat the stream as best-effort and re-sync via the blocks endpoints after a gap. Keep-alive comments are sent periodically to hold idle connections open.</p>
1513+
<h4 id="filtering-with-topics"><a class="header" href="#filtering-with-topics">Filtering with <code>?topics=</code></a></h4>
1514+
<p>A <strong>required</strong> comma-separated list of event names selects which events to stream:</p>
1515+
<pre><code class="language-bash">curl -N 'http://127.0.0.1:5052/lean/v0/events?topics=head,finalized_checkpoint'
1516+
</code></pre>
1517+
<p>Valid values are exactly the event names above: <code>head</code>, <code>block</code>, <code>justified_checkpoint</code>, <code>finalized_checkpoint</code>. As in the Beacon API <code>eventstream</code> endpoint, <code>topics</code> is mandatory: there is no “subscribe to everything” default; list the topics you want.</p>
1518+
<div class="table-wrapper">
1519+
<table>
1520+
<thead>
1521+
<tr><th>Status</th><th>Condition</th></tr>
1522+
</thead>
1523+
<tbody>
1524+
<tr><td><code>200</code></td><td>Stream opened for the listed topics</td></tr>
1525+
<tr><td><code>400</code></td><td><code>topics</code> is missing or empty, or any listed name is not a known topic (body names the offending value)</td></tr>
1526+
</tbody>
1527+
</table>
1528+
</div>
1529+
<p>Events are fanned out over a bounded broadcast channel. A client that reads too slowly skips past the events it missed: they are dropped for that subscriber rather than back-pressured onto the actor, so treat the stream as best-effort and re-sync via the blocks endpoints after a gap. A client that falls behind receives an SSE comment line <code>: error - dropped N messages</code> marking the gap (wire-compatible with Lighthouse) before the stream continues; re-sync via the blocks endpoints rather than trusting the skipped range. Keep-alive comments are sent periodically to hold idle connections open.</p>
15141530
<h3 id="get-leanv0blocksblock_id-and-header"><a class="header" href="#get-leanv0blocksblock_id-and-header"><code>GET /lean/v0/blocks/{block_id}</code> and <code>/header</code></a></h3>
15151531
<p><code>block_id</code> is either:</p>
15161532
<ul>

rpc.html

Lines changed: 18 additions & 2 deletions
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-fd1243a6.js";
38+
window.path_to_searchindex_js = "searchindex-739513d3.js";
3939
</script>
4040
<!-- Start loading toc.js asap -->
4141
<script src="toc-294cc887.js"></script>
@@ -272,7 +272,23 @@ <h3 id="get-leanv0events"><a class="header" href="#get-leanv0events"><code>GET /
272272
<pre><code>event: head
273273
data: {"slot":128,"block":"0x1a2b…","state":"0x3c4d…"}
274274
</code></pre>
275-
<p>Events are fanned out over a bounded broadcast channel. A client that reads too slowly skips past the events it missed: they are dropped for that subscriber rather than back-pressured onto the actor, so treat the stream as best-effort and re-sync via the blocks endpoints after a gap. Keep-alive comments are sent periodically to hold idle connections open.</p>
275+
<h4 id="filtering-with-topics"><a class="header" href="#filtering-with-topics">Filtering with <code>?topics=</code></a></h4>
276+
<p>A <strong>required</strong> comma-separated list of event names selects which events to stream:</p>
277+
<pre><code class="language-bash">curl -N 'http://127.0.0.1:5052/lean/v0/events?topics=head,finalized_checkpoint'
278+
</code></pre>
279+
<p>Valid values are exactly the event names above: <code>head</code>, <code>block</code>, <code>justified_checkpoint</code>, <code>finalized_checkpoint</code>. As in the Beacon API <code>eventstream</code> endpoint, <code>topics</code> is mandatory: there is no “subscribe to everything” default; list the topics you want.</p>
280+
<div class="table-wrapper">
281+
<table>
282+
<thead>
283+
<tr><th>Status</th><th>Condition</th></tr>
284+
</thead>
285+
<tbody>
286+
<tr><td><code>200</code></td><td>Stream opened for the listed topics</td></tr>
287+
<tr><td><code>400</code></td><td><code>topics</code> is missing or empty, or any listed name is not a known topic (body names the offending value)</td></tr>
288+
</tbody>
289+
</table>
290+
</div>
291+
<p>Events are fanned out over a bounded broadcast channel. A client that reads too slowly skips past the events it missed: they are dropped for that subscriber rather than back-pressured onto the actor, so treat the stream as best-effort and re-sync via the blocks endpoints after a gap. A client that falls behind receives an SSE comment line <code>: error - dropped N messages</code> marking the gap (wire-compatible with Lighthouse) before the stream continues; re-sync via the blocks endpoints rather than trusting the skipped range. Keep-alive comments are sent periodically to hold idle connections open.</p>
276292
<h3 id="get-leanv0blocksblock_id-and-header"><a class="header" href="#get-leanv0blocksblock_id-and-header"><code>GET /lean/v0/blocks/{block_id}</code> and <code>/header</code></a></h3>
277293
<p><code>block_id</code> is either:</p>
278294
<ul>

0 commit comments

Comments
 (0)