mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-09 12:31:23 +00:00
8 lines
222 B
Rust
8 lines
222 B
Rust
use std::collections::HashMap;
|
|
|
|
/// Maps a (slot, shard_id) to attestation_indices.
|
|
pub type AttesterMap = HashMap<(u64, u16), Vec<usize>>;
|
|
|
|
/// Maps a slot to a block proposer.
|
|
pub type ProposerMap = HashMap<u64, usize>;
|