Commit Graph

9797 Commits

Author SHA1 Message Date
Tomasz Drwięga
ad67ea0eb5
Merge branch 'master' into csp-fix 2017-07-09 14:10:53 +02:00
Robert Habermeier
125aa0aeb4 Merge pull request #5959 from paritytech/dont-compute-hash
Defer code hash calculation.
2017-07-06 19:00:19 +02:00
GitLab Build Bot
df0ef6618d [ci skip] js-precompiled 20170706-164115 2017-07-06 16:47:59 +00:00
Robert Habermeier
0409e95d1e Merge pull request #6000 from paritytech/new-acc
Fix first run wizard.
2017-07-06 18:02:47 +02:00
Robert Habermeier
104367ce24 Merge pull request #5996 from paritytech/serdeup
migration to serde 1.0
2017-07-06 18:02:11 +02:00
debris
5f2cb5e52f push CI 2017-07-06 16:48:58 +02:00
debris
8118444442 fixed rpc tests 2017-07-06 15:25:51 +02:00
debris
9e185030e6 push CI 2017-07-06 14:49:10 +02:00
debris
f4f8b411f5 fixed parity tests with new serde and toml 2017-07-06 14:10:41 +02:00
Svyatoslav Nikolsky
6334893561 SecretStore: generating signatures (#5764)
* refactoring traits

* separate generation session

* generalized ClusterSessions

* signing session prototype

* full_signature_math_session

* consensus session prototype

* continue signing session

* continue signing session

* continue signing session

* continue signing session

* isolated consensus logic

* started work on signing test

* complete_gen_sign_session works

* consensus tests

* get rid of duplicated data in SigningSession

* TODOs in signing session

* fixing tests

* fixed last test

* signing session in http listener

* new key server tests

* fix after merge

* enabled warnings

* fixed possible race

* ignore previous jobs responses

* include sef node in consensus when confirmed

* fixed warning

* removed extra clones

* consensus_restarts_after_node_timeout

* encrypt signature before return

* return error text along with HTTP status

* fix for odd-of-N (share check fails + not equal to local sign)

* fixed t-of-N for odd t

* fixed test cases in complete_gen_sign_session

* fixed mistimed response reaction

* jobs draft

* DecryptionJob

* consensus session tets

* fixed decryption tests

* signing job implementation

* siginng_session using new consensus_session

* added license preambles

* same_consensus_group_returned_after_second_selection

* database upgrade v0 -> v1

* typo

* fixed grumbles
2017-07-06 14:02:10 +02:00
debris
44ae70e9ec Merge branch 'serdeup' of github.com:paritytech/parity into serdeup 2017-07-06 11:44:37 +02:00
debris
1c2a4c116a Merge branch 'master' into serdeup 2017-07-06 11:43:46 +02:00
debris
61d8f90530 updated serde to version 1.0 2017-07-06 11:36:15 +02:00
Marek Kotewicz
46183b1cdd bigint upgraded to version 3.0 (#5986)
* bigint upgraded to version 3.0

* fixed missing FromHex import in ethcore tests

* fixed missing FromHex import in rpc tests
2017-07-06 11:26:14 +02:00
Marek Kotewicz
a78a89b13a Merge pull request #5965 from guanqun/fix-force-seal
config: don't allow dev chain with force sealing option
2017-07-06 11:20:06 +02:00
Marek Kotewicz
e91025282e Merge pull request #5969 from brson/lockfile
Update lockfile for miniz-sys and gcc
2017-07-06 11:18:52 +02:00
Marek Kotewicz
a3a4a37ec7 Merge pull request #5995 from paritytech/rpc-errors-naming-3204
Clean up function naming in RPC error module
2017-07-06 11:18:04 +02:00
debris
687a542260 Merge branch 'bigint3' into serdeup 2017-07-06 11:15:19 +02:00
debris
e7d3036ace fixed missing FromHex import in rpc tests 2017-07-06 10:46:40 +02:00
GitLab Build Bot
33f1d2af1e [ci skip] js-precompiled 20170706-081457 2017-07-06 08:21:42 +00:00
debris
1d386f60e9 Merge branch 'bigint3' into serdeup 2017-07-06 10:19:35 +02:00
debris
7dcbcb5c31 fixed missing FromHex import in ethcore tests 2017-07-06 10:18:48 +02:00
Jef
981854d5ae Merge pull request #5975 from Vurich/fix-underflow
Fix underflow in gas calculation
2017-07-06 10:10:06 +02:00
kaikun213
349316f70e PubSub for parity-js (#5830)
* PubSub Integration WebSocket

* PubSub Provider API

* Parity License and fix switch statement

* Minor fix: use parameter api

* Exclude subscriptionId return

* Unsubscribe parameters as array

* secureProvider API added

* isSecure check

* Refractor: Formatting in callback (no Promise)

* Tests for parityProvider

* Refractor: Formatting in callback (secure API)

* Updated transaction documentation

* Module instead of API-Names, Options always as array (e.g. empty)

'parity' instead of 'parity_subscribe' calls
params with empty array as options. If eth_subscribe includes empty array parity-core will send invalid request (eth api doesn't have options)

* Removed isSecure transport check, because APIs are configurable

* Refractor Provider API to single Pubsub

* Modify transport layer to have single identifier for subscriptions

* FIX: Display pubsub errors

* Discard Messages after unsubscribing

* Fix: display error normal messages correctly

* Simplified code, removed unnecessary pubsub methods

* trace_call API 2nd argument blockNumber, first whatTrace

https://github.com/paritytech/parity/wiki/JSONRPC-trace-module#trace_call

* Separate namespaces pubsub. eth, parity, net

* Keep error for messages from unsubscribed topics.

* Fix: Unsubscribe Promise

* Add Test: Unsubscribe promise resolved

* Fix: 'error' in params
2017-07-06 09:50:27 +02:00
Tomasz Drwięga
58a27b3334
Fix first run wizard. 2017-07-05 12:25:07 +02:00
debris
2d69c7ecf6 finished migration to serde 1.0 2017-07-05 10:34:23 +02:00
debris
2c4f55a8fb migrated rpc to serde 1.0 2017-07-05 10:27:56 +02:00
debris
2e5f7f1632 migrated ethcore engine to new ethabi interface 2017-07-05 10:18:19 +02:00
debris
e448b84845 migrated ethcore-network to bytes 0.4 2017-07-04 18:12:39 +02:00
debris
972d30c288 migrated ethcore, ethstore, secret_store, updater and hash-fetch to serde 1.0 2017-07-04 17:23:06 +02:00
Axel Chalon
59e87b6a51 Clean up function naming in RPC error module 2017-07-04 17:01:06 +02:00
debris
9c911c7a28 migrated ethjson to serde 1.0 2017-07-04 17:00:42 +02:00
Tomasz Drwięga
949086baa5
Add missing frame-ancestors. 2017-07-04 16:43:53 +02:00
debris
286526072f migrated ethkey, ethstore, evmbin and parity executables to serde 1.0 2017-07-04 14:31:16 +02:00
debris
a9aaacd88b bigint upgraded to version 3.0 2017-07-04 12:19:11 +02:00
Vurich
2e90e02a2c Fix underflow 2017-07-03 17:43:03 +02:00
Robert Habermeier
cc718bb108 Merge pull request #5958 from Vurich/peer-status
Report whether a peer was kept from `Handler::on_connect`
2017-07-03 16:22:50 +02:00
Robert Habermeier
826a4ca0a2 Implement skeleton for transaction index and epoch transition proof PIP messages (#5908)
* add transaction index message without implementing

* add epoch proof fetch and response messages
2017-07-03 12:25:10 +02:00
Brian Anderson
7240eee5a8 Update lockfile for miniz-sys and gcc
Fixes build with VS 2017.
2017-07-03 01:44:20 +01:00
Guanqun Lu
9241c6a9b5 config: don't allow dev chain with force sealing option 2017-07-01 23:20:49 +08:00
Vurich
17de29e69a Prevent disconnect from within handler (and style cleanup) 2017-06-30 12:10:12 +02:00
Tomasz Drwięga
f22745eb0a TransactionQueue improvements (#5917)
* Order by id instead of hash.

* Minimal gas price bump.

* Avoid to construct oversized transaction packets.

* Fix RPC.

* Never construct oversized transactions packet.

* Never construct oversized packets.
2017-06-30 11:57:48 +02:00
Tomasz Drwięga
5d9f5e3509
Defer code hash calculation. 2017-06-30 11:30:32 +02:00
Vurich
5eba9078fc Report whether a peer was kept from Handler::on_connect 2017-06-30 11:00:32 +02:00
Robert Habermeier
a3e693d5c3 Merge pull request #5952 from paritytech/constant-time-mac-compare
constant time HMAC comparison and clarify docs in ethkey
2017-06-29 22:21:12 +02:00
Robert Habermeier
36c91e4ed5 Merge pull request #5954 from paritytech/evm-defer
Avoid pre-computing jump destinations
2017-06-29 21:18:16 +02:00
Robert Habermeier
83690fdb90 Merge branch 'master' into constant-time-mac-compare 2017-06-29 21:15:20 +02:00
Tomasz Drwięga
38c00fae88
Merge branch 'master' into evm-defer 2017-06-29 18:42:58 +02:00
Tomasz Drwięga
465c7eeaa2
Defer construction valid_jump_destinations. 2017-06-29 17:43:34 +02:00
Robert Habermeier
a4195f2780 Merge pull request #5949 from Vurich/upgrade-elastic-array
Upgrade elastic array
2017-06-29 17:12:53 +02:00