Cleanup solana-ledger-tool slot output (#28129)
This commit is contained in:
parent
49dbae7e53
commit
8cc8a0656a
|
@ -216,13 +216,14 @@ fn output_slot(
|
||||||
|
|
||||||
if *method == LedgerOutputMethod::Print {
|
if *method == LedgerOutputMethod::Print {
|
||||||
if let Ok(Some(meta)) = blockstore.meta(slot) {
|
if let Ok(Some(meta)) = blockstore.meta(slot) {
|
||||||
if verbose_level >= 2 {
|
if verbose_level >= 1 {
|
||||||
println!(" Slot Meta {:?} is_full: {}", meta, is_full);
|
println!(" {:?} is_full: {}", meta, is_full);
|
||||||
} else {
|
} else {
|
||||||
println!(
|
println!(
|
||||||
" num_shreds: {}, parent_slot: {:?}, num_entries: {}, is_full: {}",
|
" num_shreds: {}, parent_slot: {:?}, next_slots: {:?}, num_entries: {}, is_full: {}",
|
||||||
num_shreds,
|
num_shreds,
|
||||||
meta.parent_slot,
|
meta.parent_slot,
|
||||||
|
meta.next_slots,
|
||||||
entries.len(),
|
entries.len(),
|
||||||
is_full,
|
is_full,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue