Skip to content

Commit

Permalink
geyser: change plugin name to {name}-{version} (rpcpool#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
fanatid authored Jan 5, 2024
1 parent bc4ab2d commit 1c9a0cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ The minor version will be incremented upon a breaking change and the patch versi

### Breaking

- geyser: change plugin name to `{name}-{version}` ([#270](https://github.com/rpcpool/yellowstone-grpc/pull/270))

## 2023-12-08

- yellowstone-grpc-tools-1.0.0-rc.9+solana.1.17.6
Expand Down
3 changes: 2 additions & 1 deletion yellowstone-grpc-geyser/src/plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ use {
SlotStatus,
},
std::{
concat, env,
sync::{
atomic::{AtomicUsize, Ordering},
Arc,
Expand Down Expand Up @@ -56,7 +57,7 @@ impl Plugin {

impl GeyserPlugin for Plugin {
fn name(&self) -> &'static str {
"GeyserGrpcPublic"
concat!(env!("CARGO_PKG_NAME"), "-", env!("CARGO_PKG_VERSION"))
}

fn on_load(&mut self, config_file: &str) -> PluginResult<()> {
Expand Down

0 comments on commit 1c9a0cf

Please sign in to comment.