Module polkadot_service::generic
source · Expand description
Generic implementations of crate::traits::Header
, crate::traits::Block
and
crate::traits::ExtrinsicLike
.
Structs§
- Abstraction over a substrate block.
- Definition of something that the external world might want to say; its existence implies that it has been checked and is good, particularly with regards to the signature.
- Generic header digest.
- Abstraction over a block header for a substrate chain.
- Abstraction over a substrate block and justification.
- A payload that has been signed for an unchecked extrinsics.
- An extrinsic right from the external world. This is unchecked and so can contain a signature.
Enums§
- Something to identify a block.
- Digest item that is able to encode/decode ‘system’ digest items and provide opaque access to other items.
- A ‘referencing view’ for digest item. Does not own its contents. Used by final runtime implementations for encoding/decoding its log items.
- An era to describe the longevity of a transaction.
- The kind of extrinsic this is, including any fields required of that kind. This is basically the full extrinsic except the
Call
. - Type of a digest item that contains raw data; this also names the consensus engine ID where applicable. Used to identify one or more digest items of interest.
- A “header” for extrinsics leading up to the call itself. Determines the type of extrinsic and holds any necessary specialized data.
Constants§
- Current version of the
UncheckedExtrinsic
encoded format.
Type Aliases§
- Era phase
- The
SignaturePayload
ofUncheckedExtrinsic
.