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§
- Generic info about a messages delivery/confirmation proof.
- Delivered messages with their dispatch result.
- Bridge lane identifier.
- Inbound lane data.
- Inbound message details, returned by runtime APIs.
- Bridge lane identifier (legacy).
- 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.
- Info about a
ReceiveMessagesDeliveryProof
call which tries to update a single lane. - Info about a
ReceiveMessagesProof
call which tries to update a single lane. - Received messages with their dispatch result.
- Unrewarded relayer entry stored in the inbound lane data.
- Occupation state of the unrewarded relayers vector.
- 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. - Lane state.
- Info about a
ReceiveMessagesProof
or aReceiveMessagesDeliveryProof
call which tries to update a single lane. - Messages pallet operating mode.
- Result of single message receival.
- Error that happens during message verification.
Constants§
- Hard limit on message size that can be sent over the bridge.
Traits§
- Substrate-based chain with messaging support.
- Trait representing a generic
LaneId
type.
Functions§
- Calculate the number of messages that the relayers have delivered.
- Return maximal size of the message the chain with
max_extrinsic_size
is able to receive.
Type Aliases§
- Message nonce. Valid messages will never have 0 nonce.
- Opaque message payload. We only decode this payload when it is dispatched.