Move authorities interface from Core to consensus (#1412)
* Move authorities interface from Core to consensus f * notify all caches of block insert + create with up-to-date best_fin * merged authorities_are_cached from light_grandpa_import2 * Add ProvideCache trait * Create helper function for 'get_cache' * Fix some formatting * Bump impl version * Resolve wasm conflicts * Apply review comments * Use try_for_each * Move authorities interface from Core to consensus f * notify all caches of block insert + create with up-to-date best_fin * merged authorities_are_cached from light_grandpa_import2 * Add ProvideCache trait * Create helper function for 'get_cache' * Fix some formatting * Bump impl version * Resolve wasm conflicts * Apply review comments * Use try_for_each * Move authorities interface from Core to consensus f * notify all caches of block insert + create with up-to-date best_fin * merged authorities_are_cached from light_grandpa_import2 * Add ProvideCache trait * Create helper function for 'get_cache' * Fix some formatting * Bump impl version * Resolve wasm conflicts * Apply review comments * Use try_for_each * Increment impl_version * Update lib.rs
Showing
- substrate/Cargo.lock 19 additions, 0 deletionssubstrate/Cargo.lock
- substrate/README.adoc 0 additions, 4 deletionssubstrate/README.adoc
- substrate/core/client/db/Cargo.toml 1 addition, 0 deletionssubstrate/core/client/db/Cargo.toml
- substrate/core/client/db/src/cache/mod.rs 123 additions, 47 deletionssubstrate/core/client/db/src/cache/mod.rs
- substrate/core/client/db/src/lib.rs 11 additions, 4 deletionssubstrate/core/client/db/src/lib.rs
- substrate/core/client/db/src/light.rs 156 additions, 110 deletionssubstrate/core/client/db/src/light.rs
- substrate/core/client/src/backend.rs 4 additions, 4 deletionssubstrate/core/client/src/backend.rs
- substrate/core/client/src/blockchain.rs 12 additions, 4 deletionssubstrate/core/client/src/blockchain.rs
- substrate/core/client/src/client.rs 20 additions, 54 deletionssubstrate/core/client/src/client.rs
- substrate/core/client/src/error.rs 0 additions, 6 deletionssubstrate/core/client/src/error.rs
- substrate/core/client/src/in_mem.rs 16 additions, 59 deletionssubstrate/core/client/src/in_mem.rs
- substrate/core/client/src/light/backend.rs 6 additions, 6 deletionssubstrate/core/client/src/light/backend.rs
- substrate/core/client/src/light/blockchain.rs 14 additions, 8 deletionssubstrate/core/client/src/light/blockchain.rs
- substrate/core/client/src/light/call_executor.rs 1 addition, 1 deletionsubstrate/core/client/src/light/call_executor.rs
- substrate/core/client/src/light/fetcher.rs 5 additions, 2 deletionssubstrate/core/client/src/light/fetcher.rs
- substrate/core/client/src/runtime_api.rs 1 addition, 4 deletionssubstrate/core/client/src/runtime_api.rs
- substrate/core/consensus/aura/Cargo.toml 1 addition, 0 deletionssubstrate/core/consensus/aura/Cargo.toml
- substrate/core/consensus/aura/src/lib.rs 59 additions, 16 deletionssubstrate/core/consensus/aura/src/lib.rs
- substrate/core/consensus/authorities/Cargo.toml 29 additions, 0 deletionssubstrate/core/consensus/authorities/Cargo.toml
- substrate/core/consensus/authorities/src/lib.rs 31 additions, 0 deletionssubstrate/core/consensus/authorities/src/lib.rs
Please register or sign in to comment