Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

JSON-RPC #382

Merged
merged 121 commits into from
Oct 31, 2014
Merged

JSON-RPC #382

merged 121 commits into from
Oct 31, 2014

Conversation

debris
Copy link
Contributor

@debris debris commented Oct 16, 2014

Changes made in this pull-request:

  • jsonrpc api with all methods available from javascript-api
  • added cors headers to jsonrpc
  • separated libethrpc
  • Javascript jsonrpc client, with the same interface as Javascript bindings in EthereumBrowser, so there is now possibility to run/debug code using eth object in Chrome/Firefox and other browsers
  • here is a playground - https://github.com/debris/eth-client-example
  • added async setters/getters for javascript properties
  • tests for most of jsonrpc methods
  • api is not yet unified with Go client api

m_whisper->makeIdentity();
KeyPair kp = KeyPair::create();
m_myIdentities.append(kp);
m_server->setIdentities(keysAsVector(owned()));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

owned() returning keys+identities (see previous comment)

@@ -102,28 +117,26 @@ Main::Main(QWidget *parent) :
m_web3.reset(new WebThreeDirect("Third", getDataDir() + "/Third", false, {"eth", "shh"}));
m_web3->connect(Host::pocHost());

m_ldb = new QLDB(this);

m_qwebConnector = new QWebThreeConnector();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see where m_qwebConnector is deallocated. I don't think m_qwebConnector should be a pointer. If it's no longer a pointer, then It can also be initialized in the constructor.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed in 8c6af7f

gavofyork pushed a commit that referenced this pull request Oct 31, 2014
@gavofyork gavofyork merged commit 205a464 into ethereum:develop Oct 31, 2014
@debris debris deleted the mk_jsonrpc branch November 12, 2014 23:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants