Trait bp_messages::ChainWithMessages
source · pub trait ChainWithMessages: Chain {
const WITH_CHAIN_MESSAGES_PALLET_NAME: &'static str;
const MAX_UNREWARDED_RELAYERS_IN_CONFIRMATION_TX: MessageNonce;
const MAX_UNCONFIRMED_MESSAGES_IN_CONFIRMATION_TX: MessageNonce;
}
Expand description
Substrate-based chain with messaging support.
Required Associated Constants§
sourceconst WITH_CHAIN_MESSAGES_PALLET_NAME: &'static str
const WITH_CHAIN_MESSAGES_PALLET_NAME: &'static str
Name of the bridge messages pallet (used in construct_runtime
macro call) that is
deployed at some other chain to bridge with this ChainWithMessages
.
We assume that all chains that are bridging with this ChainWithMessages
are using
the same name.
sourceconst MAX_UNREWARDED_RELAYERS_IN_CONFIRMATION_TX: MessageNonce
const MAX_UNREWARDED_RELAYERS_IN_CONFIRMATION_TX: MessageNonce
Maximal number of unrewarded relayers in a single confirmation transaction at this
ChainWithMessages
.
sourceconst MAX_UNCONFIRMED_MESSAGES_IN_CONFIRMATION_TX: MessageNonce
const MAX_UNCONFIRMED_MESSAGES_IN_CONFIRMATION_TX: MessageNonce
Maximal number of unconfirmed messages in a single confirmation transaction at this
ChainWithMessages
.
Object Safety§
This trait is not object safe.