Tomasz Drwięga
236a4aac22
Pending transactions subscription ( #7906 )
...
* Pending transactions subscription.
* Pending transactions Pub-Sub
* Add light client support.
* Remove redundant Ok
2018-02-16 16:51:34 +01:00
André Silva
d1815eec55
Fix wallet import ( #7873 )
...
* rpc: generate new account id for imported wallets
* ethstore: handle duplicate wallet filenames
* ethstore: simplify deduplication of wallet file names
* ethstore: do not dedup wallet filenames on update
* ethstore: fix minor grumbles
2018-02-14 14:21:58 +01:00
Marek Kotewicz
c060d9584d
ethabi version 5 ( #7723 )
...
* Refactor updater to use ethabi-derive
* Grumble: do_call type alias
* Empty commit to trigger test re-run
* migration to ethabi-5.0
* migration to ethabi-5.0 in progress
* use ethabi_deriven to generate TransactAcl contract
* use ethabi_deriven to generate Registry contract
* hash-fetch uses ethabi_derive, removed retain cycle from updater, fixed #7720
* node-filter crate uses ethabi_derive to generate peer_set contract interface
* use LruCache in node-filter instead of HashMap
* validator_set engine uses ethabi_derive
* ethcore does not depend on native_contracts
* miner does no depend on native_contracts
* secret_store does not use native_contracts (in progress)
* removed native-contracts
* ethcore and updater does not depend on futures
* updated ethereum-types
* fixed all warnings caused by using new version of ethereum-types
* updated ethabi_derive && ethabi_contract to get rid of warnings
* removed another retain cycle in updater, fixed following minor version on update
* moved contracts out of native_contracts res
* updated ethabi_contract
* fixed failing test
* fixed failing test
* there is no need to create two contracts of the same kind any more
* simplify updater::ReleaseTrack conversion into u8 and add several tests for it
* applied review suggestions
* applied review suggestions
2018-02-09 09:32:06 +01:00
Tomasz Drwięga
b4ed51c5f1
Bump jsonrpc. ( #7828 )
2018-02-07 16:13:54 +01:00
Dmitry Kashitsyn
a412f7cca6
Removes redundant parentheses, whitelists them in generated code ( #7721 )
2018-01-31 09:48:37 +01:00
Tomasz Drwięga
99dbc68276
Light client RPCs ( #7603 )
...
* Implement registrar.
* Implement eth_getCode
* Don't wait for providers.
* Don't wait for providers.
* Fix linting and wasm tests.
2018-01-22 11:27:23 +01:00
Marek Kotewicz
f43e355254
Replace RandomTempDir with tempdir::Tempdir ( #7624 )
...
* Remove GuardedTempResult
* Remove RandomTempPath
* ethcore does not depend on devtools
2018-01-19 17:32:53 +01:00
Marek Kotewicz
668d910c44
bloom refactor ( #7475 )
...
* ethereum-types refactor in progress
* ethereum-types refactor in progress
* ethereum-types refactor in progress
* ethereum-types refactor in progress
* ethereum-types refactor finished
* cleanup bloom mess
* simplify usage of Bloom in few places
* removed obsolete util/src/lib.rs
* removed commented out code
* ethereum-types 0.1.4
* updated ethereum-types and tiny-keccak
2018-01-14 22:43:28 +01:00
Tomasz Drwięga
f044b61f42
Extract some parts of miner from ethcore. ( #7353 )
...
* Move miner away from ethcore.
* Fix ethcore to use miner/transaction.
* Fix tests and warnings.
* fixed incorrect merge of the test in the documentation
2018-01-11 17:49:10 +01:00
André Silva
40551b8ffd
Add personal_sign
and personal_ecRecover
RPC methods ( #7453 )
...
* rpc: implement personal_sign
* rpc: add test for personal_sign
* rpc: implement personal_ecRecover
* rpc: add test for personal_ecRecover
* rpc: fix order of arguments in personal_sign
* rpc: remove auxiliary methods for sign and ec_recover
2018-01-10 21:44:10 +01:00
Marek Kotewicz
e95b093483
dissolve util ( #7460 )
...
* ethereum-types refactor in progress
* ethereum-types refactor in progress
* ethereum-types refactor in progress
* ethereum-types refactor in progress
* ethereum-types refactor finished
* removed obsolete util/src/lib.rs
* removed commented out code
2018-01-10 15:35:18 +03:00
tzapu
df5d27d516
added a new RPC call trace_replayBlockTransactions ( #7366 )
...
* intial add trace_replayBlockTransactions
* cleanup timing calls
add execution proof
* WIP implementing changes
* fix for trace_replayBlockTransactions rpc call
* cleanup comments
* cleanup, proof,
can't workout lifetime issues yet
* Fix lifetimes issue.
* naive rpc test
* updated docs
2018-01-10 11:34:34 +01:00
Tomasz Drwięga
69d7c4f519
Expose default gas price percentile configuration in CLI ( #7497 )
...
* Expose gas price percentile.
* Fix light eth_call.
* fix gas_price in light client
2018-01-09 12:43:36 +01:00
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
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
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
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
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
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
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