Crate bp_polkadot_core

source ·

Re-exports

Modules

  • Primitives of polkadot-like chains, that are related to parachains functionality.
  • Human readable time units defined in terms of number of blocks.

Structs

Constants

  • Approximate 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.
  • 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.
  • 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.
  • Reasonable number of headers in the votes_ancestries on Polkadot-like chains.
  • Maximal number of bytes, included in the signed Polkadot-like transaction apart from the encoded call itself.

Traits

  • Infallible conversion trait. Generic over both source and destination types.
  • A type that can be used as a parameter in a dispatchable function.

Type Definitions

  • 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.
  • 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.
  • Unchecked Extrinsic type.