Fix project name, links, rename the binaries (#11580)
* Fix project name, links, rename binary * Update util/version/Cargo.toml Co-Authored-By: David <dvdplm@gmail.com> * Update updater/Cargo.toml Co-Authored-By: David <dvdplm@gmail.com> * Update util/version/Cargo.toml Co-Authored-By: David <dvdplm@gmail.com> Co-authored-by: David <dvdplm@gmail.com>
This commit is contained in:
@@ -58,7 +58,7 @@ pub struct ImportFromGethAccounts {
|
||||
|
||||
#[cfg(not(feature = "accounts"))]
|
||||
pub fn execute(_cmd: AccountCmd) -> Result<String, String> {
|
||||
Err("Account management is deprecated. Please see #9997 for alternatives:\nhttps://github.com/OpenEthereum/open-ethereum/issues/9997".into())
|
||||
Err("Account management is deprecated. Please see #9997 for alternatives:\nhttps://github.com/openethereum/openethereum/issues/9997".into())
|
||||
}
|
||||
|
||||
#[cfg(feature = "accounts")]
|
||||
|
||||
@@ -36,7 +36,7 @@ mod accounts {
|
||||
}
|
||||
|
||||
pub fn prepare_account_provider(_spec: &SpecType, _dirs: &Directories, _data_dir: &str, _cfg: AccountsConfig, _passwords: &[Password]) -> Result<AccountProvider, String> {
|
||||
warn!("Note: Your instance of Open Ethereum is running without account support. Some CLI options are ignored.");
|
||||
warn!("Note: Your instance of OpenEthereum is running without account support. Some CLI options are ignored.");
|
||||
Ok(AccountProvider)
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Open Ethereum Client.
|
||||
OpenEthereum Client.
|
||||
By Wood/Paronyan/Kotewicz/Drwięga/Volf/Greeff
|
||||
Habermeier/Czaban/Gotchac/Redman/Nikolsky
|
||||
Schoedon/Tang/Adolfsson/Silva/Palm/Hirsz et al.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Open Ethereum Client.
|
||||
OpenEthereum Client.
|
||||
version {}
|
||||
Copyright 2015-2020 Parity Technologies (UK) Ltd.
|
||||
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
|
||||
|
||||
@@ -104,7 +104,7 @@ impl Configuration {
|
||||
/// # Example
|
||||
///
|
||||
/// ```
|
||||
/// let _cfg = open_ethereum::Configuration::parse_cli(&["--light", "--chain", "kovan"]).unwrap();
|
||||
/// let _cfg = openethereum::Configuration::parse_cli(&["--light", "--chain", "kovan"]).unwrap();
|
||||
/// ```
|
||||
pub fn parse_cli<S: AsRef<str>>(command: &[S]) -> Result<Self, ArgsError> {
|
||||
let config = Configuration {
|
||||
@@ -762,7 +762,7 @@ impl Configuration {
|
||||
ret.client_version = {
|
||||
let mut client_version = version();
|
||||
if !self.args.arg_identity.is_empty() {
|
||||
// Insert name after the "Open-Ethereum/" at the beginning of version string.
|
||||
// Insert name after the "OpenEthereum/" at the beginning of version string.
|
||||
let idx = client_version.find('/').unwrap_or(client_version.len());
|
||||
client_version.insert_str(idx, &format!("/{}", self.args.arg_identity));
|
||||
}
|
||||
@@ -1748,7 +1748,7 @@ mod tests {
|
||||
match conf.into_command().unwrap().cmd {
|
||||
Cmd::Run(c) => {
|
||||
assert_eq!(c.name, "Somebody");
|
||||
assert!(c.net_conf.client_version.starts_with("Open-Ethereum/Somebody/"));
|
||||
assert!(c.net_conf.client_version.starts_with("OpenEthereum/Somebody/"));
|
||||
}
|
||||
_ => panic!("Should be Cmd::Run"),
|
||||
}
|
||||
|
||||
@@ -230,7 +230,7 @@ fn execute<Cr, Rr>(
|
||||
/// binary.
|
||||
///
|
||||
/// On error, returns what to print on stderr.
|
||||
// FIXME: totally independent logging capability, see https://github.com/OpenEthereum/open-ethereum/issues/10252
|
||||
// FIXME: totally independent logging capability, see https://github.com/openethereum/openethereum/issues/10252
|
||||
pub fn start<Cr, Rr>(
|
||||
conf: Configuration,
|
||||
logger: Arc<RotatingLogger>,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
description = "Open Ethereum Logger Implementation"
|
||||
description = "OpenEthereum Logger Implementation"
|
||||
name = "ethcore-logger"
|
||||
version = "1.12.0"
|
||||
license = "GPL-3.0"
|
||||
|
||||
@@ -24,7 +24,7 @@ extern crate fdlimit;
|
||||
#[macro_use]
|
||||
extern crate log;
|
||||
extern crate panic_hook;
|
||||
extern crate open_ethereum;
|
||||
extern crate openethereum;
|
||||
extern crate parking_lot;
|
||||
extern crate parity_daemonize;
|
||||
extern crate ansi_term;
|
||||
@@ -45,7 +45,7 @@ use ctrlc::CtrlC;
|
||||
use dir::default_hypervisor_path;
|
||||
use fdlimit::raise_fd_limit;
|
||||
use ethcore_logger::setup_log;
|
||||
use open_ethereum::{start, ExecutionAction};
|
||||
use openethereum::{start, ExecutionAction};
|
||||
use parity_daemonize::AsHandle;
|
||||
use parking_lot::{Condvar, Mutex};
|
||||
|
||||
@@ -187,7 +187,7 @@ fn main_direct(force_can_restart: bool) -> i32 {
|
||||
|
||||
let mut conf = {
|
||||
let args = std::env::args().collect::<Vec<_>>();
|
||||
open_ethereum::Configuration::parse_cli(&args).unwrap_or_else(|e| e.exit())
|
||||
openethereum::Configuration::parse_cli(&args).unwrap_or_else(|e| e.exit())
|
||||
};
|
||||
|
||||
let logger = setup_log(&conf.logger_config()).unwrap_or_else(|e| {
|
||||
|
||||
Reference in New Issue
Block a user