Expand description
Primitives of the Polkadot chain.
Modules§
- Primitives of polkadot-like chains, that are related to parachains functionality.
- Human readable time units defined in terms of number of blocks.
Structs§
- Provides a storage key for account data.
- All Polkadot-like chains have maximal block size set to 5MB.
- All Polkadot-like chains have the same block weights.
- Time to execute a NO-OP extrinsic, for example
System::remark
. Calculated by multiplying the Average with1.0
and adding0
. - A fixed point representation of a number in the range [0, 1].
- Polkadot Chain
Constants§
- Average header size in
votes_ancestries
field of justification on Polkadot-like chains. - All Polkadot-like chains assume that an on-initialize consumes 1 percent of the weight on average, hence a single extrinsic will not be allowed to consume more than
AvailableBlockRatio - 1 percent
. - Name of the
<ThisChain>FinalityApi::best_finalized
runtime method. - A day, expressed in Polkadot-like chain blocks.
- 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.
- Name of the
<ThisChain>FinalityApi::free_headers_interval
runtime method. - A hour, expressed in Polkadot-like chain blocks.
- All Polkadot-like chains allow 2 seconds of compute with a 6-second average block time.
- Maximal number of GRANDPA authorities at Polkadot-like chains.
- Approximate maximal header size on Polkadot-like chains.
- Maximal number of messages in single delivery transaction.
- Maximal size of encoded
bp_parachains::ParaStoredHeaderData
structure among all Polkadot parachains. - Milliseconds between Polkadot-like chain blocks.
- A minute, expressed in Polkadot-like chain blocks.
- Name of the parachains pallet in the Polkadot runtime.
- Name of the
<ThisChain>FinalityApi::accepted_<consensus>_finality_proofs
runtime method. - Reasonable number of headers in the
votes_ancestries
on Polkadot-like chains. - Slot duration in Polkadot-like chain consensus algorithms.
- Maximal number of bytes, included in the signed Polkadot-like transaction apart from the encoded call itself.
- Name of the With-Polkadot parachains pallet instance that is deployed at bridged chains.
- Name of the With-Polkadot GRANDPA pallet instance that is deployed at bridged chains.
Traits§
- Infallible conversion trait. Generic over both source and destination types.
- A type that can be used as a parameter in a dispatchable function.
- API for querying information about the finalized chain headers.
- Helper trait to define some extra methods on
SuffixedCommonSignedExtension
.
Functions§
- Returns maximal extrinsic size on all Polkadot-like chains.
- Returns maximal extrinsic weight on all Polkadot-like chains.
Type Aliases§
- Address of account on Polkadot-like chains.
- Id of account on Polkadot-like chains.
- Public key of account on Polkadot-like chains.
- Account address, used by the Polkadot-like chain.
- The balance of an account on Polkadot-like chain.
- Block type of Polkadot-like chains.
- Block number type used in Polkadot-like chains.
- Signed extension that is used by most chains.
- Extra signed extension data that is used by most 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.
- The SignedExtension used by Polkadot.
- Extra signed extension data that starts with
CommonSignedExtra
. - Unchecked Extrinsic type.