ethrex-p2p 17.0.0

Peer-to-peer networking (discv4/discv5, RLPx, eth, snap) for the ethrex Ethereum client
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::collections::HashMap;

use ethrex_trie::{Nibbles, Node};

/// Entry in the healing queue tracking nodes waiting for children
#[derive(Debug, Clone)]
pub struct HealingQueueEntry {
    pub node: Node,
    pub pending_children_count: usize,
    pub parent_path: Nibbles,
}

/// Type alias for state healing queue
pub type StateHealingQueue = HashMap<Nibbles, HealingQueueEntry>;