add IL service to download IL from EL, sign in VC, and publish via BN

add HTTP API to the beacon node to retrieve IL from the EL.
add IL service in the validator client to download the IL from the beacon node.
add logic to the beacon node to package the IL for the validator client.
add HTTP API to the beacon node to gossip signed ILs.
the validator client will sign the ILs from the beacon node and resubmit to the beacon node to gossip.
This commit is contained in:
jacobkaufmann
2024-12-19 14:23:36 -07:00
parent 7125f25f3a
commit 985382e3e5
20 changed files with 610 additions and 17 deletions

View File

@@ -724,6 +724,7 @@ async fn sort_nodes_by_health<E: EthSpec>(nodes: &mut Vec<CandidateBeaconNode<E>
pub enum ApiTopic {
Attestations,
Blocks,
InclusionLists,
Subscriptions,
SyncCommittee,
}
@@ -731,7 +732,13 @@ pub enum ApiTopic {
impl ApiTopic {
pub fn all() -> Vec<ApiTopic> {
use ApiTopic::*;
vec![Attestations, Blocks, Subscriptions, SyncCommittee]
vec![
Attestations,
Blocks,
InclusionLists,
Subscriptions,
SyncCommittee,
]
}
}