pub trait BaseSubstrateEquivocationDetectionPipeline: SubstrateFinalityPipeline<SourceChain = Self::BoundedSourceChain> {
type BoundedSourceChain: ChainWithTransactions<AccountId = Self::BoundedSourceChainAccountId>;
type BoundedSourceChainAccountId: From<<AccountKeyPairOf<Self::BoundedSourceChain> as Pair>::Public> + Send;
}
Expand description
Convenience trait that adds bounds to SubstrateEquivocationDetectionPipeline
.
Required Associated Types§
Sourcetype BoundedSourceChain: ChainWithTransactions<AccountId = Self::BoundedSourceChainAccountId>
type BoundedSourceChain: ChainWithTransactions<AccountId = Self::BoundedSourceChainAccountId>
Bounded SubstrateFinalityPipeline::SourceChain
.
Sourcetype BoundedSourceChainAccountId: From<<AccountKeyPairOf<Self::BoundedSourceChain> as Pair>::Public> + Send
type BoundedSourceChainAccountId: From<<AccountKeyPairOf<Self::BoundedSourceChain> as Pair>::Public> + Send
Bounded AccountIdOf<SubstrateFinalityPipeline::SourceChain>
.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.