Crate bp_messages
source ·Expand description
Primitives of messages module.
Modules§
- Primitives of messages module, that are used on the source chain.
- Storage keys of bridge messages pallet.
- Primitives of messages module, that are used on the target chain.
Structs§
- Delivered messages with their dispatch result.
- Inbound lane data.
- Inbound message details, returned by runtime APIs.
- Lane id which implements
TypeId
. - Message as it is stored in the storage.
- Message key (unique message identifier) as it is stored in the storage.
- Outbound lane data.
- Outbound message details, returned by runtime APIs.
- Received messages with their dispatch result.
- Unrewarded relayer entry stored in the inbound lane data.
- Gist of
InboundLaneData::relayers
field used by runtime APIs.
Enums§
- A minimized version of
pallet-bridge-messages::Call
that can be used without a runtime. - Messages pallet operating mode.
- Result of single message receival.
- Error that happens during message verification.
Traits§
- Substrate-based chain with messaging support.
Functions§
- Calculate the number of messages that the relayers have delivered.
Type Aliases§
- Message id as a tuple.
- Message nonce. Valid messages will never have 0 nonce.
- Opaque message payload. We only decode this payload when it is dispatched.