Skip to content

Commit 29a7816

Browse files
author
Richard Patel
committed
solana v1.8.14
1 parent d968649 commit 29a7816

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ crate-type = ["cdylib", "rlib"]
1010
[dependencies]
1111
prost = "0.9"
1212
rdkafka = { version = "0.28", features = ["ssl-vendored", "sasl"] }
13-
solana-logger = { version = "=1.9.5" }
14-
solana-accountsdb-plugin-interface = { version = "=1.9.5" }
13+
solana-logger = { version = "=1.8.14" }
14+
solana-accountsdb-plugin-interface = { version = "=1.8.14" }
1515
log = "0.4"
1616
serde_json = "1.0"
1717
serde = { version = "1.0", features = ["derive"] }

src/plugin.rs

+4-8
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ impl AccountsDbPlugin for KafkaPlugin {
2626
"KafkaPlugin"
2727
}
2828

29+
fn notify_end_of_startup(&mut self) -> PluginResult<()> {
30+
Ok(())
31+
}
32+
2933
fn on_load(&mut self, config_file: &str) -> PluginResult<()> {
3034
if self.publisher.is_some() {
3135
let err = simple_error!("plugin already loaded");
@@ -110,14 +114,6 @@ impl AccountsDbPlugin for KafkaPlugin {
110114
.update_slot_status(event)
111115
.map_err(|e| PluginError::AccountsUpdateError { msg: e.to_string() })
112116
}
113-
114-
fn account_data_notifications_enabled(&self) -> bool {
115-
self.unwrap_publisher().wants_update_account()
116-
}
117-
118-
fn transaction_notifications_enabled(&self) -> bool {
119-
false
120-
}
121117
}
122118

123119
impl KafkaPlugin {

0 commit comments

Comments
 (0)