This commit is contained in:
Gav
2018-09-27 16:25:53 +01:00
parent a3285e43f6
commit 65b9e11cd8
17 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
= Substrate
:Author: Polkadot developers
:Author: Substrate developers
:Revision: 0.2.0
:toc:
:sectnums:
+1 -1
View File
@@ -8,6 +8,6 @@ include::Cargo.toml[lines=2..5]
----
.Description
Polkadot CLI library
Substrate CLI library
include::doc/shell-completion.adoc[]
+2 -2
View File
@@ -110,11 +110,11 @@ args:
- telemetry:
short: t
long: telemetry
help: Should connect to the Polkadot telemetry server (telemetry is off by default on local chains)
help: Should connect to the Substrate telemetry server (telemetry is off by default on local chains)
takes_value: false
- no-telemetry:
long: no-telemetry
help: Should not connect to the Polkadot telemetry server (telemetry is on by default on global chains)
help: Should not connect to the Substrate telemetry server (telemetry is on by default on global chains)
takes_value: false
- telemetry-url:
long: telemetry-url
+1 -1
View File
@@ -493,7 +493,7 @@ fn default_base_path() -> PathBuf {
use app_dirs::{AppInfo, AppDataType};
let app_info = AppInfo {
name: "Polkadot",
name: "Substrate",
author: "Parity Technologies",
};
+1 -1
View File
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.
//! Polkadot Client data backend
//! Substrate Client data backend
use error;
use primitives::AuthorityId;
+1 -1
View File
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.
//! Polkadot blockchain trait
//! Substrate blockchain trait
use primitives::AuthorityId;
use runtime_primitives::traits::{Block as BlockT, Header as HeaderT, NumberFor};
+1 -1
View File
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.
//! Polkadot client possible errors.
//! Substrate client possible errors.
use std;
use state_machine;
+1 -1
View File
@@ -1,5 +1,5 @@
[package]
description = "Polkadot network protocol"
description = "Substrate network protocol"
name = "substrate-network"
version = "0.1.0"
license = "GPL-3.0"
+1 -1
View File
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.
//! Polkadot service possible errors.
//! Substrate service possible errors.
use std::io::Error as IoError;
use network_libp2p::Error as NetworkError;
+3 -3
View File
@@ -141,7 +141,7 @@ pub struct Params<B: BlockT, S, H: ExHashT> {
pub config: ProtocolConfig,
/// Network layer configuration.
pub network_config: NetworkConfiguration,
/// Polkadot relay chain access point.
/// Substrate relay chain access point.
pub chain: Arc<Client<B>>,
/// On-demand service reference.
pub on_demand: Option<Arc<OnDemandService<B>>>,
@@ -151,7 +151,7 @@ pub struct Params<B: BlockT, S, H: ExHashT> {
pub specialization: S,
}
/// Polkadot network service. Handles network IO and manages connectivity.
/// Substrate network service. Handles network IO and manages connectivity.
pub struct Service<B: BlockT + 'static, S: Specialization<B>, H: ExHashT> {
/// Network service
network: NetworkService,
@@ -184,7 +184,7 @@ impl<B: BlockT + 'static, S: Specialization<B>, H: ExHashT> Service<B, S, H> {
Err(err) => {
match err.kind() {
ErrorKind::Io(ref e) if e.kind() == io::ErrorKind::AddrInUse =>
warn!("Network port is already in use, make sure that another instance of Polkadot client is not running or change the port using the --port option."),
warn!("Network port is already in use, make sure that another instance of Substrate client is not running or change the port using the --port option."),
_ => warn!("Error starting network: {}", err),
};
return Err(err.into())
+1 -1
View File
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.
//! Polkadot Blake2b Hasher implementation
//! Substrate Blake2b Hasher implementation
use hash_db::Hasher;
use hash256_std_hasher::Hash256StdHasher;
+1 -1
View File
@@ -15,7 +15,7 @@
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.
// tag::description[]
//! Shareable Polkadot types.
//! Shareable Substrate types.
// end::description[]
#![warn(missing_docs)]
+1 -1
View File
@@ -38,7 +38,7 @@ mod tests;
use self::error::Result;
build_rpc_trait! {
/// Polkadot blockchain API
/// Substrate blockchain API
pub trait ChainApi<Hash, Header, Number, Extrinsic> {
type Metadata;
+2 -2
View File
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.
//! Polkadot state API.
//! Substrate state API.
use std::{
collections::HashMap,
@@ -44,7 +44,7 @@ mod tests;
use self::error::Result;
build_rpc_trait! {
/// Polkadot state API
/// Substrate state API
pub trait StateApi<Hash> {
type Metadata;
+1 -1
View File
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.
//! Polkadot service components.
//! Substrate service components.
use std::fmt;
use std::sync::Arc;
+2 -2
View File
@@ -24,8 +24,8 @@
#![cfg_attr(not(feature = "std"), feature(core_intrinsics))]
#![cfg_attr(not(feature = "std"), feature(alloc))]
#![cfg_attr(feature = "std", doc = "Polkadot runtime standard library as compiled when linked with Rust's standard library.")]
#![cfg_attr(not(feature = "std"), doc = "Polkadot's runtime standard library as compiled without Rust's standard library.")]
#![cfg_attr(feature = "std", doc = "Substrate runtime standard library as compiled when linked with Rust's standard library.")]
#![cfg_attr(not(feature = "std"), doc = "Substrate's runtime standard library as compiled without Rust's standard library.")]
#[macro_export]
macro_rules! map {
+1 -1
View File
@@ -1,5 +1,5 @@
= Polkadot Consensus
= Substrate Consensus
placeholder
//TODO Write content :)