Crate bp_wococo

Crate bp_wococo 

Source

Modules§

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

Structs§

AccountInfoStorageMapKeyProvider
Provides a storage key for account data.
BlockLength
All Polkadot-like chains have maximal block size set to 5MB.
BlockWeights
All Polkadot-like chains have the same block weights.
ExtrinsicBaseWeight
Time to execute a NO-OP extrinsic, for example System::remark. Calculated by multiplying the Average with 1.0 and adding 0.
Perbill
A fixed point representation of a number in the range [0, 1].
PolkadotLike
Polkadot-like chain.
SS58Prefix
Wococo
Wococo Chain

Constants§

AVERAGE_HEADER_SIZE_IN_JUSTIFICATION
Approximate average header size in votes_ancestries field of justification on Polkadot-like chains.
AVERAGE_ON_INITIALIZE_RATIO
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.
BEST_FINALIZED_WOCOCO_HEADER_METHOD
Name of the <ThisChain>FinalityApi::best_finalized runtime method.
DAYS
EXTRA_STORAGE_PROOF_SIZE
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.
HOURS
MAXIMUM_BLOCK_WEIGHT
All Polkadot-like chains allow 2 seconds of compute with a 6-second average block time.
MAX_AUTHORITIES_COUNT
Maximal number of GRANDPA authorities at Polkadot-like chains.
MAX_HEADER_SIZE
Approximate maximal header size on Polkadot-like chains.
MAX_MESSAGES_IN_DELIVERY_TRANSACTION
Maximal number of messages in single delivery transaction.
MAX_NESTED_PARACHAIN_HEAD_DATA_SIZE
Maximal size of encoded bp_parachains::ParaStoredHeaderData structure among all Rococo parachains.
MILLISECS_PER_BLOCK
MINUTES
PARAS_PALLET_NAME
Name of the parachains pallet in the Rococo runtime.
REASONABLE_HEADERS_IN_JUSTIFICATON_ANCESTRY
Reasonable number of headers in the votes_ancestries on Polkadot-like chains.
SLOT_DURATION
TX_EXTRA_BYTES
Maximal number of bytes, included in the signed Polkadot-like transaction apart from the encoded call itself.
WITH_WOCOCO_GRANDPA_PALLET_NAME
Name of the With-Wococo GRANDPA pallet instance that is deployed at bridged chains.
WOCOCO_SYNCED_HEADERS_GRANDPA_INFO_METHOD
Name of the <ThisChain>FinalityApi::accepted_<consensus>_finality_proofs runtime method.

Traits§

Convert
Infallible conversion trait. Generic over both source and destination types.
Parameter
A type that can be used as a parameter in a dispatchable function.
SuffixedCommonSignedExtensionExt
Helper trait to define some extra methods on SuffixedCommonSignedExtension.
WococoFinalityApi
API for querying information about the finalized chain headers.

Type Aliases§

AccountAddress
Address of account on Polkadot-like chains.
AccountId
Id of account on Polkadot-like chains.
AccountPublic
Public key of account on Polkadot-like chains.
Address
Account address, used by the Polkadot-like chain.
Balance
The balance of an account on Polkadot-like chain.
Block
Block type of Polkadot-like chains.
BlockNumber
Block number type used in Polkadot-like chains.
CommonSignedExtension
Signed extension that is used by most chains.
CommonSignedExtra
Extra signed extension data that is used by most chains.
Hash
Hash type used in Polkadot-like chains.
Hasher
The type of object that can produce hashes on Polkadot-like chains.
Hashing
Hashing type.
Header
The header type used by Polkadot-like chains.
Nonce
Nonce of a transaction on the Polkadot-like chains.
Signature
Signature type used by Polkadot-like chains.
SignedBlock
Polkadot-like block signed with a Justification.
SignedExtension
Signed extension that is used by most chains.
SuffixedCommonSignedExtension
Extra signed extension data that starts with CommonSignedExtra.
UncheckedExtrinsic
Unchecked Extrinsic type.