-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add config for grpc server methods #5886
feat: add config for grpc server methods #5886
Conversation
3e0c548
to
bb610a7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Think the idea is solid, I looked at tonic interceptors and middleware and there will be a way to do it, however tonic makes it very difficult (unless I missed something obvious), so happy to add a conditional to the start of every method.
The implementation adds more maintenance overhead than required. I think adding a list of methods that should be denied will make things easier to maintain.
bb610a7
to
c8270d7
Compare
Added configuration options for the base node's gRPC methods whereby each method can be enabled or disabled with the startup config settings.
c8270d7
to
32ed96c
Compare
Description
Added configuration options for the base node's gRPC methods whereby each method can be enabled or disabled with the startup-config settings.
Closing #5858
Some BloomRPC screenshots:
Motivation and Context
See #5858
How Has This Been Tested?
fn it_deserializes_enums
What process can a PR reviewer use to test or verify this change?
Breaking Changes