Implement PIP messages, request builder, and handlers (#4945)
* return errors on database corruption * fix tests, json tests * fix remainder of build * buffer flow -> request credits * proving state backend * generate transaction proofs from provider * network messages for transaction proof * transaction proof test * test for transaction proof message * fix call bug * request transaction proofs from on_demand * most of proved_execution rpc * proved execution future * initial request definitions * RLP encoding and decoding for requests * proofs of non-existance in ProvingBlockChainClient * new requests in provider. * encode and decode responses * complete initial request changes * handle request packet in LightProtocol * handle response packets * implement requesting from * re-do cost table * get tests compiling * fix cost table RLP encoding * roundtrip tests for request types * request builder tests * move request_builder -> request::builder * get network tests working * return only complete headers responses * request builder improvements * New version of jsonrpc. * split request filling into fill,complete * Better invalid encoding messages * Fixing deprecated methods of tokio_core * use PIP messages in on_demand, old API * migrate oneshot::complete to send in on_demand * get on_demand tests to compile * port ethsync to PIP messages * adjust to minor on_demand API changes in RPC * Using dedicated branch for jsonrpc * Bump
Showing
- ethcore/light/Cargo.toml 1 addition, 1 deletionethcore/light/Cargo.toml
- ethcore/light/src/client/header_chain.rs 0 additions, 1 deletionethcore/light/src/client/header_chain.rs
- ethcore/light/src/client/mod.rs 1 addition, 48 deletionsethcore/light/src/client/mod.rs
- ethcore/light/src/lib.rs 2 additions, 2 deletionsethcore/light/src/lib.rs
- ethcore/light/src/net/context.rs 14 additions, 21 deletionsethcore/light/src/net/context.rs
- ethcore/light/src/net/error.rs 4 additions, 0 deletionsethcore/light/src/net/error.rs
- ethcore/light/src/net/mod.rs 123 additions, 767 deletionsethcore/light/src/net/mod.rs
- ethcore/light/src/net/request_credits.rs 89 additions, 114 deletionsethcore/light/src/net/request_credits.rs
- ethcore/light/src/net/request_set.rs 33 additions, 26 deletionsethcore/light/src/net/request_set.rs
- ethcore/light/src/net/tests/mod.rs 175 additions, 140 deletionsethcore/light/src/net/tests/mod.rs
- ethcore/light/src/on_demand/mod.rs 192 additions, 439 deletionsethcore/light/src/on_demand/mod.rs
- ethcore/light/src/on_demand/request.rs 27 additions, 40 deletionsethcore/light/src/on_demand/request.rs
- ethcore/light/src/provider.rs 95 additions, 139 deletionsethcore/light/src/provider.rs
- ethcore/light/src/types/les_request.rs 0 additions, 228 deletionsethcore/light/src/types/les_request.rs
- ethcore/light/src/types/mod.rs.in 1 addition, 1 deletionethcore/light/src/types/mod.rs.in
- ethcore/light/src/types/request/builder.rs 190 additions, 0 deletionsethcore/light/src/types/request/builder.rs
- ethcore/light/src/types/request/mod.rs 1710 additions, 0 deletionsethcore/light/src/types/request/mod.rs
- ethcore/src/client/client.rs 4 additions, 14 deletionsethcore/src/client/client.rs
- ethcore/src/client/test_client.rs 5 additions, 8 deletionsethcore/src/client/test_client.rs
- ethcore/src/client/traits.rs 3 additions, 9 deletionsethcore/src/client/traits.rs
Please register or sign in to comment