Skip to content

Commit

Permalink
proto: add entries_count to block meta message (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
fanatid authored Jan 26, 2024
1 parent 271bb57 commit 01faea2
Show file tree
Hide file tree
Showing 6 changed files with 131 additions and 116 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ The minor version will be incremented upon a breaking change and the patch versi

### Features

- proto: add `entries_count` to block meta message ([#283](https://github.com/rpcpool/yellowstone-grpc/pull/283))

### Breaking

- tools: add metrics, new config for google-pubsub ([#280](https://github.com/rpcpool/yellowstone-grpc/pull/280))
Expand Down
237 changes: 124 additions & 113 deletions examples/golang/proto/geyser.pb.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/typescript/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions yellowstone-grpc-client-nodejs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions yellowstone-grpc-geyser/src/grpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ impl<'a> MessageRef<'a> {
parent_slot: message.parent_slot,
parent_blockhash: message.parent_blockhash.clone(),
executed_transaction_count: message.executed_transaction_count,
entries_count: message.entries_count,
}),
}
}
Expand Down
1 change: 1 addition & 0 deletions yellowstone-grpc-proto/proto/geyser.proto
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ message SubscribeUpdateBlockMeta {
uint64 parent_slot = 6;
string parent_blockhash = 7;
uint64 executed_transaction_count = 8;
uint64 entries_count = 9;
}

message SubscribeUpdateEntry {
Expand Down

0 comments on commit 01faea2

Please sign in to comment.