Skip to content

Commit 900282d

Browse files
michaelh-lainewen-coding
authored andcommitted
Add skip rate to docs and adjust block-production to use the term ski… (solana-labs#32230)
* Add skip rate to docs and adjust block-production to use the term skip rate in line with the output of solana validators * Format and adjust padding
1 parent 09f43c6 commit 900282d

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

cli-output/src/cli_output.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -226,12 +226,8 @@ impl fmt::Display for CliBlockProduction {
226226
f,
227227
"{}",
228228
style(format!(
229-
" {:<44} {:>15} {:>15} {:>15} {:>23}",
230-
"Identity",
231-
"Leader Slots",
232-
"Blocks Produced",
233-
"Skipped Slots",
234-
"Skipped Slot Percentage",
229+
" {:<44} {:>15} {:>15} {:>15} {:>15}",
230+
"Identity", "Leader Slots", "Blocks Produced", "Skipped Slots", "Skip Rate",
235231
))
236232
.bold()
237233
)?;

docs/src/terminology.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,9 @@ A 64-byte ed25519 signature of R (32-bytes) and S (32-bytes). With the requireme
292292
This requirement ensures no signature malleability. Each transaction must have at least one signature for [fee account](terminology#fee-account).
293293
Thus, the first signature in transaction can be treated as [transaction id](#transaction-id)
294294

295+
## skip rate
296+
The percentage of [skipped slots](#skipped-slot) out of the total leader slots in the current epoch. This metric can be misleading as it has high variance after the epoch boundary when the sample size is small, as well as for validators with a low number of leader slots, however can also be useful in identifying node misconfigurations at times.
297+
295298
## skipped slot
296299

297300
A past [slot](#slot) that did not produce a [block](#block), because the leader was offline or the [fork](#fork) containing the slot was abandoned for a better alternative by cluster consensus. A skipped slot will not appear as an ancestor for blocks at subsequent slots, nor increment the [block height](terminology#block-height), nor expire the oldest `recent_blockhash`.

0 commit comments

Comments
 (0)