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:
@@ -14,7 +14,7 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
//! Open Ethereum JSON-RPC Servers (WS, HTTP, IPC).
|
||||
//! OpenEthereum JSON-RPC Servers (WS, HTTP, IPC).
|
||||
|
||||
#![warn(missing_docs, unused_extern_crates)]
|
||||
#![cfg_attr(feature = "cargo-clippy", warn(clippy::all, clippy::pedantic))]
|
||||
|
||||
@@ -36,7 +36,7 @@ impl str::FromStr for Id {
|
||||
}
|
||||
}
|
||||
impl Id {
|
||||
// TODO: replace `format!` see [#10412](https://github.com/OpenEthereum/open-ethereum/issues/10412)
|
||||
// TODO: replace `format!` see [#10412](https://github.com/openethereum/openethereum/issues/10412)
|
||||
pub fn as_string(&self) -> String {
|
||||
format!("{:?}", self.0)
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ pub struct NetClient<S: ?Sized> {
|
||||
/// Cached `network_id`.
|
||||
///
|
||||
/// We cache it to avoid redundant aquire of sync read lock.
|
||||
/// https://github.com/OpenEthereum/open-ethereum/issues/8746
|
||||
/// https://github.com/openethereum/openethereum/issues/8746
|
||||
network_id: u64,
|
||||
}
|
||||
|
||||
|
||||
@@ -94,7 +94,7 @@ impl SyncProvider for TestSyncProvider {
|
||||
},
|
||||
PeerInfo {
|
||||
id: None,
|
||||
client_version: ClientVersion::from("Open-Ethereum/2/v2.7.0/linux/rustc"),
|
||||
client_version: ClientVersion::from("OpenEthereum/2/v2.7.0/linux/rustc"),
|
||||
capabilities: vec!["eth/64".to_owned(), "eth/65".to_owned()],
|
||||
remote_address: "Handshake".to_owned(),
|
||||
local_address: "127.0.0.1:3333".to_owned(),
|
||||
|
||||
@@ -303,7 +303,7 @@ fn rpc_parity_net_peers() {
|
||||
"can_handle_large_requests": true,
|
||||
"compiler": "rustc",
|
||||
"identity": "2",
|
||||
"name": "Open-Ethereum",
|
||||
"name": "OpenEthereum",
|
||||
"os": "linux",
|
||||
"semver": "2.7.0"
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
//! Parity-specific rpc interface.
|
||||
//! OpenEthereum-specific rpc interface.
|
||||
|
||||
use std::collections::BTreeMap;
|
||||
|
||||
@@ -31,7 +31,7 @@ use v1::types::{
|
||||
RichHeader, Receipt,
|
||||
};
|
||||
|
||||
/// Parity-specific rpc interface.
|
||||
/// OpenEthereum-specific rpc interface.
|
||||
#[rpc(server)]
|
||||
pub trait Parity {
|
||||
/// RPC Metadata
|
||||
|
||||
@@ -14,23 +14,23 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
//! Parity-specific PUB-SUB rpc interface.
|
||||
//! OpenEthereum-specific PUB-SUB rpc interface.
|
||||
|
||||
use jsonrpc_core::{Result, Value, Params};
|
||||
use jsonrpc_pubsub::{typed::Subscriber, SubscriptionId};
|
||||
use jsonrpc_derive::rpc;
|
||||
|
||||
/// Parity-specific PUB-SUB rpc interface.
|
||||
/// OpenEthereum-specific PUB-SUB rpc interface.
|
||||
#[rpc(server)]
|
||||
pub trait PubSub {
|
||||
/// Pub/Sub Metadata
|
||||
type Metadata;
|
||||
|
||||
/// Subscribe to changes of any RPC method in Parity.
|
||||
/// Subscribe to changes of any RPC method in OpenEthereum.
|
||||
#[pubsub(subscription = "parity_subscription", subscribe, name = "parity_subscribe")]
|
||||
fn parity_subscribe(&self, _: Self::Metadata, _: Subscriber<Value>, _: String, _: Option<Params>);
|
||||
|
||||
/// Unsubscribe from existing Parity subscription.
|
||||
/// Unsubscribe from existing OpenEthereum subscription.
|
||||
#[pubsub(subscription = "parity_subscription", unsubscribe, name = "parity_unsubscribe")]
|
||||
fn parity_unsubscribe(&self, _: Option<Self::Metadata>, _: SubscriptionId) -> Result<bool>;
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ use ethereum_types::{H160, H256, H512};
|
||||
use ethkey::Password;
|
||||
use v1::types::{Bytes, EncryptedDocumentKey};
|
||||
|
||||
/// Parity-specific rpc interface.
|
||||
/// OpenEthereum-specific rpc interface.
|
||||
#[rpc(server)]
|
||||
pub trait SecretStore {
|
||||
/// Generate document key to store in secret store.
|
||||
|
||||
Reference in New Issue
Block a user