usetech-llc / polkadot_api_cpp

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

Use ConcurrentMapQueue in JsonRPC layer #9

Closed usetech-llc closed 5 years ago

usetech-llc commented 5 years ago

File: src/jsonrpc.cpp

CJsonRpc::handleMessage should put messages that arrive for subscriptions with key = subscriptionId into ConcurrentMapQueue.

A subscription should start a thread that will call ConcurrentMapQueue:get method for the subscription ID, take subscription message from concurrent queue by subscriptionId key and call matching handler the way it is currently done in CJsonRpc::handleMessage.

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) majortomsec has applied to start work _(Funders only: approve worker | reject worker)_.

I have a strong background in C and C++ programming and am interested in this bounty. 2) 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.