Add a DefaultQueue type alias to remove the need to use sp_api::TransactionFor (#6761)

* Add DefaultQueue

* Add DefaultImportQueue to the top level of sp-consensus
This commit is contained in:
Ashley
2020-07-30 11:02:12 +02:00
committed by GitHub
parent 1284a491c2
commit 7df97abab4
8 changed files with 14 additions and 12 deletions
@@ -40,6 +40,11 @@ use crate::{
};
pub use basic_queue::BasicQueue;
/// A commonly-used Import Queue type.
///
/// This defines the transaction type of the `BasicQueue` to be the transaction type for a client.
pub type DefaultImportQueue<Block, Client> = BasicQueue<Block, sp_api::TransactionFor<Client, Block>>;
mod basic_queue;
pub mod buffered_link;