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.
This commit is contained in:
Tomasz Drwięga
2018-12-28 10:33:49 +01:00
committed by Wei Tang
parent bf9fedc4ee
commit ff0095ac5e
225 changed files with 111 additions and 181 deletions

View File

@@ -10,10 +10,10 @@ byteorder = "1.0.0"
ethereum-types = "0.4"
ethcore-network = { path = "../util/network" }
parity-crypto = "0.2"
ethkey = { path = "../ethkey" }
ethkey = { path = "../accounts/ethkey" }
hex = "0.2"
log = "0.4"
mem = { path = "../util/mem" }
memzero = { path = "../util/memzero" }
ordered-float = "0.5"
parking_lot = "0.7"
rand = "0.4"

View File

@@ -13,7 +13,7 @@ parity-whisper = { path = "../" }
docopt = "1.0"
serde = "1.0"
serde_derive = "1.0"
panic_hook = { path = "../../util/panic_hook" }
panic_hook = { path = "../../util/panic-hook" }
jsonrpc-core = { git = "https://github.com/paritytech/jsonrpc.git", branch = "parity-2.2" }
jsonrpc-pubsub = { git = "https://github.com/paritytech/jsonrpc.git", branch = "parity-2.2" }
jsonrpc-http-server = { git = "https://github.com/paritytech/jsonrpc.git", branch = "parity-2.2" }

View File

@@ -23,7 +23,7 @@ extern crate ethcore_network as network;
extern crate ethereum_types;
extern crate ethkey;
extern crate hex;
extern crate mem;
extern crate memzero;
extern crate ordered_float;
extern crate parking_lot;
extern crate rand;

View File

@@ -20,7 +20,7 @@ use crypto::aes_gcm::{Encryptor, Decryptor};
use ethkey::crypto::ecies;
use ethereum_types::H256;
use ethkey::{self, Public, Secret};
use mem::Memzero;
use memzero::Memzero;
/// Length of AES key
pub const AES_KEY_LEN: usize = 32;

View File

@@ -23,7 +23,7 @@ use std::collections::HashMap;
use ethereum_types::H256;
use ethkey::{KeyPair, Public, Secret};
use mem::Memzero;
use memzero::Memzero;
use rand::{Rng, OsRng};
use rpc::crypto::{AES_KEY_LEN, EncryptionInstance, DecryptionInstance};

View File

@@ -28,7 +28,7 @@ use jsonrpc_pubsub::{Session, PubSubMetadata, SubscriptionId};
use jsonrpc_macros::pubsub;
use ethereum_types::H256;
use mem::Memzero;
use memzero::Memzero;
use parking_lot::RwLock;
use self::filter::Filter;