Skip to content

Commit

Permalink
solana v1.8.14
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Patel committed Feb 10, 2022
1 parent d968649 commit 29a7816
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ crate-type = ["cdylib", "rlib"]
[dependencies]
prost = "0.9"
rdkafka = { version = "0.28", features = ["ssl-vendored", "sasl"] }
solana-logger = { version = "=1.9.5" }
solana-accountsdb-plugin-interface = { version = "=1.9.5" }
solana-logger = { version = "=1.8.14" }
solana-accountsdb-plugin-interface = { version = "=1.8.14" }
log = "0.4"
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
Expand Down
12 changes: 4 additions & 8 deletions src/plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ impl AccountsDbPlugin for KafkaPlugin {
"KafkaPlugin"
}

fn notify_end_of_startup(&mut self) -> PluginResult<()> {
Ok(())
}

fn on_load(&mut self, config_file: &str) -> PluginResult<()> {
if self.publisher.is_some() {
let err = simple_error!("plugin already loaded");
Expand Down Expand Up @@ -110,14 +114,6 @@ impl AccountsDbPlugin for KafkaPlugin {
.update_slot_status(event)
.map_err(|e| PluginError::AccountsUpdateError { msg: e.to_string() })
}

fn account_data_notifications_enabled(&self) -> bool {
self.unwrap_publisher().wants_update_account()
}

fn transaction_notifications_enabled(&self) -> bool {
false
}
}

impl KafkaPlugin {
Expand Down

0 comments on commit 29a7816

Please sign in to comment.