mirror of
https://github.com/0xfnzero/solana-streamer.git
synced 2026-08-15 01:48:05 +00:00
Route gRPC, ShredStream, and account parsing through sol-parser-sdk. Remove local protocol parsing implementations. Depend on sol-parser-sdk v0.4.8 from crates.io.
16 lines
666 B
Rust
Executable File
16 lines
666 B
Rust
Executable File
//! Solana DEX 交易解析:**对外类型** [`DexEvent`]、[`Protocol`];
|
||
//! **`common`**(元数据/过滤器)、**`core`**(SDK 调度与入口)、**`protocols`**(按协议的事件类型与兼容 facade)。
|
||
//!
|
||
//! gRPC/ShredStream 解析统一委托给 **sol-parser-sdk**,本 crate 只做订阅、过滤映射、
|
||
//! SDK 事件到 streamer 事件的适配,以及兼容旧公开路径的轻量转发。
|
||
//!
|
||
//! [`DexEvent`]: crate::streaming::event_parser::DexEvent
|
||
//! [`Protocol`]: crate::streaming::event_parser::Protocol
|
||
|
||
pub mod common;
|
||
pub mod core;
|
||
pub mod protocols;
|
||
|
||
pub use core::traits::DexEvent;
|
||
pub use protocols::types::Protocol;
|