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

Quick'n'dirty CLI for the light client #5002

Merged
merged 96 commits into from
Apr 5, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
3655601
return errors on database corruption
rphmeier Feb 23, 2017
91753c5
fix tests, json tests
rphmeier Feb 23, 2017
f169c8d
fix remainder of build
rphmeier Feb 23, 2017
ddbdfaf
buffer flow -> request credits
rphmeier Feb 23, 2017
ee7779d
proving state backend
rphmeier Feb 24, 2017
92e5982
generate transaction proofs from provider
rphmeier Feb 24, 2017
4158693
network messages for transaction proof
rphmeier Feb 25, 2017
32f906f
transaction proof test
rphmeier Feb 25, 2017
2b671b8
test for transaction proof message
rphmeier Feb 25, 2017
4cf62e8
Merge branch 'state-backend' into remote-tx-exec
rphmeier Feb 25, 2017
7c54111
fix call bug
rphmeier Feb 25, 2017
69e82e1
request transaction proofs from on_demand
rphmeier Feb 25, 2017
6450114
most of proved_execution rpc
rphmeier Feb 26, 2017
1ff0abc
Merge branch 'master' into remote-tx-exec
rphmeier Feb 26, 2017
af235e5
proved execution future
rphmeier Feb 26, 2017
bbb50ca
initial request definitions
rphmeier Mar 3, 2017
41effad
RLP encoding and decoding for requests
rphmeier Mar 6, 2017
8e9faa4
proofs of non-existance in ProvingBlockChainClient
rphmeier Mar 6, 2017
87f3d53
new requests in provider.
rphmeier Mar 6, 2017
b396b56
encode and decode responses
rphmeier Mar 7, 2017
04291fe
complete initial request changes
rphmeier Mar 7, 2017
dbd05e6
handle request packet in LightProtocol
rphmeier Mar 7, 2017
ee03418
handle response packets
rphmeier Mar 8, 2017
bb39f10
implement requesting from
rphmeier Mar 8, 2017
9692616
re-do cost table
rphmeier Mar 8, 2017
9268a1f
get tests compiling
rphmeier Mar 8, 2017
a118672
fix cost table RLP encoding
rphmeier Mar 8, 2017
868f83e
Merge branch 'master' into pip-msg
rphmeier Mar 8, 2017
d9087dd
roundtrip tests for request types
rphmeier Mar 8, 2017
aea9b1d
request builder tests
rphmeier Mar 8, 2017
8fb0a2d
move request_builder -> request::builder
rphmeier Mar 8, 2017
391eb4b
get network tests working
rphmeier Mar 9, 2017
64342d2
return only complete headers responses
rphmeier Mar 9, 2017
f0a587d
request builder improvements
rphmeier Mar 13, 2017
8bf5be0
New version of jsonrpc.
tomusdrw Mar 13, 2017
599f81d
split request filling into fill,complete
rphmeier Mar 13, 2017
b51d7e9
Merge branch 'master' into new-jsonrpc
tomusdrw Mar 13, 2017
491eeb9
Better invalid encoding messages
tomusdrw Mar 16, 2017
579cff4
Fixing deprecated methods of tokio_core
tomusdrw Mar 16, 2017
44052e7
Merge branch 'master' into new-jsonrpc
tomusdrw Mar 16, 2017
cbb9314
use PIP messages in on_demand, old API
rphmeier Mar 16, 2017
04f106a
migrate oneshot::complete to send in on_demand
rphmeier Mar 16, 2017
b552741
get on_demand tests to compile
rphmeier Mar 16, 2017
fa42b6a
port ethsync to PIP messages
rphmeier Mar 16, 2017
2ee3a72
adjust to minor on_demand API changes in RPC
rphmeier Mar 16, 2017
c13f01c
Using dedicated branch for jsonrpc
tomusdrw Mar 17, 2017
8be41ad
Merge branch 'master' into pip-msg
rphmeier Mar 17, 2017
701e116
Merge branch 'master' of github.com:ethcore/parity into pip-msg
debris Mar 17, 2017
6fa9393
Merge branch 'master' into new-jsonrpc
tomusdrw Mar 20, 2017
1d87f24
Bump
tomusdrw Mar 20, 2017
958a8f6
Merge branch 'master' into new-jsonrpc
tomusdrw Mar 21, 2017
fe52e96
Merge branch 'master' into pip-msg
rphmeier Mar 21, 2017
d013a13
header_chain writes to database
rphmeier Mar 21, 2017
21771aa
don't keep headers in memory to avoid DoS
rphmeier Mar 21, 2017
bc9c1d4
use a database in ethcore-light
rphmeier Mar 21, 2017
dd1f829
fix sync test compilation
rphmeier Mar 21, 2017
9fcaea2
Merge branch 'pip-msg' of github.com:paritytech/parity into pip-msg
rphmeier Mar 21, 2017
e99884d
Merge branch 'master' into pip-msg
rphmeier Mar 21, 2017
7ad36ee
Merge remote-tracking branch 'upstream/new-jsonrpc' into pip-msg
rphmeier Mar 21, 2017
384aeda
Merge branch 'pip-msg' into lightcli
rphmeier Mar 21, 2017
219eddf
Merge branch 'master' into pip-msg
rphmeier Mar 22, 2017
a0619fc
Merge branch 'master' into pip-msg
rphmeier Mar 22, 2017
dd1a3fc
migration to light client mode
rphmeier Mar 22, 2017
a9d75e2
CLI options for light client
rphmeier Mar 22, 2017
c718b56
initial light CLI
rphmeier Mar 22, 2017
e3d6525
store cumulative cost in pending request set.
rphmeier Mar 22, 2017
35d9a98
mild abstraction of RPC dependencies
rphmeier Mar 22, 2017
73b2dd7
light client RPC dependencies
rphmeier Mar 22, 2017
83911a7
complete quick'n'dirty light CLI
rphmeier Mar 22, 2017
0abbd7a
Merge branch 'pip-msg' into lightcli
rphmeier Mar 22, 2017
23a6b19
fix import
rphmeier Mar 22, 2017
a55001a
fix deadlock in on_demand
rphmeier Mar 23, 2017
b96eb45
eth_syncing RPC for light client
rphmeier Mar 23, 2017
0d110ed
apply pending changes to chain after DB commit
rphmeier Mar 23, 2017
4eb69dc
reintroduce credits recharging
rphmeier Mar 23, 2017
77f036e
fix capabilities-interpreting error in on_demand
rphmeier Mar 23, 2017
ec52a4a
more tracing in on-demand
rphmeier Mar 23, 2017
a1df49e
add test for request vec deserialization
rphmeier Mar 23, 2017
da837fa
Merge branch 'master' into lightcli
rphmeier Mar 23, 2017
ac7f1f6
fix header chain tests
rphmeier Mar 23, 2017
54eb575
request tests that demonstrate broken RLP behavior
rphmeier Mar 23, 2017
1485dd0
use prev credits in tracing
rphmeier Mar 23, 2017
c75b496
workaround for #5008
rphmeier Mar 23, 2017
10a470a
better bookkeeping of requests in light sync
rphmeier Mar 23, 2017
974f89d
correct workaround for RLP issue
rphmeier Mar 23, 2017
5700f4a
fix block response decoding
rphmeier Mar 23, 2017
45c0a97
fix body encoding
rphmeier Mar 23, 2017
b76860f
add signing RPC methods in light cli
rphmeier Mar 23, 2017
e0a7969
transaction propagation on a timer
rphmeier Mar 23, 2017
3708b3b
fix RPC tests
rphmeier Mar 23, 2017
a78068c
queue culling and informant
rphmeier Mar 23, 2017
ac057eb
fix test build
rphmeier Mar 23, 2017
3eece20
Merge branch 'master' into lightcli
rphmeier Apr 3, 2017
394040e
Merge branch 'master' into lightcli
rphmeier Apr 3, 2017
0f65779
fix indentation in usage.txt
rphmeier Apr 3, 2017
0d8a2c8
CHT key optimization
rphmeier Apr 5, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ toml = "0.2"
serde = "0.9"
serde_json = "0.9"
app_dirs = "1.1.1"
futures = "0.1"
fdlimit = "0.1"
ws2_32-sys = "0.2"
ctrlc = { git = "https://github.com/paritytech/rust-ctrlc.git" }
Expand Down
1 change: 1 addition & 0 deletions ethcore/light/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ ethcore-util = { path = "../../util" }
ethcore-network = { path = "../../util/network" }
ethcore-io = { path = "../../util/io" }
ethcore-ipc = { path = "../../ipc/rpc", optional = true }
ethcore-devtools = { path = "../../devtools" }
rlp = { path = "../../util/rlp" }
time = "0.1"
smallvec = "0.3.1"
Expand Down
Loading