Expand description
Primitives of messages module.
Modules§
- source_
chain - Primitives of messages module, that are used on the source chain.
- storage_
keys - Storage keys of bridge messages pallet.
- target_
chain - Primitives of messages module, that are used on the target chain.
Structs§
- Base
Messages Proof Info - Generic info about a messages delivery/confirmation proof.
- Delivered
Messages - Delivered messages with their dispatch result.
- Hashed
Lane Id - Bridge lane identifier.
- Inbound
Lane Data - Inbound lane data.
- Inbound
Message Details - Inbound message details, returned by runtime APIs.
- Legacy
Lane Id - Bridge lane identifier (legacy).
- Message
- Message as it is stored in the storage.
- Message
Key - Message key (unique message identifier) as it is stored in the storage.
- Outbound
Lane Data - Outbound lane data.
- Outbound
Message Details - Outbound message details, returned by runtime APIs.
- Receive
Messages Delivery Proof Info - Info about a
ReceiveMessagesDeliveryProof
call which tries to update a single lane. - Receive
Messages Proof Info - Info about a
ReceiveMessagesProof
call which tries to update a single lane. - Received
Messages - Received messages with their dispatch result.
- Unrewarded
Relayer - Unrewarded relayer entry stored in the inbound lane data.
- Unrewarded
Relayer Occupation - Occupation state of the unrewarded relayers vector.
- Unrewarded
Relayers State - Gist of
InboundLaneData::relayers
field used by runtime APIs. - Weight
Enums§
- Bridge
Messages Call - A minimized version of
pallet-bridge-messages::Call
that can be used without a runtime. - Lane
State - Lane state.
- Messages
Call Info - Info about a
ReceiveMessagesProof
or aReceiveMessagesDeliveryProof
call which tries to update a single lane. - Messages
Operating Mode - Messages pallet operating mode.
- Reception
Result - Result of single message receival.
- Verification
Error - Error that happens during message verification.
Constants§
- HARD_
MESSAGE_ SIZE_ LIMIT - Hard limit on message size that can be sent over the bridge.
Traits§
- Chain
With Messages - Substrate-based chain with messaging support.
- Lane
IdType - Trait representing a generic
LaneId
type.
Functions§
- calc_
relayers_ rewards - Calculate the number of messages that the relayers have delivered.
- maximal_
incoming_ message_ size - Return maximal size of the message the chain with
max_extrinsic_size
is able to receive.
Type Aliases§
- Message
Nonce - Message nonce. Valid messages will never have 0 nonce.
- Message
Payload - Opaque message payload. We only decode this payload when it is dispatched.