Minimal switch of substrate-node to GRANDPA /Aura (#1128)
* add beginnings of SRML grandpa library * get srml-grandpa compiling * tests for srml-grandpa * add optional session integration to grandpa SRML * start integration into node runtime * Allow extracting pending change from header digest * Make it compile on wasm * make tests compile again * Move Authority Key fetching into service, simplify service factory construction * Generalize Authority Consensus Setup system * Add Authority Setup Docs * Allow CLI params to be extensible - move params to structopts - split parsing and default command execution - add custom config to node - extended parsing of custom config - extending params via structop's flatten * Minor fixes on cli extension params: - added docs - re-add actual app name, rather than node-name - make strategy and subcommand optional * better cli params * synchronize GRANDPA and normal node authorities * Implement grandpa::network for gossip consensus * run_grandpa in Node * Fix missed merge error * Integrate grandpa import queue * more specific type def * link up linkhalf and import block * make grandpa future send * get compiling * Fix new params convention and license header * get it running * rebuild node runtime WASM * change logging level * Update node/cli/src/params.rs Co-Authored-By:rphmeier <rphmeier@gmail.com> * Update node/cli/src/params.rs Co-Authored-By:
rphmeier <rphmeier@gmail.com> * Update node/cli/src/lib.rs Co-Authored-By:
rphmeier <rphmeier@gmail.com> * Update node/runtime/src/lib.rs Co-Authored-By:
rphmeier <rphmeier@gmail.com> * Update node/cli/src/lib.rs Co-Authored-By:
rphmeier <rphmeier@gmail.com> * Clean up and Fixme for mutable config * Move GrandpaService Integration into grandpa, feature gated but on per default * Fixing grandpa runtime module test * Update wasm runtime hashes for tests * GRANDPA: use post-header hash when logging scheduled changes * add an extra bit of logging to authorities * fixing missing constrain * remove old code * move `NewAuthorities` to an event in srml-grandpa * fix node-executor tests to use grandpa log * Remove GossipConsensus from tests, use newly provided sync-feature, fixes tests * Update to latest wasm runtimes * address grumbles * address grumbles * only derive deserialize when using std * Clean up use of Deserialize
Showing
- substrate/Cargo.lock 185 additions, 116 deletionssubstrate/Cargo.lock
- substrate/Cargo.toml 1 addition, 0 deletionssubstrate/Cargo.toml
- substrate/core/cli/Cargo.toml 2 additions, 5 deletionssubstrate/core/cli/Cargo.toml
- substrate/core/cli/src/cli.yml 0 additions, 253 deletionssubstrate/core/cli/src/cli.yml
- substrate/core/cli/src/lib.rs 93 additions, 77 deletionssubstrate/core/cli/src/lib.rs
- substrate/core/cli/src/params.rs 216 additions, 0 deletionssubstrate/core/cli/src/params.rs
- substrate/core/consensus/common/src/block_import.rs 38 additions, 2 deletionssubstrate/core/consensus/common/src/block_import.rs
- substrate/core/finality-grandpa/Cargo.toml 7 additions, 1 deletionsubstrate/core/finality-grandpa/Cargo.toml
- substrate/core/finality-grandpa/primitives/src/lib.rs 16 additions, 0 deletionssubstrate/core/finality-grandpa/primitives/src/lib.rs
- substrate/core/finality-grandpa/src/authorities.rs 11 additions, 3 deletionssubstrate/core/finality-grandpa/src/authorities.rs
- substrate/core/finality-grandpa/src/lib.rs 98 additions, 18 deletionssubstrate/core/finality-grandpa/src/lib.rs
- substrate/core/finality-grandpa/src/service_integration.rs 40 additions, 0 deletionssubstrate/core/finality-grandpa/src/service_integration.rs
- substrate/core/finality-grandpa/src/tests.rs 17 additions, 5 deletionssubstrate/core/finality-grandpa/src/tests.rs
- substrate/core/network/src/consensus_gossip.rs 3 additions, 55 deletionssubstrate/core/network/src/consensus_gossip.rs
- substrate/core/network/src/lib.rs 1 addition, 1 deletionsubstrate/core/network/src/lib.rs
- substrate/core/network/src/protocol.rs 17 additions, 0 deletionssubstrate/core/network/src/protocol.rs
- substrate/core/network/src/service.rs 10 additions, 4 deletionssubstrate/core/network/src/service.rs
- substrate/core/network/src/test/mod.rs 15 additions, 20 deletionssubstrate/core/network/src/test/mod.rs
- substrate/core/service/src/chain_ops.rs 3 additions, 2 deletionssubstrate/core/service/src/chain_ops.rs
- substrate/core/service/src/components.rs 5 additions, 5 deletionssubstrate/core/service/src/components.rs
Please register or sign in to comment