Svyatoslav Nikolsky
1786b6eedd
remove support of old SS db formats ( #10757 )
2019-06-18 13:49:59 +03:00
Svyatoslav Nikolsky
9de1afeeb6
SecretStore: non-blocking wait of session completion ( #10303 )
...
* make SS sessions return future
* fix grumbles
* do not create unused Condvar in production mode
2019-06-06 13:35:06 +03:00
Svyatoslav Nikolsky
6be45367e9
SecretStore: expose restore_key_public in HTTP API ( #10241 )
2019-06-05 14:04:00 +02:00
Andronik Ordian
dae5d75dd6
Upgrade ethereum types ( #10670 )
...
* cargo upgrade "ethereum-types" --all --allow-prerelease
* [ethash] fix compilation errors
* [ethkey] fix compilation errors
* [journaldb] fix compilation errors
* [dir] fix compilation errors
* [ethabi] update to 0.7
* wip
* [eip-712] fix compilation errors
* [ethjson] fix compilation errors
* [Cargo.toml] add TODO to remove patches
* [ethstore] fix compilation errors
* use patched keccak-hash with new primitive-types
* wip
* [ethcore-network-devp2p] fix compilation errors
* [vm] fix compilation errors
* [common-types, evm, wasm] fix compilation errors
* [ethcore-db] Require AsRef instead of Deref for keys
* [ethcore-blockchain] fix some compilation errors
* [blooms-db] fix compilation errors
Thanks a lot @dvdplm :)
* we don't need no rlp ethereum feature
* [ethcore] fix some compilation errors
* [parity-ipfs-api] fix compilation error
* [ethcore-light] fix compilation errors
* [Cargo.lock] update parity-common
* [ethcore-private-tx] fix some compilation errors
* wip
* [ethcore-private-tx] fix compilation errors
* [parity-updater] fix compilation errors
* [parity-rpc] fix compilation errors
* [parity-bin] fix other compilation errors
* update to new ethereum-types
* update keccak-hash
* [fastmap] fix compilation in tests
* [blooms-db] fix compilation in tests
* [common-types] fix compilation in tests
* [triehash-ethereum] fix compilation in tests
* [ethkey] fix compilation in tests
* [pwasm-run-test] fix compilation errors
* [wasm] fix compilation errors
* [ethjson] fix compilation in tests
* [eip-712] fix compilation in tests
* [ethcore-blockchain] fix compilation in tests
* [ethstore] fix compilation in tests
* [ethstore-accounts] fix compilation in tests
* [parity-hash-fetch] fix compilation in tests
* [parity-whisper] fix compilation in tests
* [ethcore-miner] fix compilation in tests
* [ethcore-network-devp2p] fix compilation in tests
* [*] upgrade rand to 0.6
* [evm] get rid of num-bigint conversions
* [ethcore] downgrade trie-standardmap and criterion
* [ethcore] fix some warnings
* [ethcore] fix compilation in tests
* [evmbin] fix compilation in tests
* [updater] fix compilation in tests
* [ethash] fix compilation in tests
* [ethcore-secretstore] fix compilation in tests
* [ethcore-sync] fix compilation in tests
* [parity-rpc] fix compilation in tests
* [ethcore] finally fix compilation in tests
FUCK YEAH!!!
* [ethstore] lazy_static is unused
* [ethcore] fix test
* fix up bad merge
* [Cargo.toml] remove unused patches
* [*] replace some git dependencies with crates.io
* [Cargo.toml] remove unused lazy_static
* [*] clean up
* [ethcore] fix transaction_filter_deprecated test
* [private-tx] fix serialization tests
* fix more serialization tests
* [ethkey] fix smoky test
* [rpc] fix tests, please?
* [ethcore] remove commented out code
* Apply suggestions from code review
Co-Authored-By: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
* [ethstore] remove unused dev-dependency
* [ethcore] remove resolved TODO
* [*] resolve keccak-hash TODO
* [*] s/Address::default()/Address::zero()
* [rpc] remove Subscribers::new_test
* [rpc] remove EthPubSubClient::new_test
* [ethcore] use trie-standardmap from crates.io
* [dir] fix db_root_path
* [ethcore] simplify snapshot::tests::helpers::fill_storage
* Apply suggestions from code review
Co-Authored-By: David <dvdplm@gmail.com>
* [ethcore-secretstore] resolve TODO in serialization
* [ethcore-network-devp2p] resolve TODO in save_key
* [Cargo.lock] update triehash
* [*] use ethabi from crates.io
* [ethkey] use secp256k1 from master branch
* [Cargo.lock] update eth-secp256k1
2019-06-03 15:36:21 +02:00
David
9584faee55
Upgrade to parity-crypto 0.4 ( #10650 )
...
* [whisper] Move needed aes_gcm crypto in-crate
In the latest `parity-crypto` release (upcoming 0.4), the aes GCM features were removed (done to remove the dependency on `ring`).
This PR adds the bare minimum crypto needed for Whisper directly to the crate itself and as those were the only features needed from `parity-crypto`, removes the dependency on that crate altogether.
* Upgrade to parity-crypto 0.4
Reverts using NonZeroU32 (introduced [here](b347599cf7
)).
* Check for 0 in `args.arg_keys_iteration`
* Use beta.4
* parity-crypto 0.4.0 is released
2019-05-28 07:50:10 +02:00
Antoine Detante
4cc274e75f
Allow CORS requests in Secret Store API ( #10584 )
...
* allow CORS requests for Secret Store API (#10582 )
* secretstore CORS: fix error with unit tests
* secretstore CORS: removed debug log
* secretstore CORS: add missing response's header
* secretstore CORS: switched to jsonrpc-server-utils for CORS validation
2019-04-20 07:31:37 +02:00
Seun LanLege
fba63de974
RPC: Implements eth_subscribe("syncing") ( #10311 )
...
* implement eth_subscibe syncing
* fix imports
* add is_major_syncing to SyncProvider
* add eth_subscribe(syncing) support for light clients
* tests
* fix TestSyncClient
* correct LightFetch impl
* added currentBlock, startingBlock, highestBlock to PubSubSyncStatus
* fixed tests
* fix PR grumbles
* improve code style
* is_syncing -> syncing
* code style
* use ethereum types
2019-04-02 17:13:55 +02:00
Svyatoslav Nikolsky
ef0eda0c39
SecretStore: use in-memory transport in cluster tests ( #9850 )
...
* fixing SS tests
* removed some redundant clones
* fixed grumbles
* replaced hash.clone() with *hash + fixed comment
* lost files
2019-02-18 13:38:19 +01:00
Tomasz Drwięga
d5c19f8719
Deprecate account management ( #10213 )
...
* Extract accounts from ethcore.
* Fix ethcore.
* Get rid of AccountProvider in test_helpers
* Fix rest of the code.
* Re-use EngineSigner, fix tests.
* Simplify EngineSigner to always have an Address.
* Fix RPC tests.
* Add deprecation notice to RPCs.
* Feature to disable accounts.
* extract accounts in RPC
* Run with accounts in tests.
* Fix RPC compilation and tests.
* Fix compilation of the binary.
* Fix compilation of the binary.
* Fix compilation with accounts enabled.
* Fix tests.
* Update submodule.
* Remove android.
* Use derive for Default
* Don't build secretstore by default.
* Add link to issue.
* Refresh Cargo.lock.
* Fix miner tests.
* Update rpc/Cargo.toml
Co-Authored-By: tomusdrw <tomusdrw@users.noreply.github.com>
* Fix private tests.
2019-02-07 14:34:24 +01:00
Andronik Ordian
a3e39c9858
update ring to 0.14 ( #10262 )
...
* cargo upgrade hyper-rustls --all
* cargo upgrade parity-crypto --all
* update Cargo.lock
* propagate NonZeroU32
* use NonZeroU32::new_unchecked for crypto::KEY_ITERATIONS
* update Cargo.lock
* replace unsafe code with lazy_static
2019-02-06 17:53:34 +01:00
Niklas Adolfsson
8ab6d89810
fix(secret-store): deprecation warning ( #10301 )
...
use of deprecated item 'core::str::<impl str>::trim_left_matches': superseded by `trim_start_matches`
2019-02-06 16:54:35 +03:00
Hernando Castano
2a7ed457dc
Remove CallContract and RegistryInfo re-exports from ethcore/client
( #10205 )
...
* Remove re-export of `CallContract` and `RegistryInfo` from `ethcore/client`
* Remove CallContract and RegistryInfo re-exports again
This was missed while fixing merge conflicts
2019-01-17 16:43:08 +01:00
Tomasz Drwięga
ab22d5e278
Replace ethcore-logger with env-logger. ( #10102 )
...
* Replace ethcore-logger with env-logger.
* Fix logger initialization in WASM tests.
* uncomment logger initialization in secret store
* Don't use ethcore-logger in whisper.
* Move ethcore-logger within parity dir.
* Uncomment rest from secret-store.
* Use `let _ =` in private_contract for consistency
* `ok()` to `let _ =` fix in service
* Use `let _ = ` for state_db
2019-01-08 15:07:20 +01:00
Afri Schoedon
7c335e8764
misc: bump license header to 2019 ( #10135 )
...
* misc: bump license header to 2019
* misc: remove_duplicate_empty_lines.sh
* misc: run license header script
* commit cargo lock
2019-01-07 11:33:07 +01:00
Tomasz Drwięga
3650f2d51c
Extract blockchain from ethcore ( #10114 )
...
* Split blockchain & db from ethcore.
* Clean up blockchain deps.
* Missing docs.
* Fix blockchain tests.
* Make other crates compile.
* Remove some re-exports.
* Remove types re-export from ethcore.
* Remove EVM dependency from transaction.
* Merge ethcore-transaction with common-types.
* Clean-up ethcore deps a bit.
* remove ethcore from cargo.toml
* Update ethcore/blockchain/src/lib.rs
Co-Authored-By: tomusdrw <tomusdrw@users.noreply.github.com>
* Address review comments.
* Update DB comment.
* Add tracking issue to the TODO and fix typo.
* Common naming for common types.
* Update ethcore/db/src/keys.rs
Co-Authored-By: tomusdrw <tomusdrw@users.noreply.github.com>
* Update ethcore/blockchain/src/generator.rs
Co-Authored-By: tomusdrw <tomusdrw@users.noreply.github.com>
* Try to fix beta tests.
2019-01-04 14:05:46 +01:00
Tomasz Drwięga
ff0095ac5e
Move a bunch of stuff around ( #10101 )
...
* Move devtools.
* Merge stop_guard & rename memzero
* Move price-info to miner.
* Group account management
* Clean up workspace members.
* Move local store closer to miner.
* Move clib examples.
* Move registrar and hash-fetch
* Move rpc_cli/rpc_client
* Move stratum closer to miner.
* Fix naming convention of crates.
* Update Cpp examples path.
* Fix paths for clib-example.
* Fix removing build.
2018-12-28 17:33:49 +08:00