mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-17 21:08:32 +00:00
Closes: - https://github.com/sigp/lighthouse/issues/8249 New `/lighthouse/custody` API including: - [x] Earliest custodied data column slot - [x] Node CGC - [x] Custodied columns Co-Authored-By: Michael Sproul <michael@sigmaprime.io>
12 lines
352 B
Rust
12 lines
352 B
Rust
use serde::{Deserialize, Serialize};
|
|
use types::Slot;
|
|
|
|
#[derive(Debug, PartialEq, Deserialize, Serialize)]
|
|
pub struct CustodyInfo {
|
|
pub earliest_custodied_data_column_slot: Slot,
|
|
#[serde(with = "serde_utils::quoted_u64")]
|
|
pub custody_group_count: u64,
|
|
#[serde(with = "serde_utils::quoted_u64_vec")]
|
|
pub custody_columns: Vec<u64>,
|
|
}
|