Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@tomatoishealthy
Copy link
Contributor

close #5391

Copy link
Contributor

@halibobo1205 halibobo1205 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lvs007 lvs007 requested review from 317787106 and jwrct November 15, 2023 02:49
@317787106
Copy link
Contributor

@tomatoishealthy What does this service do?

// add lite fullnode query interceptor
serverBuilder.intercept(liteFnQueryGrpcInterceptor);

if (parameter.isRpcReflectionServiceEnable()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the parameter rpcReflectionServiceEnable control all the RpcApiServices? It seems to be not flexible to use only one parameter to control all .

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gRPC reflection is a tiny feature for a better UX, providing individual parameters for each service is a bit redundant

@tomatoishealthy
Copy link
Contributor Author

@tomatoishealthy What does this service do?

As the issue claimed, provide a better UX for gRPC APIs

@halibobo1205 halibobo1205 merged commit 2d64668 into tronprotocol:develop Nov 23, 2023
@halibobo1205 halibobo1205 added this to the GreatVoyage-v4.7.4 milestone Nov 24, 2023
@halibobo1205 halibobo1205 added the topic:api rpc/http related issue label Nov 24, 2023
# "getnowblock2"
# ]

# The switch of the reflection service, effective for all gRPC services
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This config path "reflectionService" not match with the Args.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you mean by "not match with the Args", more details?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic:api rpc/http related issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expected to support gRPCurl tool for grpc interface invocation easily

5 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.