yedad_eye 0.1.0

YEDAD EYE Matrix Engine - Real-time Network Explorer and Synchronizer
Documentation
// برای اجرا نیاز دارد به: cargo run --example full_node_eye --features rocksdb
#[cfg(feature = "rocksdb")]
use std::sync::Arc;
#[cfg(feature = "rocksdb")]
use yedad_eye::{aggregator::EyeAggregator, providers::DatabaseEyeProvider};

#[tokio::main]
async fn main() {
    #[cfg(feature = "rocksdb")]
    {
        let provider = Arc::new(DatabaseEyeProvider::new("./yedad_data").unwrap());
        let aggregator = EyeAggregator::new(provider);

        println!("👁️ [YEDAD EYE - FullNode Mode] Direct Sector Scan Initiated...");
        if let Ok(matrix) = aggregator.reconstruct_matrix().await {
            println!(
                "Matrix Rebuilt. Total database accounts parsed: {}",
                matrix.len()
            );
        }
    }
    #[cfg(not(feature = "rocksdb"))]
    println!("Please run with '--features rocksdb' flag to use direct storage scanner.");
}