mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 23:57:56 +00:00
Move client consensus parts out of primitives and into client/consensus/api (#9319)
* moved client code out of primitives * bump ci * Fixup from merge. * Removed unused deps thanks to review feedback * Removing unneeded deps * updating lock file * note about rustfmt * fixed typo to bump ci * Move lonely CacheKeyId to parent * cargo fmt * updating import style * Update docs/STYLE_GUIDE.md Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com> Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
This commit is contained in:
@@ -18,7 +18,22 @@
|
||||
|
||||
//! Collection of common consensus specific implementations
|
||||
|
||||
pub mod block_import;
|
||||
pub mod import_queue;
|
||||
pub mod metrics;
|
||||
|
||||
pub use block_import::{
|
||||
BlockCheckParams, BlockImport, BlockImportParams, ForkChoiceStrategy, ImportResult,
|
||||
ImportedAux, ImportedState, JustificationImport, JustificationSyncLink, StateAction,
|
||||
StorageChanges,
|
||||
};
|
||||
pub use import_queue::{
|
||||
import_single_block, BasicQueue, BlockImportError, BlockImportStatus, BoxBlockImport,
|
||||
BoxJustificationImport, DefaultImportQueue, ImportQueue, IncomingBlock, Link, Verifier,
|
||||
};
|
||||
|
||||
mod longest_chain;
|
||||
|
||||
pub mod shared_data;
|
||||
|
||||
pub use longest_chain::LongestChain;
|
||||
|
||||
Reference in New Issue
Block a user