Crate bp_bridge_hub_cumulus
source ·Expand description
Primitives of all Cumulus-based bridge hubs.
Structs§
- Provides a storage key for account data.
- Importing a block with 0 Extrinsics.
- Size limit of the Cumulus-based bridge hub blocks.
- Weight limit of the Cumulus-based bridge hub blocks.
- Weight limit of the Cumulus-based bridge hub blocks when async backing is enabled.
- Executing a NO-OP
System::remarks
Extrinsic. - A fixed point representation of a number in the range [0, 1].
Constants§
- Average block interval in Cumulus-based parachains.
- All cumulus bridge hubs assume that about 5 percent of the block weight is consumed by
on_initialize
handlers. This is used to limit the maximal weight of a single extrinsic. - Number of extra bytes (excluding size of storage value itself) of storage proof, built at Polkadot-like chain. This mostly depends on number of entries in the storage trie. Some reserve is reserved to account future chain growth.
- Maximal bridge hub header size.
- 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).
- 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).
- All cumulus bridge hubs allow normal extrinsics to fill block up to 75 percent.
- Maximal number of bytes, included in the signed Polkadot-like transaction apart from the encoded call itself.
Type Aliases§
- Id of account on Polkadot-like chains.
- Public key of account on Polkadot-like chains.
- Public key of the chain account that may be used to verify signatures.
- The address format for describing accounts.
- The balance of an account on Polkadot-like chain.
- Block number type used in Polkadot-like chains.
- Hash type used in Polkadot-like chains.
- The type of object that can produce hashes on Polkadot-like chains.
- Hashing type.
- The header type used by Polkadot-like chains.
- Nonce of a transaction on the Polkadot-like chains.
- Signature type used by Polkadot-like chains.
- Polkadot-like block signed with a Justification.
- Signed extension that is used by all bridge hubs.
- Unchecked Extrinsic type.