You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(discovery): drop the speculative sections and home the metric with the rest
"If lean ever meets a real network" and the two `tcp` notes described a future
whose shape is not settled: what to do about a live fork schedule, and the
interop cost of publishing no `tcp` entry. Neither is something an operator
reading this page acts on today, and both would need rewriting rather than
updating once lean's fork story lands.
`lean_discovered_peers_dialed_total` moves to `docs/metrics.md`, where every
other metric is already documented in table form. It goes under the custom
(non-leanMetrics) heading, since that table's Supported column tracks spec
conformance and discv5 discovery is ours alone.
- Off by default; `--discovery.enable` plus `--discovery.port` (own UDP socket, must differ from `--gossipsub-port`)
285
285
- Reuses ethrex's `DiscoveryServer` + `PeerTable` with discv4 disabled; `spawn` takes the prepared lean ENR, so the record ethrex serves is the one we report
286
-
- ENR follows the beacon phase0 spec: `ip`/`udp`/`quic`/`secp256k1`/`eth2`/`attnets`, deliberately **no**`tcp`
286
+
- ENR follows the beacon phase0 spec: `ip`/`udp`/`quic`/`secp256k1`/`eth2`/`attnets`
287
287
- Admission mirrors lighthouse: `eth2.fork_digest` must match, `next_fork_*` may differ, `quic` entry required. Handed to the peer table as `LeanFilter: PeerFilter`, so records are judged on arrival, not at dial time; a reject is re-judged on a higher-`seq` ENR
288
288
- Candidates ranked by uncovered attestation subnets. See [`docs/discovery.md`](docs/discovery.md)
|`lean_discovered_peers_dialed_total`| Counter | Peers dialed as a result of discv5 discovery | On dialing a discovered peer ||
140
+
129
141
### Gossip Arrival Timing
130
142
131
143
These histograms record the absolute distance between a gossip message's arrival and the start of the interval it was due in, so an arrival that is early by some amount and one that is late by the same amount land in the same bucket; the counters' `position` label is what tells them apart. `inside` means the message arrived within the interval it was due in, not merely somewhere in the right slot: an attestation for slot 10 that lands during slot 10's interval 2 is `after`, not `inside`, since it missed the AttestationProduction interval it was actually due in.
0 commit comments