Typeberry by Fluffy Labs - v0.4.0
    Preparing search index...

    Class Header

    Hierarchy (View Summary)

    Index

    Properties

    bandersnatchBlockAuthorIndex: number & WithBytesRepresentation<2> & pvm.WithOpaque<
        "ValidatorIndex[u16]",
    > = ...

    H_i: Block author's index in the current validator set.

    entropySource: Bytes<96> & pvm.WithOpaque<"BandersnatchVrfSignature"> = ...

    H_v: Entropy-yielding VRF signature.

    epochMarker: EpochMarker | null = null

    H_e: Key and entropy relevant to the following epoch in case the ticket contest does not complete adequately.

    extrinsicHash: OpaqueHash & pvm.WithOpaque<"ExtrinsicHash"> = ...

    H_x: The hash of block extrinsic.

    offendersMarker: (Bytes<32> & pvm.WithOpaque<"Ed25519Key">)[] = []

    H_o: Sequence of keys of newly misbehaving validators.

    parentHeaderHash: OpaqueHash & pvm.WithOpaque<"HeaderHash"> = ...

    H_p: Hash of the parent header.

    In case of the genesis block, the hash will be zero.

    priorStateRoot: OpaqueHash & pvm.WithOpaque<"StateRootHash"> = ...

    H_r: The state trie root hash before executing that block.

    seal: Bytes<96> & pvm.WithOpaque<"BandersnatchVrfSignature"> = ...
    ticketsMarker: TicketsMarker | null = null

    H_w: Winning tickets provides the series of 600 slot sealing "tickets" for the next epoch.

    timeSlotIndex: number & WithBytesRepresentation<4> & pvm.WithOpaque<
        "TimeSlot[u32]",
    > = ...

    H_t: JAM time-slot index.

    Codec: Descriptor<
        Header & CodecRecord<Header>,
        ViewOf<
            Header & CodecRecord<Header>,
            {
                bandersnatchBlockAuthorIndex: Descriptor<
                    number & WithBytesRepresentation<2> & pvm.WithOpaque<
                        "ValidatorIndex[u16]",
                    >,
                    Bytes<2>,
                >;
                entropySource: Descriptor<
                    Bytes<96> & pvm.WithOpaque<"BandersnatchVrfSignature">,
                    Bytes<96>,
                >;
                epochMarker: Descriptor<
                    EpochMarker
                    | null,

                        | ViewOf<
                            EpochMarker,
                            {
                                entropy: Descriptor<
                                    Bytes<32> & pvm.WithOpaque<"EntropyHash">,
                                    Bytes<32>,
                                >;
                                ticketsEntropy: Descriptor<
                                    Bytes<32> & pvm.WithOpaque<"EntropyHash">,
                                    Bytes<32>,
                                >;
                                validators: Descriptor<
                                    readonly ValidatorKeys[] & pvm.WithOpaque<"ValidatorsCount">,
                                    SequenceView<
                                        ValidatorKeys,
                                        ViewOf<ValidatorKeys, { bandersnatch: ...; ed25519: ... }>,
                                    >,
                                >;
                            },
                        >
                        | null,
                >;
                extrinsicHash: Descriptor<
                    Bytes<32> & pvm.WithOpaque<"ExtrinsicHash">,
                    Bytes<32>,
                >;
                offendersMarker: Descriptor<
                    (Bytes<32> & pvm.WithOpaque<"Ed25519Key">)[],
                    SequenceView<Bytes<32> & pvm.WithOpaque<"Ed25519Key">, Bytes<32>>,
                >;
                parentHeaderHash: Descriptor<
                    Bytes<32> & pvm.WithOpaque<"HeaderHash">,
                    Bytes<32>,
                >;
                priorStateRoot: Descriptor<
                    Bytes<32> & pvm.WithOpaque<"StateRootHash">,
                    Bytes<32>,
                >;
                seal: Descriptor<
                    Bytes<96> & pvm.WithOpaque<"BandersnatchVrfSignature">,
                    Bytes<96>,
                >;
                ticketsMarker: Descriptor<
                    TicketsMarker
                    | null,

                        | ViewOf<
                            TicketsMarker,
                            {
                                tickets: Descriptor<
                                    readonly Ticket[] & pvm.WithOpaque<"EpochLength">,
                                    SequenceView<Ticket, ViewOf<Ticket, { attempt: ...; id: ... }>>,
                                >;
                            },
                        >
                        | null,
                >;
                timeSlotIndex: Descriptor<
                    number & WithBytesRepresentation<4> & pvm.WithOpaque<"TimeSlot[u32]">,
                    Bytes<4>,
                >;
            },
        >,
    > = ...

    Methods