mirror of
https://github.com/0xfnzero/solana-streamer.git
synced 2026-08-16 10:28:05 +00:00
perf: Major event processing system refactor for improved performance
This commit is contained in:
@@ -299,7 +299,8 @@ impl EventParser for PumpFunEventParser {
|
||||
slot: u64,
|
||||
block_time: Option<Timestamp>,
|
||||
program_received_time_us: i64,
|
||||
index: String,
|
||||
outer_index: i64,
|
||||
inner_index: Option<i64>,
|
||||
) -> Vec<Box<dyn UnifiedEvent>> {
|
||||
self.inner.parse_events_from_inner_instruction(
|
||||
inner_instruction,
|
||||
@@ -307,7 +308,8 @@ impl EventParser for PumpFunEventParser {
|
||||
slot,
|
||||
block_time,
|
||||
program_received_time_us,
|
||||
index,
|
||||
outer_index,
|
||||
inner_index,
|
||||
)
|
||||
}
|
||||
|
||||
@@ -319,7 +321,8 @@ impl EventParser for PumpFunEventParser {
|
||||
slot: u64,
|
||||
block_time: Option<Timestamp>,
|
||||
program_received_time_us: i64,
|
||||
index: String,
|
||||
outer_index: i64,
|
||||
inner_index: Option<i64>,
|
||||
) -> Vec<Box<dyn UnifiedEvent>> {
|
||||
self.inner.parse_events_from_instruction(
|
||||
instruction,
|
||||
@@ -328,7 +331,8 @@ impl EventParser for PumpFunEventParser {
|
||||
slot,
|
||||
block_time,
|
||||
program_received_time_us,
|
||||
index,
|
||||
outer_index,
|
||||
inner_index,
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user