Crate bp_moonriver

Source
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§

BlockLength
Size limit of the Cumulus-based bridge hub blocks.
BlockWeights
Weight limit of the Cumulus-based bridge hub blocks.
GlobalConsensusLocation
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_finalized runtime method.
FREE_HEADERS_INTERVAL_FOR_MOONRIVER_KUSAMA_METHOD
Name of the <ThisChain>FinalityApi::free_headers_interval runtime method.
FROM_MOONRIVER_KUSAMA_MESSAGE_DETAILS_METHOD
Name of the From<ThisChain>InboundLaneApi::message_details runtime 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_details runtime method.
WITH_MOONRIVER_KUSAMA_MESSAGES_PALLET_NAME
Name of the With-MoonriverKusama messages pallet instance that is deployed at bridged chains.

Traits§

FromMoonriverKusamaInboundLaneApi
Inbound message lane API for messages sent by this chain.
MoonriverKusamaFinalityApi
API for querying information about the finalized chain headers.
ToMoonriverKusamaOutboundLaneApi
Outbound message lane API for messages that are sent to this chain.

Type Aliases§

AccountId
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.
BlockNumber
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.
SignedBlock
Polkadot-like block signed with a Justification.