Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Asynchronous RPC support #2017

Merged
merged 13 commits into from
Sep 1, 2016
Merged

Asynchronous RPC support #2017

merged 13 commits into from
Sep 1, 2016

Conversation

tomusdrw
Copy link
Collaborator

  • Signer re-implemented using asynchronous RPC (getting rid of timeouts, introducing limit)
  • Serde bumped to 0.8 (because of jsonrpc-core)

Thanks for help: @debris & @rphmeier

@tomusdrw tomusdrw added A0-pleasereview 🤓 Pull request needs code review. A3-inprogress ⏳ Pull request is in progress. No review needed at this stage. labels Aug 29, 2016
Conflicts:
	rpc/src/v1/impls/ethcore.rs
	rpc/src/v1/impls/personal.rs
@coveralls
Copy link

Coverage Status

Coverage increased (+0.004%) to 86.346% when pulling 9f417b1 on rpc-async into 6da60af on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 86.354% when pulling 9f417b1 on rpc-async into 6da60af on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+2.0e-05%) to 86.343% when pulling 8025250 on rpc-async into 6da60af on master.

@tomusdrw tomusdrw removed the A3-inprogress ⏳ Pull request is in progress. No review needed at this stage. label Aug 29, 2016
@@ -18,6 +18,7 @@

use hyper::{server, net};
use std::collections::BTreeMap;
pub use hyper::Control;
Copy link
Contributor

Choose a reason for hiding this comment

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

why the re-export?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I wanted to keep Endpoints decoupled from hyper. Maybe it would be better to have custom Control wrapper instead (perhaps with better name).

Tomasz Drwięga added 2 commits August 30, 2016 16:47
Conflicts:
	Cargo.lock
	dapps/Cargo.toml
	dapps/src/apps/fetcher.rs
@coveralls
Copy link

coveralls commented Aug 30, 2016

Coverage Status

Coverage decreased (-1.04%) to 85.324% when pulling 985bc9a on rpc-async into efc846b on master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-1.002%) to 85.364% when pulling 4692b78 on rpc-async into efc846b on master.

@arkpar
Copy link
Collaborator

arkpar commented Aug 31, 2016

@debris Please review this

@@ -16,7 +16,7 @@ git:
matrix:
include:
- rust: stable
env: RUN_TESTS="true"
env: RUN_TESTS="true" TEST_OPTIONS="--no-release"
Copy link
Collaborator

Choose a reason for hiding this comment

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

does this set tests to run in debug mode?

Copy link
Collaborator Author

@tomusdrw tomusdrw Aug 31, 2016

Choose a reason for hiding this comment

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

Yes, but only on stable compiler. Otherwise travis was timeing out (I was trying to re-run couple of times). Suprisingly it's a bit faster when running without release on stable.

@debris debris added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Sep 1, 2016
@arkpar arkpar merged commit b4f3c4b into master Sep 1, 2016
@debris debris deleted the rpc-async branch September 1, 2016 11:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants