Robert Habermeier
34a1512ff0
skeleton for proof checking
2017-04-12 18:55:38 +02:00
Robert Habermeier
ec922ee5e4
supply optional call context to validator sets
2017-04-12 16:42:19 +02:00
Robert Habermeier
0f80c57dca
use native contracts in ValidatorSet
2017-04-12 16:15:35 +02:00
Robert Habermeier
2f5a774325
add validator contracts to native_contracts bin
2017-04-12 15:54:23 +02:00
Robert Habermeier
2d8a8bd3e5
engine changes
2017-04-12 14:41:19 +02:00
Robert Habermeier
13633414a3
Merge pull request #5383 from paritytech/block_header_rpc
...
parity_getBlockHeaderByNumber and LightFetch utility
2017-04-12 14:39:50 +02:00
Arkadiy Paronyan
15ae24b541
New state tests ( #5418 )
...
* General state tests
* Allow dir name for a test
2017-04-12 13:33:49 +02:00
Robert Habermeier
e094043b80
Merge branch 'master' into block_header_rpc
2017-04-12 13:00:32 +02:00
Robert Habermeier
7723d6281b
starting memoized validatorset
2017-04-12 12:46:25 +02:00
Robert Habermeier
daf1495c4e
Filters and block RPCs for the light client ( #5320 )
...
* block_hash method for LightChainClient
* abstraction and futures-based eth_filter
* log fetching for light client
* add eth-filter delegate
* eth_block fetching RPCs
* return default accounts from on_demand
* fix early exit
* BlockNumber -> BlockId
* early exit for no known block number.
2017-04-12 12:07:54 +02:00
Robert Habermeier
a254b2098f
more useful Engine::verify_seal
2017-04-11 17:07:04 +02:00
keorn
d3b2bcdd79
Tendermint fixes ( #5415 )
...
* more resilience
* refactor commit
* fix proposal broadcast
* list encoding
* address grumbles
* to into
2017-04-10 20:03:18 +02:00
Robert Habermeier
bbe0eb96f4
Merge branch 'master' into on-demand-priority
2017-04-10 19:53:53 +02:00
Robert Habermeier
5b65f10828
Merge branch 'master' into block_header_rpc
2017-04-10 18:06:28 +02:00
Adrian Brink
645b8e4b0b
Fix failing tests
2017-04-07 21:35:42 +02:00
Adrian Brink
2ce5a656e7
Ensure that OnDemand and HeaderChain share the same cache
2017-04-07 21:35:41 +02:00
Adrian Brink
fa88ee148a
Add header to cache
2017-04-07 21:35:41 +02:00
Adrian Brink
5e33fe0aa7
Add cache to HeaderChain struct.
2017-04-07 21:35:41 +02:00
Adrian Brink
9552ca7bb3
Change to snakecase
2017-04-07 21:35:41 +02:00
Adrian Brink
3632a98062
Clean up
2017-04-07 21:35:41 +02:00
Adrian Brink
23c76caafa
Add header to cache
2017-04-07 21:35:41 +02:00
Adrian Brink
8a7ca6f0ba
Add caching to block_header()
2017-04-07 21:34:29 +02:00
Adrian Brink
8ea25eeb3c
Add cache to HeaderChain struct.
2017-04-07 21:34:29 +02:00
Adrian Brink
e004e05037
Spelling fixes and link addition about LRU cache in the docs.
2017-04-07 21:34:29 +02:00
Robert Habermeier
68ec7ae41e
tests for on_demand
2017-04-07 19:35:39 +02:00
Robert Habermeier
50886fcb31
Merge pull request #5318 from paritytech/snapshot-v2
...
Snapshot chunks packed by size
2017-04-07 14:45:42 +02:00
Robert Habermeier
5793bb8fac
typestrong API
2017-04-06 20:01:09 +02:00
Robert Habermeier
cf75a19e8d
Merge branch 'block_header_rpc' into on-demand-priority
2017-04-06 17:59:55 +02:00
Robert Habermeier
d19232a848
use cache in on-demand again
2017-04-06 17:22:05 +02:00
Robert Habermeier
574cfae470
dispatch batched requests
2017-04-06 15:34:48 +02:00
NikVolf
9bcd1245d9
fix typo
2017-04-06 11:04:28 +03:00
Robert Habermeier
3eea77709b
convert Request to CheckedRequest
2017-04-05 19:19:04 +02:00
Robert Habermeier
08d8709ef6
checked request for OnDemand
2017-04-05 18:56:01 +02:00
arkpar
03ec27be66
Removed assert
2017-04-05 16:50:06 +02:00
Robert Habermeier
4f843ada3c
Merge github.com:paritytech/parity into block_header_rpc
2017-04-05 16:27:32 +02:00
Robert Habermeier
35740456a4
generalize RequestBuilder
2017-04-05 15:02:44 +02:00
Robert Habermeier
8486e79cad
Merge pull request #5002 from paritytech/lightcli
...
Quick'n'dirty CLI for the light client
2017-04-05 13:50:17 +02:00
Robert Habermeier
6b7a286158
Merge pull request #5401 from paritytech/state-proof-gas-limit
...
set gas limit before proving transactions
2017-04-05 13:50:04 +02:00
arkpar
81db3461fe
Added an assert
2017-04-05 12:27:37 +02:00
Robert Habermeier
e2dfea8c12
set gas limit before proving transactions
2017-04-05 12:05:55 +02:00
Robert Habermeier
0d8a2c8c44
CHT key optimization
2017-04-05 11:30:51 +02:00
Svyatoslav Nikolsky
abec06f50c
On-chain ACL checker for secretstore ( #5015 )
...
* ECDKG protocol prototype
* added test for enc/dec math
* get rid of decryption_session
* added licenses
* fix after merge
* get rid of unused serde dependency
* doc
* decryption session [without commutative enc]
* failed_dec_session
* fixed tests
* added commen
* added more decryption session tests
* helper to localize an issue
* more computations to localize error
* decryption_session::SessionParams
* added tests for EC math to localize problem
* secretstore network transport
* encryption_session_works_over_network
* network errors processing
* connecting to KeyServer
* licenses
* get rid of debug println-s
* fixed secretstore args
* encryption results are stored in KS database
* decryption protocol works over network
* enc/dec Session traits
* fixing warnings
* fix after merge
* on-chain ACL checker proto
* fixed compilation
* fixed compilation
* finally fixed <odd>-of-N-scheme
* temporary commented test
* 1-of-N works in math
* scheme 1-of-N works
* updated AclStorage with real contract ABI
* remove unnecessary unsafety
* fixed grumbles
* wakeup on access denied
* fix after merge
* fix after merge
* moved contract to native-contracts lib
2017-04-03 17:46:51 +02:00
Robert Habermeier
60ce0aee1a
Merge branch 'lightcli' into light-filters
2017-04-03 12:55:31 +02:00
Robert Habermeier
394040e22c
Merge branch 'master' into lightcli
2017-04-03 12:44:52 +02:00
NikVolf
df72c9c6cc
fold multiplication
2017-04-03 12:57:18 +03:00
Robert Habermeier
6aa9005785
parity_getBlockHeaderByNumber and LightFetch
2017-04-03 11:37:07 +02:00
Christopher Franko
41700a6996
Update expanse json with fork at block 600000 ( #5351 )
...
* Update expanse json with fork at block 600000
* update exp chainID to 2
2017-04-03 09:59:08 +02:00
Robert Habermeier
c9c8f920d2
Futures-based native wrappers for contract ABIs ( #5341 )
...
* initial native contract generator
* get generated code compiling
* unit tests for type codegen
* autogenerate registry contract
* native_contracts entry for registry
* service_transaction_checker
* fixed indentation
2017-04-03 09:40:18 +02:00
Robert Habermeier
8c715e025a
Merge branch 'lightcli' into light-filters
2017-04-03 09:03:12 +02:00
Robert Habermeier
3eece20967
Merge branch 'master' into lightcli
2017-04-03 08:58:20 +02:00
Robert Habermeier
21e21f1e02
Merge pull request #5337 from paritytech/kovan-receipt-fix
...
Kovan warp sync fixed
2017-04-02 18:26:49 +02:00
keorn
84abf5d84f
Aura eip155 validation transition ( #5362 )
...
* add eip155 validation
* add transition block
2017-04-01 13:21:22 +02:00
NikVolf
d6baadbaf2
fix doc comment about failing
2017-03-31 17:53:26 +03:00
NikVolf
569d63d0c9
fix assertions
2017-03-31 17:46:44 +03:00
NikVolf
2f30b03060
some tests
2017-03-31 17:38:31 +03:00
NikVolf
d34aec29ed
finalize
2017-03-31 17:38:30 +03:00
NikVolf
9271dd0cc7
wip
2017-03-31 17:38:30 +03:00
NikVolf
3d2e9efb1e
P1, P2 definition
2017-03-31 17:38:30 +03:00
arkpar
b840ab8f8b
Compact chunks
2017-03-31 16:31:12 +02:00
Robert Habermeier
d146ae7275
Merge pull request #4999 from paritytech/eip-213
...
EIP-213 (bn128 curve operations)
2017-03-31 14:54:07 +02:00
keorn
2398311455
add eip155 validation ( #5346 )
2017-03-30 20:01:19 +02:00
Jan Ziniewicz
5d6dac495e
Add new seed nodes ( #5345 )
2017-03-30 14:49:11 +02:00
arkpar
3915943f57
Kovan warp sync fixed
2017-03-30 13:13:43 +02:00
Tomasz Drwięga
d2394d3ac3
Updating paths to repos. ( #5330 )
...
* Updating paths to repos.
* Updating rotor and libusb
* Fixing other occurrences
2017-03-29 15:17:27 +02:00
Tomasz Drwięga
d4684d6302
Separate status for canceled local transactions. ( #5319 )
2017-03-29 14:43:55 +02:00
Marek Kotewicz
64c098627e
updating dependencies ( #5028 )
...
* updated docopt, env_logger, semver and regex crates
* updated parking_lot to 0.4
* fixed compiling on linux
* updated igd to 0.6
* updated jsonrpc
* fixed regex related compiler error on linux
2017-03-28 19:06:08 +02:00
Robert Habermeier
1b0a369889
return default accounts from on_demand
2017-03-28 18:55:23 +02:00
Robert Habermeier
73fa0cdc31
eth_block fetching RPCs
2017-03-28 17:15:36 +02:00
Robert Habermeier
da3dd65726
block_hash method for LightChainClient
2017-03-28 11:23:43 +02:00
Arkadiy Paronyan
c7d99c37fb
Ropsten revival ( #5302 )
2017-03-28 10:47:21 +02:00
keorn
a61b1567d0
Strict validation transitions ( #4988 )
...
* ability to make validation stricter
* fix consensus
* remove logger
2017-03-28 10:46:52 +02:00
NikVolf
efe0f8449c
Merge remote-tracking branch 'origin/master' into eip-213
2017-03-27 18:18:22 +03:00
NikVolf
c313857485
fix error handling
2017-03-27 18:17:49 +03:00
Robert Habermeier
1ca1a4b1cc
Merge pull request #5019 from paritytech/snapshot-v2
...
Fine grained snapshot chunking
2017-03-27 16:57:02 +02:00
Marek Kotewicz
23d3b79d9a
eip100b ( #5027 )
...
* eip100b
* fix eip100b build and tests
* Conventional comparison order
2017-03-27 11:42:40 +02:00
arkpar
387a5fb03b
Doc
2017-03-26 13:26:20 +02:00
NikVolf
34fb39da5b
avoid allocating string
2017-03-25 23:30:11 +03:00
arkpar
b0a9c1e0fa
Limit by entry count
2017-03-25 15:25:20 +01:00
arkpar
b52c7bba4b
Fewer allocations
2017-03-25 13:22:25 +01:00
arkpar
4ef89b5ccb
Fine grained snapshot chunking
2017-03-25 13:22:25 +01:00
Robert Habermeier
109012cae8
force earliest era set in snapshot restore ( #5021 )
2017-03-25 10:00:50 +01:00
NikVolf
434ed1b91c
remove alt_
2017-03-24 15:35:00 +03:00
Robert Habermeier
ac057ebe93
fix test build
2017-03-23 22:36:15 +01:00
Robert Habermeier
a78068cbe9
queue culling and informant
2017-03-23 22:20:00 +01:00
Robert Habermeier
e0a79699ea
transaction propagation on a timer
2017-03-23 20:31:20 +01:00
Robert Habermeier
45c0a97142
fix body encoding
2017-03-23 18:52:54 +01:00
Robert Habermeier
5700f4ac81
fix block response decoding
2017-03-23 18:31:16 +01:00
Robert Habermeier
974f89d5bf
correct workaround for RLP issue
2017-03-23 16:00:00 +01:00
Robert Habermeier
10a470a5fa
better bookkeeping of requests in light sync
2017-03-23 15:44:16 +01:00
Robert Habermeier
c75b49667e
workaround for #5008
2017-03-23 14:49:02 +01:00
Robert Habermeier
1485dd07ae
use prev credits in tracing
2017-03-23 14:38:32 +01:00
Robert Habermeier
54eb575000
request tests that demonstrate broken RLP behavior
2017-03-23 14:38:23 +01:00
Robert Habermeier
ac7f1f6719
fix header chain tests
2017-03-23 14:15:13 +01:00
Robert Habermeier
da837fa9d8
Merge branch 'master' into lightcli
2017-03-23 14:12:42 +01:00
Robert Habermeier
a1df49ef3e
add test for request vec deserialization
2017-03-23 14:04:26 +01:00
Robert Habermeier
ec52a4a235
more tracing in on-demand
2017-03-23 13:24:04 +01:00
Tomasz Drwięga
bb1bbebfd6
Export account RPC ( #4967 )
...
* Export account RPC
* Removing GethDirectory and ParityDirectory
* Updating ethstore-cli help.
2017-03-23 13:23:03 +01:00
keorn
9fdd0e3a0a
Switching ValidatorSet ( #4961 )
...
* add multi validator set
* nicer comment
* validate in constructor
* reporting
2017-03-23 13:19:28 +01:00
Robert Habermeier
64cec5ff7d
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
2017-03-23 13:17:05 +01:00
Robert Habermeier
77f036ee21
fix capabilities-interpreting error in on_demand
2017-03-23 04:38:08 +01:00