Afri Schoedon
36e230ee16
Expanse Byzantium update w/ correct metropolis difficulty increment divisor ( #7463 )
...
* Byzantium Update for Expanse
Here the changes go. Hope I didnt miss anything.
* expip2 changes - update duration limit
* Fix missing EXPIP-2 fields
* Format numbers as hex
* Fix compilation errors
* Group expanse chain spec fields together
* Set metropolisDifficultyIncrementDivisor for Expanse
* Revert #7437
* Add Expanse block 900_000 hash checkpoint
2018-01-05 13:49:07 +01:00
5chdn
27d8befbad
Remove expanse from available chains
2018-01-03 13:24:27 +01:00
Marek Kotewicz
5fee880fbb
Merge pull request #7409 from paritytech/dircrate2
...
standalone dir crate, replaces #7383
2017-12-29 11:44:26 +01:00
Marek Kotewicz
483480d7a1
Merge pull request #7336 from paritytech/secretstore_rpc_sign_raw_hash
...
SecretStore: secretstore_signRawHash method
2017-12-29 11:10:29 +01:00
Nicolas Ochem
2e12a2db50
Fix #6209 - introduce standalone dir crate
...
* created the dir crate in util
* moved code from ethstore/src/dir/paths.rs to dir crate
* rename dir module in ethstore to accounts_dir to distinguish it
from the dir crate
* changes after @tomusdrw on #6952
2017-12-26 00:54:34 -08:00
Marek Kotewicz
d80dd81d77
parity-version pr reopen ( #7136 )
...
* parity-version module split from util
removed unused util deps and features
trigger buildbot again
only kvdb links rocksdb
snappy linker issues
* rm snappy
* fixed old version imports
2017-12-22 09:37:39 -04:00
Tomasz Drwięga
00883e477a
Get rid of clippy remainings.
2017-12-21 11:27:26 +01:00
Svyatoslav Nikolsky
6e5c188eef
SecretStore: secretstore_signRawHash RPC
2017-12-19 16:59:37 +03:00
Dmitry Kashitsyn
5f82f0008f
Adds personal_signTransaction
RPC method ( #6991 )
...
* Adds personal_signTransaction RPC method
* Fixes sign_transaction() to return RichRawTransaction
* Adds test for invalid password
* Fix after rebase
2017-12-19 10:49:49 +01:00
Tomasz Drwięga
d5c21c9707
Send each log as a separate notifications. ( #7175 )
2017-12-05 20:14:50 +03:00
Svyatoslav Nikolsky
5bd2894146
Fixed build && test ( #7128 )
...
* fixed build && test
* fixed rpc tests
2017-11-23 14:47:08 +01:00
Jaco Greeff
17df58b767
Add localUrl to serialization
2017-11-21 15:02:54 +01:00
Robert Habermeier
81212c5031
Merge branch 'master' into upload-crates
2017-11-17 16:42:41 +01:00
Svyatoslav Nikolsky
e16f6fb9d9
SecretStore: servers set change session api ( #6925 )
...
* SecretStore: first key versions flush
* SecretStore: key versions in encryption session
* SecretStore: flush key versions negotiation session
* SecretStore: connected key version negotiation session to cluster
* SecretStore: cluster sessions container refactoring
* SecretStore: flush
* SecretStore: flush key versions
* SecretStore: flush
* SecretStore: delegation proto
* SecretStore: decryption_session_is_delegated_when_node_does_not_have_key_share
* SecretStore: fixed version in decryption session
* SecretStore: signing_session_is_delegated_when_node_does_not_have_key_share
* SecretStore: started restoring admin sessions
* SecretStore: restoring admin sessions
* SecretStore: removed obsolete ShareRemove && ShareMove sessions
* SecretStore: ShareAdd math tests only require old_t+1 nodes
* SecretStore: ShareAdd revamp using new math backend
* SecretStore: do not include isolated nodes into consensus_group
* SecretStore: ServersSetChange + ShareAdd revamp
* removed debug printlns
* SecretStore: key version negotiation tests
* SecretStore: removed debug/merge artifacts
* SecretStore: fixed master node selection
* SecretStore: cleanup + tests + fixes
* SecretStore: uncommented tests
* SecretStore: cleaning up
* SecretStore: cleaning up + tests
* SecretStore: cleaning up
* SecretStore: cleaning up && tests
* SecretStore: fixing TODOs
* SecretStore: fixing TODOs + cleanup
* SecretStore: fixing TODOs
* SecretStore: nodes_add_to_the_node_with_obsolete_version
* SecretStore: nodes_add_fails_when_not_enough_share_owners_are_connected
* SecretStore: tests
* SecretStore: signing && delegation tests
* SecretStore: signing && decryption tests when some nodes are isolated
* SecretStore: sessions_are_removed_when_initialization_fails
* SecretStore: ceaning up
* SecretStore: removed obsolete comments
* SecretStore: signing_session_completes_if_node_does_not_have_a_share
* SecretStore: initial ServersSetChange API
* SecretStore: added secretstore_signServersSet RPC
* SecretStore: ChangeServersSet parse tests
* SecretStore: fixes after manual ServersSetChange tests
* lost file
* fixed network ports overlap in tests
* lost files
2017-11-16 17:34:23 +01:00
Marek Kotewicz
e6048e4a34
Merge pull request #7054 from paritytech/allocate_with_zeroes
...
Small performance gain in allocations
2017-11-14 15:48:11 +01:00
Marek Kotewicz
5a76d35ca8
Merge pull request #7051 from paritytech/td-jsonrpc-bump
...
Bump JSON-RPC version
2017-11-14 15:43:26 +01:00
Kirill Pimenov
6ddabc0f49
Small performance gain in allocations
...
As measured in
https://gist.github.com/kirushik/e0d93759b0cd102f814408595c20a9d0 ,
it's much faster not to iterate over zeroes, and just allocate a
contiguous array of zeroes directly.
2017-11-14 13:06:50 +01:00
Tomasz Drwięga
f7fa9f6e9d
Drop jsonrpc_core::Error
2017-11-14 12:17:48 +01:00
Tomasz Drwięga
7e512c637a
Bump version.
2017-11-13 22:52:25 +01:00
Tomasz Drwięga
8b85f648ca
HashMap::retain
2017-11-13 17:09:30 +01:00
Tomasz Drwięga
72907da2ae
Garbage collect hashmap entries.
2017-11-12 12:50:13 +01:00
Robert Habermeier
ec5519ccd1
rename hash crate to keccak-hash
2017-11-10 20:08:28 +01:00
Nicolas Gotchac
8c6b89df72
Merge branch 'master' into fix-nonce-reservation
2017-11-10 17:36:12 +01:00
Nicolas Gotchac
15c97336a4
Create hashmap in RPC Apis
2017-11-10 17:11:04 +01:00
Nicolas Gotchac
4c8780f188
Use nonce reservation per address
2017-11-09 19:49:34 +01:00
Robert Habermeier
4a07010539
Merge branch 'master' into light-local-tx
2017-11-07 16:56:28 +01:00
Tomasz Drwięga
ffee6aacff
Creating pending block with all transactions from the queue ( #6942 )
...
* Allow to include all queue transactions in pending block.
* Fix tests.
2017-11-03 15:20:20 +01:00
Arkadiy Paronyan
60bb2d9c74
Set zero nonce and gasprice for calls by default ( #6954 )
2017-11-02 12:50:08 +01:00
Tomasz Drwięga
0a69d5ac4c
Return decoded seal fields. ( #6932 )
2017-11-01 11:29:03 +01:00
Tomasz Drwięga
ec44e3d265
Fix serialization of status in transaction receipts. ( #6926 )
2017-11-01 11:25:10 +01:00
Tomasz Drwięga
b861ad37a4
Reserve nonces for signing ( #6834 )
...
* Nonce future - reserve and dispatch
* Single thread nonce tests
* Track status of reserved nonces.
* Initialization of nonce reservations.
* Prospective Signer
* Fix cli tests.
2017-11-01 11:23:18 +01:00
Marek Kotewicz
39e27076ad
Merge pull request #6842 from paritytech/td-evm-json
...
Fix JSON tracing for sub-calls.
2017-10-29 21:47:14 -07:00
Tomasz Drwięga
b98150526c
Fix serialization of non-localized transactions ( #6868 )
...
* Fix serialization of non-localized transactions.
* Return proper SignedTransactions representation.
2017-10-24 12:13:00 +02:00
Tomasz Drwięga
025244e8b2
Return error on timed unlock attempt. ( #6777 )
2017-10-24 11:57:55 +02:00
Robert Habermeier
965dff3d32
light: get local transactions by hash
2017-10-24 07:30:53 +02:00
Tomasz Drwięga
42e23a9633
Return proper SignedTransactions representation.
2017-10-23 16:45:06 +02:00
Tomasz Drwięga
4ba2587226
Fix serialization of non-localized transactions.
2017-10-23 14:46:36 +02:00
Tomasz Drwięga
2d222a5920
Capture traces and write some tests.
2017-10-20 16:06:36 +02:00
Tomasz Drwięga
1d9542fe88
Fix RPC compilation warnings.
2017-10-17 15:41:32 +02:00
Kirill Pimenov
86c2633280
Migrate to Futures in SigningQueue ( #6689 )
...
* oneshot channels instead of custom promises
* Future instead of handle_dispatch
* Even less copying
* Those explicit waits were a mistake, thanks, @tomusdrw
* No more unsafe polling
* Test for the new `is_done()` method
* Mark Futures as `#[must_use]`
* Solve most compilation warnings
* `try_ready!` is more ideomatic
* Turn spaces into tabs
* Documentation and visibility improvements
* Minor code style improvements
* Make Futures run on an explisit reactor
* Another round of code style issues
* Simplify ConfirmationReceiver type
* Flatten ConfirmationOutcome into a plain Result type
* Get rid of a separate `pending` set, it was a stupid idea
* Clarify `add_request` docs
* No need to reduce the scope of the mutex here
2017-10-17 14:50:53 +02:00
debris
16d84f8ecf
finished removing ipc
2017-10-16 18:18:43 +02:00
Arkadiy Paronyan
5b29b6d064
Squash remaining warnings ( #6789 )
...
* Fixed comment warnings
* Fixed remaining warnings
2017-10-16 12:31:52 +02:00
debris
db3ff67182
Merge branch 'master' into kvdb_split
2017-10-15 16:40:20 +02:00
debris
616cafb04a
renamed kvdb_memorydb::in_memory -> kvdb_memorydb::create
2017-10-15 16:17:15 +02:00
Dmitry Kashitsyn
dab40e832c
Removes redundant mut
in rpc
2017-10-15 20:11:07 +07:00
debris
5c220ab64b
Merge branch 'master' into kvdb_split
2017-10-13 12:18:49 +02:00
Arkadiy Paronyan
f3ea2f354e
v1.9.0 ( #6727 )
2017-10-12 23:44:02 +02:00
Robert Habermeier
a2d9b6f9ce
remove RPC parameter leniency now that mist formats correctly ( #6651 )
2017-10-12 23:35:52 +02:00
debris
eb526b7769
separated kvdb into 3 crates: kvdb, kvdb-memorydb && kvdb-rocksdb, #6693
2017-10-12 15:36:27 +02:00
Marek Kotewicz
6279ff32f5
Separate migrations from util ( #6690 )
...
* separate migration from util and make its dependencies into libs:
* snappy
* kvdb
* error
* common
* renamed common -> macros
* util error does not depend on snappy module
* ethsync does not depend on util nor ethcore_error
* nibbleslice and nibblevec merged with patricia_trie crate
* removed unused dependencies from util
* util journaldb traits does not need to be public
* util_error
* fixed ethcore compile error
* ignore .swo files
* Update chain.rs
2017-10-10 20:01:27 +02:00