Expand description
Polkadot Bulletin Chain primitives.
Structs§
- Block
Length - Maximal block length at Polkadot Bulletin chain.
- Block
Weights - We allow for 2 seconds of compute with a 6 second average block time.
- Polkadot
Bulletin - Polkadot Bulletin Chain declaration.
- Transaction
Extension - Transaction extension, used by Polkadot Bulletin.
Constants§
- AVERAGE_
HEADER_ SIZE - Average header size in
votes_ancestries
field of justification on Polkadot-like chains. - BEST_
FINALIZED_ POLKADOT_ BULLETIN_ HEADER_ METHOD - Name of the
<ThisChain>FinalityApi::best_finalized
runtime method. - 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.
- FREE_
HEADERS_ INTERVAL_ FOR_ POLKADOT_ BULLETIN_ METHOD - Name of the
<ThisChain>FinalityApi::free_headers_interval
runtime method. - FROM_
POLKADOT_ BULLETIN_ MESSAGE_ DETAILS_ METHOD - Name of the
From<ThisChain>InboundLaneApi::message_details
runtime method. - MAX_
AUTHORITIES_ COUNT - Maximal number of GRANDPA authorities at Polkadot Bulletin chain.
- MAX_
MANDATORY_ HEADER_ SIZE - Approximate maximal header size on Polkadot-like chains.
- MAX_
UNCONFIRMED_ MESSAGES_ IN_ CONFIRMATION_ TX - Maximal number of unconfirmed messages at inbound lane for Cumulus-based parachains.
- MAX_
UNREWARDED_ RELAYERS_ IN_ CONFIRMATION_ TX - Maximal number of unrewarded relayer entries at inbound lane for Cumulus-based parachains.
- POLKADOT_
BULLETIN_ SYNCED_ HEADERS_ GRANDPA_ INFO_ METHOD - Name of the
<ThisChain>FinalityApi::accepted_<consensus>_finality_proofs
runtime method. - REASONABLE_
HEADERS_ IN_ JUSTIFICATION_ ANCESTRY - Reasonable number of headers in the
votes_ancestries
on Polkadot-like chains. - TO_
POLKADOT_ BULLETIN_ MESSAGE_ DETAILS_ METHOD - Name of the
To<ThisChain>OutboundLaneApi::message_details
runtime method. - WITH_
POLKADOT_ BULLETIN_ GRANDPA_ PALLET_ NAME - Name of the With-Polkadot Bulletin chain GRANDPA pallet instance that is deployed at bridged chains.
- WITH_
POLKADOT_ BULLETIN_ MESSAGES_ PALLET_ NAME - Name of the With-Polkadot Bulletin chain messages pallet instance that is deployed at bridged chains.
Traits§
- From
Polkadot Bulletin Inbound Lane Api - Inbound message lane API for messages sent by this chain.
- Polkadot
Bulletin Finality Api - API for querying information about the finalized chain headers.
- ToPolkadot
Bulletin Outbound Lane Api - Outbound message lane API for messages that are sent to this chain.
Type Aliases§
- Account
Address - Address of account on Polkadot-like chains.
- Account
Id - Id of account on Polkadot-like chains.
- Balance
- The balance of an account on Polkadot-like chain.
- Block
- Block type of Polkadot-like chains.
- Block
Number - Block number type used in Polkadot-like chains.
- Hash
- Hash type used in Polkadot-like chains.
- Hasher
- The type of object that can produce hashes on Polkadot-like chains.
- 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.
- Signed
Block - Polkadot-like block signed with a Justification.
- Transaction
Extension Schema - Signed extension schema, used by Polkadot Bulletin.
- Unchecked
Extrinsic - Unchecked Extrinsic type.
- Validate
Signed - This signed extension is used to ensure that the chain transactions are signed by proper