yedad_eye 0.1.0

YEDAD EYE Matrix Engine - Real-time Network Explorer and Synchronizer
Documentation
// yedad_eye/src/types.rs

use serde::{Deserialize, Serialize};
use std::collections::HashMap;

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct EyeCell {
    pub pulse_id: u32,
    pub state_crc: u32,
}

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct NodeMatrixRow {
    pub address: String,
    pub current_rank: String,
    pub balance: u64,
    pub step_number: u32,
    /// نگاشت شماره پالس به وضعیت نوت‌پد دوم برای این نود مشخص
    pub history: HashMap<u32, EyeCell>,
}