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

Add jsonrpcproxy.py #4673

Merged
merged 2 commits into from Dec 4, 2017
Merged

Add jsonrpcproxy.py #4673

merged 2 commits into from Dec 4, 2017

Conversation

chfast
Copy link
Collaborator

@chfast chfast commented Dec 1, 2017

Hey @chriseth @gumb0,
I'm shipping the JSON-RPC Proxy (HTTP -> Unix Socket).

Usage is simple ./jsonrpcproxy.py or ./jsonrpcproxy.py --help.

I'm not sure a documentation in eth is needed, but I may add some information to eth -j later on.

@codecov-io
Copy link

codecov-io commented Dec 1, 2017

Codecov Report

Merging #4673 into develop will decrease coverage by 9.4%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           develop   #4673      +/-   ##
==========================================
- Coverage     61.1%   51.7%   -9.41%     
==========================================
  Files          344    1629    +1285     
  Lines        27138   68489   +41351     
  Branches      3084    7391    +4307     
==========================================
+ Hits         16583   35413   +18830     
- Misses        9590   30865   +21275     
- Partials       965    2211    +1246
Impacted Files Coverage Δ
libethereum/CommonNet.h 25% <0%> (-75%) ⬇️
libethereum/Transaction.h 50% <0%> (-23.69%) ⬇️
libethereum/Transaction.cpp 74.5% <0%> (-21.57%) ⬇️
utils/json_spirit/json_spirit_reader_template.h 65.38% <0%> (-19.86%) ⬇️
libethereum/EthereumHost.h 0% <0%> (-18.19%) ⬇️
utils/json_spirit/json_spirit_writer_template.h 50.57% <0%> (-14.6%) ⬇️
libethcore/ChainOperationParams.h 87.5% <0%> (-12.5%) ⬇️
libethereum/Block.h 48.27% <0%> (-9.79%) ⬇️
utils/json_spirit/json_spirit_value.h 60.74% <0%> (-5.63%) ⬇️
test/tools/fuzzTesting/BoostRandomCode.h 85% <0%> (-5.48%) ⬇️
... and 1419 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d5bad1e...aea29d1. Read the comment docs.

@chfast chfast mentioned this pull request Dec 4, 2017
proxy_address = proxy_url.hostname, proxy_url.port

backend_url = urlparse(backend_url)
assert backend_url.scheme == 'unix'
Copy link
Member

Choose a reason for hiding this comment

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

this now fails for me on windows

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It is not ready yet. I'm moving to Windows to finish it.

@chfast chfast merged commit 62c4c98 into develop Dec 4, 2017
@chfast chfast deleted the jsonrpcproxy branch December 4, 2017 20:17
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.

None yet

3 participants