Skip to content

Commit

Permalink
Addressed some feedback from Brennan
Browse files Browse the repository at this point in the history
  • Loading branch information
lijunwangs committed Oct 9, 2024
1 parent 455faf4 commit 069adc7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions core/src/validator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1090,9 +1090,7 @@ impl Validator {
};

let rpc_completed_slots_service =
if !config.rpc_config.full_api && geyser_plugin_service.is_none() {
None
} else {
if config.rpc_config.full_api || geyser_plugin_service.is_some() {
let (completed_slots_sender, completed_slots_receiver) =
bounded(MAX_COMPLETED_SLOTS_IN_CHANNEL);
blockstore.add_completed_slots_signal(completed_slots_sender);
Expand All @@ -1103,6 +1101,8 @@ impl Validator {
slot_status_notifier.clone(),
exit.clone(),
))
} else {
None
};

let optimistically_confirmed_bank_tracker =
Expand Down
2 changes: 1 addition & 1 deletion geyser-plugin-interface/src/geyser_plugin_interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ pub enum SlotStatus {
/// First Shred Received
FirstShredReceived,

/// Completed
/// All shreds for the slot have been received.
Completed,
}

Expand Down

0 comments on commit 069adc7

Please sign in to comment.