diff --git a/Cargo.lock b/Cargo.lock index e2683d60..75951450 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -914,7 +914,30 @@ dependencies = [ ] [[package]] -name = "pbtc" +name = "percent-encoding" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "primitives" +version = "0.1.0" +dependencies = [ + "bigint 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", + "byteorder 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "heapsize 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", + "rustc-hex 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pulldown-cmark" +version = "0.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "getopts 0.2.15 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pzec" version = "0.1.0" dependencies = [ "app_dirs 1.2.1 (git+https://github.com/paritytech/app-dirs-rs)", @@ -939,29 +962,6 @@ dependencies = [ "verification 0.1.0", ] -[[package]] -name = "percent-encoding" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "primitives" -version = "0.1.0" -dependencies = [ - "bigint 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", - "byteorder 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)", - "heapsize 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", - "rustc-hex 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "pulldown-cmark" -version = "0.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "getopts 0.2.15 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "quick-error" version = "1.2.1" diff --git a/Cargo.toml b/Cargo.toml index 73f5be15..fc4e8255 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "pbtc" +name = "pzec" version = "0.1.0" license = "GPL-3.0" authors = ["Parity Technologies "] @@ -39,8 +39,8 @@ panic = 'abort' debug = true [[bin]] -path = "pbtc/main.rs" -name = "pbtc" +path = "pzec/main.rs" +name = "pzec" [workspace] members = ["bencher"] diff --git a/pbtc/cli.yml b/pzec/cli.yml similarity index 98% rename from pbtc/cli.yml rename to pzec/cli.yml index 59f9f502..009f2716 100644 --- a/pbtc/cli.yml +++ b/pzec/cli.yml @@ -1,7 +1,7 @@ -name: pbtc +name: pzec version: "0.1.0" author: Parity Technologies -about: Parity zcash client +about: Parity Zcash client args: - testnet: long: testnet diff --git a/pbtc/commands/import.rs b/pzec/commands/import.rs similarity index 100% rename from pbtc/commands/import.rs rename to pzec/commands/import.rs diff --git a/pbtc/commands/mod.rs b/pzec/commands/mod.rs similarity index 100% rename from pbtc/commands/mod.rs rename to pzec/commands/mod.rs diff --git a/pbtc/commands/rollback.rs b/pzec/commands/rollback.rs similarity index 100% rename from pbtc/commands/rollback.rs rename to pzec/commands/rollback.rs diff --git a/pbtc/commands/start.rs b/pzec/commands/start.rs similarity index 96% rename from pbtc/commands/start.rs rename to pzec/commands/start.rs index 35ff8dbe..59bf7b02 100644 --- a/pbtc/commands/start.rs +++ b/pzec/commands/start.rs @@ -46,7 +46,7 @@ impl BlockNotifier { let err = system(c_command.as_ptr()); if err != 0 { - error!(target: "pbtc", "Block notification command {} exited with error code {}", command, err); + error!(target: "pzec", "Block notification command {} exited with error code {}", command, err); } } }, @@ -55,7 +55,7 @@ impl BlockNotifier { } } } - trace!(target: "pbtc", "Block notification thread stopped"); + trace!(target: "pzec", "Block notification thread stopped"); } } diff --git a/pbtc/config.rs b/pzec/config.rs similarity index 100% rename from pbtc/config.rs rename to pzec/config.rs diff --git a/pbtc/main.rs b/pzec/main.rs similarity index 96% rename from pbtc/main.rs rename to pzec/main.rs index 89548f10..e9059554 100644 --- a/pbtc/main.rs +++ b/pzec/main.rs @@ -32,7 +32,7 @@ mod rpc_apis; use app_dirs::AppInfo; -pub const APP_INFO: AppInfo = AppInfo { name: "pbtc", author: "Parity" }; +pub const APP_INFO: AppInfo = AppInfo { name: "pzec", author: "Parity" }; pub const PROTOCOL_VERSION: u32 = 70_014; pub const PROTOCOL_MINIMUM: u32 = 70_001; pub const ZCASH_PROTOCOL_VERSION: u32 = 170_007; diff --git a/pbtc/rpc.rs b/pzec/rpc.rs similarity index 100% rename from pbtc/rpc.rs rename to pzec/rpc.rs diff --git a/pbtc/rpc_apis.rs b/pzec/rpc_apis.rs similarity index 100% rename from pbtc/rpc_apis.rs rename to pzec/rpc_apis.rs diff --git a/pbtc/seednodes.rs b/pzec/seednodes.rs similarity index 100% rename from pbtc/seednodes.rs rename to pzec/seednodes.rs diff --git a/pbtc/util.rs b/pzec/util.rs similarity index 100% rename from pbtc/util.rs rename to pzec/util.rs diff --git a/tools/doc.sh b/tools/doc.sh index 170771ef..1a7eabb3 100755 --- a/tools/doc.sh +++ b/tools/doc.sh @@ -9,7 +9,7 @@ cargo doc --no-deps\ -p message\ -p miner\ -p network\ - -p pbtc\ + -p pzec\ -p p2p\ -p primitives\ -p rpc\