Skip to content

Commit 924ee5a

Browse files
authored
proto: add field interslot_updates (#527)
1 parent 611d6ef commit 924ee5a

File tree

17 files changed

+441
-396
lines changed

17 files changed

+441
-396
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,18 @@ The minor version will be incremented upon a breaking change and the patch versi
1616

1717
### Breaking
1818

19+
## 2025-02-05
20+
21+
- @triton-one/yellowstone-grpc@2.1.0
22+
- yellowstone-grpc-client-simple-4.4.0
23+
- yellowstone-grpc-client-4.2.0
24+
- yellowstone-grpc-geyser-4.3.0
25+
- yellowstone-grpc-proto-4.2.0
26+
27+
### Features
28+
29+
- proto: add field `interslot_updates` ([#527](https://github.com/rpcpool/yellowstone-grpc/pull/527))
30+
1931
## 2025-01-13
2032

2133
- yellowstone-grpc-client-4.1.1

Cargo.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[workspace]
22
resolver = "2"
33
members = [
4-
"examples/rust", # 4.3.0
5-
"yellowstone-grpc-client", # 4.1.1
6-
"yellowstone-grpc-geyser", # 4.2.2
7-
"yellowstone-grpc-proto", # 4.1.1
4+
"examples/rust", # 4.4.0
5+
"yellowstone-grpc-client", # 4.2.0
6+
"yellowstone-grpc-geyser", # 4.3.0
7+
"yellowstone-grpc-proto", # 4.2.0
88
]
99
exclude = [
1010
"yellowstone-grpc-client-nodejs/solana-encoding-wasm", # 3.0.0
@@ -69,8 +69,8 @@ tonic = "0.12.1"
6969
tonic-build = "0.12.1"
7070
tonic-health = "0.12.1"
7171
vergen = "9.0.0"
72-
yellowstone-grpc-client = { path = "yellowstone-grpc-client", version = "4.1.0" }
73-
yellowstone-grpc-proto = { path = "yellowstone-grpc-proto", version = "4.1.1", default-features = false }
72+
yellowstone-grpc-client = { path = "yellowstone-grpc-client", version = "4.2.0" }
73+
yellowstone-grpc-proto = { path = "yellowstone-grpc-proto", version = "4.2.0", default-features = false }
7474

7575
[workspace.lints.clippy]
7676
clone_on_ref_ptr = "deny"

examples/golang/proto/geyser.pb.go

Lines changed: 371 additions & 359 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "yellowstone-grpc-client-simple"
3-
version = "4.3.0"
3+
version = "4.4.0"
44
authors = { workspace = true }
55
edition = { workspace = true }
66
homepage = { workspace = true }

examples/rust/src/bin/client.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,10 @@ struct ActionSubscribe {
256256
#[clap(long)]
257257
slots_filter_by_commitment: bool,
258258

259+
/// Subscribe on interslot slot updates
260+
#[clap(long)]
261+
slots_interslot_updates: bool,
262+
259263
/// Subscribe on transactions updates
260264
#[clap(long)]
261265
transactions: bool,
@@ -451,6 +455,7 @@ impl Action {
451455
"client".to_owned(),
452456
SubscribeRequestFilterSlots {
453457
filter_by_commitment: Some(args.slots_filter_by_commitment),
458+
interslot_updates: Some(args.slots_interslot_updates),
454459
},
455460
);
456461
}

examples/rust/src/bin/subscribe-ping.rs

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,17 @@ async fn main() -> anyhow::Result<()> {
4444
futures::try_join!(
4545
async move {
4646
subscribe_tx
47-
.send(SubscribeRequest {
48-
slots: maplit::hashmap! { "".to_owned() => SubscribeRequestFilterSlots { filter_by_commitment: Some(true) } },
49-
commitment: Some(CommitmentLevel::Processed as i32),
50-
..Default::default()
51-
})
52-
.await?;
47+
.send(SubscribeRequest {
48+
slots: maplit::hashmap! {
49+
"".to_owned() => SubscribeRequestFilterSlots {
50+
filter_by_commitment: Some(true),
51+
interslot_updates: Some(false)
52+
}
53+
},
54+
commitment: Some(CommitmentLevel::Processed as i32),
55+
..Default::default()
56+
})
57+
.await?;
5358

5459
let mut timer = interval(Duration::from_secs(3));
5560
let mut id = 0;

examples/typescript/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/typescript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "yellowstone-grpc-client-example-ts",
3-
"version": "2.0.1",
3+
"version": "2.1.0",
44
"license": "Apache-2.0",
55
"author": "Triton One",
66
"main": "dist/client.js",

yellowstone-grpc-client-nodejs/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)