Files
pezkuwi-subxt/substrate/Cargo.toml
T
Wei Tang ece0b57d8d Consensus: Proof of Work (#3473)
* consensus-pow: init primtives and verifier

* consensus-pow: add total difficulty auxiliary

* consensus-pow: implement total difficulty chain selection

* consensus-pow: implement pow import queue

* consensus-pow-primitives: add mine into PowApi

* consensus-pow: implement mining

* Update lock file

* Style fixes

No run-on expressions allowed.

* consensus-pow: refactor register_pow_inherent_data_provider

* consensus-pow: make PowApi::mine yieldable

* consensus-pow: better mining loop

* Add missing license header

* consensus-pow-primitives: clarify the meaning of None for PowApi::verify

* consensus-pow: changing total difficulty addition to use saturating add

* consensus-pow: change mine-loop error to log on error! level

* consensus-pow: allow inserting arbitrary preruntime digest for pow

The preruntime digest can be intepreted by the runtime as the block author/coinbase.

* Fix line width

* More line width fixes

* consensus-pow: separate difficulty, verify API

This makes it more apparent that currently in PoW engine, `difficulty` should
be input, not output.

* srml-pow: implementation of average_span difficulty adjustment

* srml-pow: basic blake2 algo example

* srml-pow-average-span: make it not require genesis config

* srml-pow: add support for authorship

* Missing license headers

* consensus-pow: PowAlgorithm trait generalization

* Missing docs for consensus-pow

* More docs

* node-runtime: bump impl_version

* Add rationale for difficulty type

* consensus-pow: refactor aux_key

* Update lock file

* Update core/consensus/pow/src/lib.rs

Co-Authored-By: Sergei Pepyakin <sergei@parity.io>

* Update core/consensus/pow/src/lib.rs

Co-Authored-By: Sergei Pepyakin <sergei@parity.io>

* Update core/consensus/pow/src/lib.rs

Co-Authored-By: Sergei Pepyakin <sergei@parity.io>

* Update core/consensus/pow/src/lib.rs

Co-Authored-By: Sergei Pepyakin <sergei@parity.io>

* Update core/consensus/pow/src/lib.rs

Co-Authored-By: Sergei Pepyakin <sergei@parity.io>

* Update core/consensus/pow/src/lib.rs

Co-Authored-By: Sergei Pepyakin <sergei@parity.io>

* Update core/consensus/pow/src/lib.rs

Co-Authored-By: Sergei Pepyakin <sergei@parity.io>

* Update core/consensus/pow/primitives/src/lib.rs

Co-Authored-By: Sergei Pepyakin <sergei@parity.io>

* Update core/consensus/pow/primitives/src/lib.rs

Co-Authored-By: Sergei Pepyakin <sergei@parity.io>

* Remove PowRuntimeAlgorithm

* block_id -> parent_block_id

* Auxiliary data -> auxiliary storage data

* Fix error message

* Fix compile

* Update core/consensus/pow/primitives/src/lib.rs

Co-Authored-By: DemiMarie-parity <48690212+DemiMarie-parity@users.noreply.github.com>

* Update core/consensus/pow/src/lib.rs

Co-Authored-By: DemiMarie-parity <48690212+DemiMarie-parity@users.noreply.github.com>

* Update core/consensus/pow/primitives/src/lib.rs

Co-Authored-By: DemiMarie-parity <48690212+DemiMarie-parity@users.noreply.github.com>

* Update core/consensus/pow/src/lib.rs

Co-Authored-By: DemiMarie-parity <48690212+DemiMarie-parity@users.noreply.github.com>

* Fix crate description

* More docs

* Address grumbles

1. Make preruntime Optional.
2. Add more docs on what is `preruntie` and `round`.
3. Replace `Default::default` with the approriate type.
2019-09-06 15:45:53 +02:00

119 lines
2.5 KiB
TOML

[[bin]]
name = "substrate"
path = "node/src/main.rs"
[package]
name = "substrate"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
build = "build.rs"
edition = "2018"
[dependencies]
cli = { package = "node-cli", path = "node/cli" }
futures = "0.1"
ctrlc = { version = "3.0", features = ["termination"] }
[build-dependencies]
vergen = "3"
[workspace]
members = [
"core/application-crypto",
"core/cli",
"core/client",
"core/client/db",
"core/consensus/aura",
"core/consensus/babe",
"core/consensus/common",
"core/consensus/rhd",
"core/consensus/slots",
"core/consensus/uncles",
"core/consensus/pow",
"core/executor",
"core/executor/runtime-test",
"core/finality-grandpa",
"core/finality-grandpa/primitives",
"core/inherents",
"core/keyring",
"core/keystore",
"core/network",
"core/panic-handler",
"core/primitives",
"core/rpc",
"core/rpc-servers",
"core/serializer",
"core/service",
"core/service/test",
"core/session",
"core/sr-api-macros",
"core/sr-io",
"core/sr-primitives",
"core/sr-staking-primitives",
"core/sr-sandbox",
"core/sr-std",
"core/sr-version",
"core/state-machine",
"core/telemetry",
"core/test-client",
"core/test-runtime",
"core/test-runtime/client",
"core/transaction-pool",
"core/transaction-pool/graph",
"core/trie",
"core/utils/fork-tree",
"core/utils/wasm-builder",
"core/utils/wasm-builder-runner",
"srml/support",
"srml/support/procedural",
"srml/support/procedural/tools",
"srml/support/procedural/tools/derive",
"srml/support/test",
"srml/authorship",
"srml/assets",
"srml/aura",
"srml/balances",
"srml/contracts",
"srml/collective",
"srml/democracy",
"srml/elections",
"srml/example",
"srml/executive",
"srml/finality-tracker",
"srml/generic-asset",
"srml/grandpa",
"srml/im-online",
"srml/authority-discovery",
"srml/indices",
"srml/membership",
"srml/metadata",
"srml/offences",
"srml/scored-pool",
"srml/session",
"srml/staking",
"srml/sudo",
"srml/system",
"srml/timestamp",
"srml/treasury",
"node/cli",
"node/executor",
"node/primitives",
"node/rpc",
"node/rpc-client",
"node/runtime",
"node/testing",
"node-template",
"subkey",
"test-utils/chain-spec-builder",
]
[badges]
travis-ci = { repository = "paritytech/substrate", branch = "master" }
maintenance = { status = "actively-developed" }
is-it-maintained-issue-resolution = { repository = "paritytech/substrate" }
is-it-maintained-open-issues = { repository = "paritytech/substrate" }
[profile.release]
# Substrate runtime requires unwinding.
panic = "unwind"