mirror of
https://github.com/0xfnzero/solana-streamer.git
synced 2026-08-15 01:48:05 +00:00
Merge commit '86b6591b369a220f1a39078ef2a71939d7a2b812' into perf/improve
This commit is contained in:
@@ -64,6 +64,12 @@ pub trait UnifiedEvent: Debug + Send + Sync {
|
||||
|
||||
/// Get index
|
||||
fn index(&self) -> String;
|
||||
|
||||
/// Get transaction index in slot
|
||||
fn transaction_index(&self) -> Option<u64>;
|
||||
|
||||
/// Set transaction index in slot
|
||||
fn set_transaction_index(&mut self, transaction_index: Option<u64>);
|
||||
}
|
||||
|
||||
/// 事件解析器trait - 定义了事件解析的核心方法
|
||||
|
||||
Reference in New Issue
Block a user