Skip to content

Concord client request cmf changes#2639

Open
bandatarunkumar wants to merge 2 commits intovmware:masterfrom
bandatarunkumar:concord_client_request_cmf_changes
Open

Concord client request cmf changes#2639
bandatarunkumar wants to merge 2 commits intovmware:masterfrom
bandatarunkumar:concord_client_request_cmf_changes

Conversation

@bandatarunkumar
Copy link
Copy Markdown
Contributor

  • Problem Overview
    moving concord_client_request.proto to cmf
  • Testing Done
    Testing in progress

@bandatarunkumar bandatarunkumar requested a review from a team as a code owner May 19, 2022 05:14
@bandatarunkumar bandatarunkumar force-pushed the concord_client_request_cmf_changes branch 2 times, most recently from edf34e7 to 4f32319 Compare May 19, 2022 17:19
@bandatarunkumar bandatarunkumar requested a review from cjn May 19, 2022 17:50
@bandatarunkumar bandatarunkumar force-pushed the concord_client_request_cmf_changes branch from f8314a6 to afbc9ed Compare May 25, 2022 05:26
Comment thread client/client_pool/src/external_client.cpp
Comment thread client/concordclient/cmf/concord_client_message.cmf Outdated
bool key_exchange = false;
bool reconfiguration = false;
bftEngine::RequestType request_type = bftEngine::RequestType::RAW_MESSAGE;
std::string client_service_id = "";
Copy link
Copy Markdown
Contributor

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


std::string messageSignature(bft::client::Msg&);

static void prepareConcordClientRequest(bft::client::Msg& request,
Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Contributor Author

@bandatarunkumar bandatarunkumar May 25, 2022

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

@bandatarunkumar bandatarunkumar force-pushed the concord_client_request_cmf_changes branch from afbc9ed to 0cff742 Compare May 25, 2022 10:31
@bandatarunkumar bandatarunkumar changed the title Draft : Concord client request cmf changes Concord client request cmf changes May 25, 2022
@bandatarunkumar bandatarunkumar force-pushed the concord_client_request_cmf_changes branch 2 times, most recently from f9691a1 to 5d1a216 Compare May 25, 2022 13:42
@bandatarunkumar bandatarunkumar force-pushed the concord_client_request_cmf_changes branch 2 times, most recently from a78d228 to a816d03 Compare May 30, 2022 15:02
@bandatarunkumar bandatarunkumar force-pushed the concord_client_request_cmf_changes branch from a816d03 to 04077f9 Compare June 4, 2022 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants