forked from paritytech/substrate
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
150 changed files
with
4,274 additions
and
2,888 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ path = "node/src/main.rs" | |
|
||
[package] | ||
name = "substrate" | ||
version = "0.9.1" | ||
version = "0.10.0" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
build = "build.rs" | ||
|
||
|
@@ -57,6 +57,7 @@ members = [ | |
"core/sr-primitives", | ||
"srml/session", | ||
"srml/staking", | ||
"srml/sudo", | ||
"srml/system", | ||
"srml/timestamp", | ||
"srml/treasury", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[package] | ||
name = "substrate-basic-authorship" | ||
version = "0.1.0" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
|
||
[dependencies] | ||
log = "0.4" | ||
parity-codec = "2.1" | ||
sr-primitives = { path = "../../core/sr-primitives" } | ||
substrate-client = { path = "../../core/client" } | ||
substrate-consensus-aura-primitives = { path = "../../core/consensus/aura/primitives" } | ||
substrate-consensus-common = { path = "../../core/consensus/common" } | ||
substrate-primitives = { path = "../../core/primitives" } | ||
substrate-transaction-pool = { path = "../../core/transaction-pool" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// Copyright 2017-2018 Parity Technologies (UK) Ltd. | ||
// This file is part of Substrate. | ||
|
||
// Substrate is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU General Public License as published by | ||
// the Free Software Foundation, either version 3 of the License, or | ||
// (at your option) any later version. | ||
|
||
// Substrate is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU General Public License for more details. | ||
|
||
// You should have received a copy of the GNU General Public License | ||
// along with Substrate. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
//! Basic implementation of block-authoring logic. | ||
#![warn(unused_extern_crates)] | ||
|
||
extern crate substrate_consensus_aura_primitives as aura_primitives; | ||
extern crate substrate_primitives as primitives; | ||
extern crate sr_primitives as runtime_primitives; | ||
extern crate substrate_consensus_common as consensus_common; | ||
extern crate substrate_client as client; | ||
extern crate parity_codec as codec; | ||
extern crate substrate_transaction_pool as transaction_pool; | ||
|
||
#[macro_use] | ||
extern crate log; | ||
|
||
mod basic_authorship; | ||
|
||
pub use basic_authorship::{ProposerFactory, BlockBuilder, AuthoringApi, Proposer}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ authors = ["Parity Technologies <[email protected]>"] | |
error-chain = { version = "0.12", optional = true } | ||
fnv = { version = "1.0", optional = true } | ||
log = { version = "0.4", optional = true } | ||
parking_lot = { version = "0.4", optional = true } | ||
parking_lot = { version = "0.7.1", optional = true } | ||
hex-literal = { version = "0.1", optional = true } | ||
futures = { version = "0.1.17", optional = true } | ||
slog = { version = "^2", optional = true } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,11 @@ version = "0.1.0" | |
authors = ["Parity Technologies <[email protected]>"] | ||
|
||
[dependencies] | ||
parking_lot = "0.4" | ||
parking_lot = "0.7.1" | ||
log = "0.4" | ||
kvdb = { git = "https://github.com/paritytech/parity-common", rev="616b40150ded71f57f650067fcbc5c99d7c343e6" } | ||
kvdb-rocksdb = { git = "https://github.com/paritytech/parity-common", rev="616b40150ded71f57f650067fcbc5c99d7c343e6" } | ||
lru-cache = "0.1" | ||
hash-db = { git = "https://github.com/paritytech/trie" } | ||
substrate-primitives = { path = "../../primitives" } | ||
sr-primitives = { path = "../../sr-primitives" } | ||
|
Oops, something went wrong.