mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-20 01:26:08 +00:00
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:
1 parent
1284a491c2
commit
7df97abab4
8 files changed
+14
-12
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
@@ -56,6 +56,7 @@ pub use block_import::{
|
||||
};
|
||||
pub use select_chain::SelectChain;
|
||||
pub use sp_state_machine::Backend as StateBackend;
|
||||
pub use import_queue::DefaultImportQueue;
|
||||
|
||||
/// Block status.
|
||||
#[derive(Debug, PartialEq, Eq)]
|
||||
|
||||
Reference in new issue
Block a user