Robert Habermeier
fe52e969b6
Merge branch 'master' into pip-msg
2017-03-21 15:24:47 +01:00
Marek Kotewicz
a555686bcd
rlp serialization refactor ( #4873 )
...
* fixed naming of rlp modules
* RlpStream cleanup
* appending short rlp lists (0...55 bytes) is 25% faster
* RlpStream does not use bytes module, nor trait Stream
* removed unused code from rlp module
* compiling ethcore-util with new rlp serialization
* compiling parity with new rlp serialization
* fixed compiling ethcore-light with new rlp serialization
* fixed compiling ethsync with new rlp serialization
* removed redundant comment, print
* removed redundant double-space
* replace usage of WriteBytesExt with ByteOrder
2017-03-20 19:14:29 +01:00
Robert Habermeier
8be41ad946
Merge branch 'master' into pip-msg
2017-03-17 14:13:10 +01:00
Marek Kotewicz
3fe3353696
removed redundant FixedHash trait, fixes #4029 ( #4866 )
2017-03-11 22:58:15 +04:00
Robert Habermeier
391eb4b66c
get network tests working
2017-03-09 16:55:13 +01:00
Robert Habermeier
8fb0a2d417
move request_builder -> request::builder
2017-03-08 20:11:22 +01:00
Robert Habermeier
a1186727af
fix cost table RLP encoding
2017-03-08 18:38:25 +01:00
Robert Habermeier
9268a1f59c
get tests compiling
2017-03-08 18:27:29 +01:00
Robert Habermeier
9692616958
re-do cost table
2017-03-08 18:01:41 +01:00
Robert Habermeier
bb39f104f4
implement requesting from
2017-03-08 17:37:07 +01:00
Robert Habermeier
ee034185a5
handle response packets
2017-03-08 15:28:46 +01:00
Robert Habermeier
8a3b5c6332
Remote transaction execution ( #4684 )
...
* 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
2017-03-08 14:39:44 +01:00
Robert Habermeier
dbd05e6c92
handle request packet in LightProtocol
2017-03-07 20:58:23 +01:00
Robert Habermeier
04291fe71e
complete initial request changes
2017-03-07 19:48:07 +01:00
Robert Habermeier
1ff0abc661
Merge branch 'master' into remote-tx-exec
2017-02-26 13:55:29 +01:00
Robert Habermeier
69e82e15a3
request transaction proofs from on_demand
2017-02-25 20:10:38 +01:00
Robert Habermeier
2b671b8476
test for transaction proof message
2017-02-25 12:43:43 +01:00
Robert Habermeier
4158693470
network messages for transaction proof
2017-02-25 11:07:38 +01:00
Robert Habermeier
92e5982127
generate transaction proofs from provider
2017-02-25 00:27:48 +01:00
Robert Habermeier
ddbdfafc05
buffer flow -> request credits
2017-02-23 23:10:29 +01:00
Robert Habermeier
9316eb4ad3
(most of) parity RPC for light client
2017-02-17 21:38:43 +01:00
Gav Wood
8404edb656
Fix whitespace ( #4299 )
...
* Fix whitespace.
* Update copyright years/owner.
* Push release only for tags.
2017-01-25 18:51:41 +01:00
Robert Habermeier
b739704902
ensure write lock isn't held when calling handlers ( #4285 )
2017-01-24 19:15:59 +00:00
Robert Habermeier
3ff9324ec0
LES Peer Info ( #4195 )
...
* connected peers function for network service
* get LES peer info in sync API
* new peer info in RPC
2017-01-20 12:41:49 +01:00
Robert Habermeier
3040a1c83e
Merge pull request #4093 from ethcore/better-timeouts
...
LES: Better timeouts + Track failed requests
2017-01-18 15:04:48 +01:00
Robert Habermeier
f0eab337d8
Merge pull request #4036 from ethcore/on-demand-les-request
...
On demand LES request
2017-01-13 14:36:48 +01:00
Tomasz Drwięga
e11353f94c
UnverifiedTransaction type ( #4134 )
...
* Introducing ValidSignedTransaction
* Verifiying transactions in engines
* Widening use of VerifiedSignedTransaction
* Renaming Transactions
* Uncommenting banning queue & Fixing tests
* Fixing json tests
* Fixing pre-homestead test
* Fixing imports
* Addressing grumbles
* Fixing test
2017-01-13 08:51:36 +00:00
Robert Habermeier
7dde02b25d
Merge branch 'master' into on-demand-les-request
2017-01-12 11:23:47 +01:00
Robert Habermeier
e88c62d37d
Merge branch 'master' into better-timeouts
2017-01-11 18:55:16 +01:00
Robert Habermeier
7123f19a75
Test harness for lightsync ( #4109 )
...
* make on_connect/disconnect public
* free flow params constructor
* Shared ownership of LES handlers
* light provider impl for test client
* skeleton for testing light sync
* have test_client use actual genesis
* fix underflow in provider
* test harnesses for lightsync
* fix tests
* fix test failure caused by test_client changes
2017-01-11 14:39:03 +01:00
Robert Habermeier
d515ef9a2a
test for id_guard behavior
2017-01-09 12:20:44 +01:00
Robert Habermeier
54058e3712
ensure failed requests considered unfulfilled
2017-01-09 11:29:06 +01:00
Robert Habermeier
f63faea308
test for request_set and remove idle flag
2017-01-04 18:43:11 +01:00
Robert Habermeier
04282be721
use request set to provide better timeouts
2017-01-04 18:00:12 +01:00
Robert Habermeier
4dbbc3bc88
beginnings of on_demand request module + verification
2017-01-03 16:18:57 +01:00
Robert Habermeier
5309ba45a8
update peer status from announcement
2016-12-28 16:20:35 +01:00
Robert Habermeier
e6324a83f1
Merge branch 'master' into lightsync
2016-12-28 15:53:11 +01:00
Robert Habermeier
c2ad769fb7
Merge branch 'master' into on-demand-les-request
2016-12-28 14:00:33 +01:00
Robert Habermeier
fe1f542c4f
Owning views of blockchain data ( #3982 )
...
* owning views of blockchain data
* port blockchain and client traits to owning views
* fix ethcore tests
* use strong headers and bodies in ethcore_light
* port ethsync to use owning views
* port rpc to owning views
* port parity informant and blockchain export
2016-12-28 12:44:51 +00:00
Robert Habermeier
9b4f90718f
Display impl for ReqId
2016-12-27 13:54:51 +01:00
Robert Habermeier
8125b5690c
Port try
macro to new ?
operator. ( #3962 )
...
* initial untry sweep
* restore try in ipc codegen, fix inference
* change a few missed try instances
2016-12-27 12:53:56 +01:00
Robert Habermeier
01b494ca2c
Merge branch 'master' into lightsync
2016-12-21 13:42:07 +01:00
Robert Habermeier
4c7dc9f2d8
require only simpler methods on Provider
2016-12-19 14:54:10 +01:00
Robert Habermeier
a48435ca60
Merge branch 'master' into lightsync
2016-12-19 13:15:37 +01:00
Robert Habermeier
ccdf5d5873
increase tick timer and limit peers to one req
2016-12-19 12:28:42 +01:00
Robert Habermeier
a7505be627
fix deadlocks
2016-12-16 22:09:29 +01:00
arkpar
65f07e5aa7
Renamed some functions
2016-12-16 14:54:26 +01:00
Robert Habermeier
9c7340307e
handle events, minimal state machine
2016-12-15 21:51:08 +01:00
Robert Habermeier
72f7391551
add BasicContext trait for handler ticking
2016-12-15 19:25:52 +01:00
arkpar
2952ea1b85
Delayed transactions
2016-12-15 18:19:19 +01:00