Expand description
§Moonriver bridge primitives
Modules§
- bp_
polkadot - Bridging primitives describing the Polkadot relay chain, which we need for the other side. Same approach as in https://github.com/polkadot-fellows/runtimes/pull/627
Structs§
- Block
Length - Size limit of the Cumulus-based bridge hub blocks.
- Block
Weights - Weight limit of the Cumulus-based bridge hub blocks.
- Global
Consensus Location - Moonriver
- Moonriver parachain.
Constants§
- AVERAGE_
BLOCK_ INTERVAL - Average block time for Cumulus-based parachains
- BEST_
FINALIZED_ MOONRIVER_ KUSAMA_ HEADER_ METHOD - Name of the
<ThisChain>FinalityApi::best_finalizedruntime method. - FREE_
HEADERS_ INTERVAL_ FOR_ MOONRIVER_ KUSAMA_ METHOD - Name of the
<ThisChain>FinalityApi::free_headers_intervalruntime method. - FROM_
MOONRIVER_ KUSAMA_ MESSAGE_ DETAILS_ METHOD - Name of the
From<ThisChain>InboundLaneApi::message_detailsruntime method. - MAX_
UNCONFIRMED_ MESSAGES_ IN_ CONFIRMATION_ TX - Maximal number of unconfirmed messages at inbound lane for Cumulus-based parachains. Note: this value is security-relevant, decreasing it should not be done without careful analysis (like the one above).
- MAX_
UNREWARDED_ RELAYERS_ IN_ CONFIRMATION_ TX - Maximal number of unrewarded relayer entries at inbound lane for Cumulus-based parachains. Note: this value is security-relevant, decreasing it should not be done without careful analysis (like the one above).
- PARACHAIN_
ID - Identifier of Moonriver parachain in the Kusama relay chain.
- TO_
MOONRIVER_ KUSAMA_ MESSAGE_ DETAILS_ METHOD - Name of the
To<ThisChain>OutboundLaneApi::message_detailsruntime method. - WITH_
MOONRIVER_ KUSAMA_ MESSAGES_ PALLET_ NAME - Name of the With-MoonriverKusama messages pallet instance that is deployed at bridged chains.
Traits§
- From
Moonriver Kusama Inbound Lane Api - Inbound message lane API for messages sent by this chain.
- Moonriver
Kusama Finality Api - API for querying information about the finalized chain headers.
- ToMoonriver
Kusama Outbound Lane Api - Outbound message lane API for messages that are sent to this chain.
Type Aliases§
- Account
Id - Some way of identifying an account on the chain. We intentionally make it equivalent to the public key of our transaction signing scheme.
- Balance
- Balance of an account.
- Block
Number - An index to a block.
- Hash
- A hash of some data used by the chain.
- Hasher
- The type of object that can produce hashes on Polkadot-like chains.
- Header
- Block header type as expected by this runtime.
- LaneId
- Bridge lane identifier.
- Nonce
- Nonce of a transaction on the Polkadot-like chains.
- Signature
- Alias to 512-bit hash when used in the context of a transaction signature on the chain.
- Signed
Block - Polkadot-like block signed with a Justification.