add HTTP API to retrieve validator IL duties

This commit is contained in:
jacobkaufmann
2024-12-11 20:49:34 -07:00
parent ba336501f6
commit 2b3c602b8f
8 changed files with 210 additions and 1 deletions

View File

@@ -740,6 +740,14 @@ pub struct ProposerData {
pub slot: Slot,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct InclusionListDutyData {
pub pubkey: PublicKeyBytes,
#[serde(with = "serde_utils::quoted_u64")]
pub validator_index: u64,
pub slot: Slot,
}
#[derive(Clone, Deserialize)]
pub struct ValidatorBlocksQuery {
pub randao_reveal: SignatureBytes,