usetech-llc / polkadot_api_cpp

С++ API for Polkadot.
Apache License 2.0
18 stars 21 forks source link

Use ConcurrentMapQueue in Application layer #10

Closed usetech-llc closed 5 years ago

usetech-llc commented 5 years ago

File: src/application.cpp

CPolkaApi::handleWsMessage should call ConcurrentMapQueue::put method with key = subscriptionId and value = message.

CPolkaApi::subscribe... methods should start a thread that calls ConcurrentMapQueue::get with matching subscription ID and calls the matching callback like it is currently done in CPolkaApi::handleWsMessage, when it receives message from concurrent queue.

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 60.0 DAI (60.0 USD @ $1.0/DAI) attached to it.

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 3 weeks, 4 days from now. Please review their action plans below:

1) chernant has been approved to start work.

I have worked on concurrent map queue for your project and ready to integrate it now.

Learn more on the Gitcoin Issue Details page.

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 60.0 DAI (60.0 USD @ $1.0/DAI) has been submitted by:

  1. @chernant

@Web3Foundation please take a look at the submitted work:


gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


The funding of 60.0 DAI (60.0 USD @ $1.0/DAI) attached to this issue has been approved & issued to @chernant.