-
Notifications
You must be signed in to change notification settings - Fork 148
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
Concord client request cmf changes #2639
base: master
Are you sure you want to change the base?
Concord client request cmf changes #2639
Conversation
edf34e7
to
4f32319
Compare
f8314a6
to
afbc9ed
Compare
@@ -81,6 +82,8 @@ struct RequestConfig { | |||
std::string span_context = ""; | |||
bool key_exchange = false; | |||
bool reconfiguration = false; | |||
bftEngine::RequestType request_type = bftEngine::RequestType::RAW_MESSAGE; | |||
std::string client_service_id = ""; |
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.
client_service_id can be moved to ClientConfig since it is not request specific but specific to a client
@@ -104,6 +105,12 @@ class ConcordClient { | |||
|
|||
std::string messageSignature(bft::client::Msg&); | |||
|
|||
static void prepareConcordClientRequest(bft::client::Msg& request, |
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.
why is it a static method?Same with response
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.
the api needs to be called from concord_client_pool.cpp, where we might have a external_client class object, to support this case, i have made them static
afbc9ed
to
0cff742
Compare
f9691a1
to
5d1a216
Compare
a78d228
to
a816d03
Compare
a816d03
to
04077f9
Compare
moving concord_client_request.proto to cmf
Testing in progress