mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-22 10:15:42 +00:00
Minor tweak to requirements of AbstractService (#3493)
This commit is contained in:
committed by
Bastian Köcher
parent
cab8fb5dc6
commit
efe32f370a
@@ -454,7 +454,7 @@ pub trait AbstractService: 'static + Future<Item = (), Error = Error> +
|
|||||||
/// Configuration struct of the service.
|
/// Configuration struct of the service.
|
||||||
type Config;
|
type Config;
|
||||||
/// Chain selection algorithm.
|
/// Chain selection algorithm.
|
||||||
type SelectChain;
|
type SelectChain: consensus_common::SelectChain<Self::Block>;
|
||||||
/// API of the transaction pool.
|
/// API of the transaction pool.
|
||||||
type TransactionPoolApi: ChainApi<Block = Self::Block>;
|
type TransactionPoolApi: ChainApi<Block = Self::Block>;
|
||||||
/// Network specialization.
|
/// Network specialization.
|
||||||
@@ -524,7 +524,7 @@ where TCfg: 'static + Send,
|
|||||||
TBackend: 'static + client::backend::Backend<TBl, Blake2Hasher>,
|
TBackend: 'static + client::backend::Backend<TBl, Blake2Hasher>,
|
||||||
TExec: 'static + client::CallExecutor<TBl, Blake2Hasher> + Send + Sync + Clone,
|
TExec: 'static + client::CallExecutor<TBl, Blake2Hasher> + Send + Sync + Clone,
|
||||||
TRtApi: 'static + Send + Sync,
|
TRtApi: 'static + Send + Sync,
|
||||||
TSc: 'static + Clone + Send,
|
TSc: consensus_common::SelectChain<TBl> + 'static + Clone + Send,
|
||||||
TExPoolApi: 'static + ChainApi<Block = TBl>,
|
TExPoolApi: 'static + ChainApi<Block = TBl>,
|
||||||
TOc: 'static + Send + Sync,
|
TOc: 'static + Send + Sync,
|
||||||
TNetSpec: NetworkSpecialization<TBl>,
|
TNetSpec: NetworkSpecialization<TBl>,
|
||||||
|
|||||||
Reference in New Issue
Block a user