-
Notifications
You must be signed in to change notification settings - Fork 39
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
Node state for the RPC server #67
Conversation
Co-authored-by: Bruno França <[email protected]>
You seem to expose just the view number from the replica state. Is that intended? |
Yes, it is intended. In the future, we may require additional information from the storage. I've introduced another endpoint that could prove useful, especially considering the basic tests planned with the |
I mean, why not just dump the whole ReplicaState? |
Is there a way to obtain the replica state from the executor? With the latest changes to the |
Right, you would need to pass ReplicaStore to the rpc server, which is not cloneable as of today. It is fine as is then. |
What ❔
Make the
ReplicaState
struct and additional information about the node state available on the RPC server side.Why ❔
For future tests, it would be necessary to have access to the state of different running nodes in order to assess the behavior of the entire consensus network. This could involve getting different metrics such as the last saved view for each node, proposals, highest vote or quorum certificate (QC), etc.