referrerpolicy=no-referrer-when-downgrade

Crate bp_polkadot_bulletin

Source
Expand description

Polkadot Bulletin Chain primitives.

Structs§

BlockLength
Maximal block length at Polkadot Bulletin chain.
BlockWeights
We allow for 2 seconds of compute with a 6 second average block time.
PolkadotBulletin
Polkadot Bulletin Chain declaration.
TransactionExtension
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§

FromPolkadotBulletinInboundLaneApi
Inbound message lane API for messages sent by this chain.
PolkadotBulletinFinalityApi
API for querying information about the finalized chain headers.
ToPolkadotBulletinOutboundLaneApi
Outbound message lane API for messages that are sent to this chain.

Type Aliases§

AccountAddress
Address of account on Polkadot-like chains.
AccountId
Id of account on Polkadot-like chains.
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.
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.
SignedBlock
Polkadot-like block signed with a Justification.
TransactionExtensionSchema
Signed extension schema, used by Polkadot Bulletin.
UncheckedExtrinsic
Unchecked Extrinsic type.
ValidateSigned
This signed extension is used to ensure that the chain transactions are signed by proper