rename yellowstone

This commit is contained in:
wood
2025-07-10 10:50:12 +08:00
parent 516b682519
commit 57c2848a57
3 changed files with 7 additions and 7 deletions
+4 -4
View File
@@ -1,8 +1,8 @@
pub mod yellow_stone; pub mod yellowstone_grpc;
pub mod yellow_stone_sub_system; pub mod yellowstone_sub_system;
pub mod shred_stream; pub mod shred_stream;
pub mod event_parser; pub mod event_parser;
pub use yellow_stone::YellowstoneGrpc; pub use yellowstone_grpc::YellowstoneGrpc;
pub use yellow_stone_sub_system::{SystemEvent, TransferInfo}; pub use yellowstone_sub_system::{SystemEvent, TransferInfo};
pub use shred_stream::ShredStreamGrpc; pub use shred_stream::ShredStreamGrpc;
@@ -1,8 +1,8 @@
use crate::{common::AnyResult, streaming::yellow_stone::{TransactionPretty, YellowstoneGrpc}}; use crate::{common::AnyResult, streaming::yellowstone_grpc::{TransactionPretty, YellowstoneGrpc}};
use solana_program::pubkey; use solana_program::pubkey;
use solana_sdk::{pubkey::Pubkey, transaction::VersionedTransaction}; use solana_sdk::{pubkey::Pubkey, transaction::VersionedTransaction};
use futures::{channel::mpsc, sink::Sink, Stream, StreamExt, SinkExt}; use futures::{channel::mpsc, StreamExt};
use log::{error, info}; use log::error;
use solana_transaction_status::EncodedTransactionWithStatusMeta; use solana_transaction_status::EncodedTransactionWithStatusMeta;
const SYSTEM_PROGRAM_ID: Pubkey = pubkey!("11111111111111111111111111111111"); const SYSTEM_PROGRAM_ID: Pubkey = pubkey!("11111111111111111111111111111111");