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

    Class Block

    The block consists of the header and some external input data (extrinsic).

    B = (H, E) https://graypaper.fluffylabs.dev/#/579bd12/089900089900

    Hierarchy (View Summary)

    Index

    Properties

    extrinsic: Extrinsic

    E: Extrinsic data.

    header: Header

    H: Block header.

    Codec: Descriptor<
        Block,
        ViewOf<
            Block,
            {
                extrinsic: Descriptor<
                    Extrinsic,
                    ViewOf<
                        Extrinsic,
                        {
                            assurances: Descriptor<
                                readonly AvailabilityAssurance[] & pvm.WithOpaque<
                                    "[0 .. ValidatorsCount)",
                                >,
                                SequenceView<
                                    AvailabilityAssurance,
                                    ViewOf<
                                        AvailabilityAssurance,
                                        {
                                            anchor: Descriptor<(...), (...)>;
                                            bitfield: Descriptor<(...), (...)>;
                                            signature: Descriptor<(...), (...)>;
                                            validatorIndex: Descriptor<(...), (...)>;
                                        },
                                    >,
                                >,
                            >;
                            disputes: Descriptor<
                                DisputesExtrinsic,
                                ViewOf<
                                    DisputesExtrinsic,
                                    {
                                        culprits: Descriptor<(...)[], SequenceView<(...), (...)>>;
                                        faults: Descriptor<(...)[], SequenceView<(...), (...)>>;
                                        verdicts: Descriptor<(...)[], SequenceView<(...), (...)>>;
                                    },
                                >,
                            >;
                            guarantees: Descriptor<
                                readonly ReportGuarantee[] & pvm.WithOpaque<"[0..CoresCount)">,
                                SequenceView<
                                    ReportGuarantee,
                                    ViewOf<
                                        ReportGuarantee,
                                        {
                                            credentials: Descriptor<(...), (...)>;
                                            report: Descriptor<(...), (...)>;
                                            slot: Descriptor<(...), (...)>;
                                        },
                                    >,
                                >,
                            >;
                            preimages: Descriptor<
                                Preimage[],
                                SequenceView<
                                    Preimage,
                                    ViewOf<
                                        Preimage,
                                        {
                                            blob: Descriptor<(...), (...)>;
                                            requester: Descriptor<(...), (...)>;
                                        },
                                    >,
                                >,
                            >;
                            tickets: Descriptor<
                                readonly SignedTicket[] & pvm.WithOpaque<
                                    "Size: [0..chainSpec.maxTicketsPerExtrinsic)",
                                >,
                                SequenceView<
                                    SignedTicket,
                                    ViewOf<
                                        SignedTicket,
                                        {
                                            attempt: Descriptor<(...), (...)>;
                                            signature: Descriptor<(...), (...)>;
                                        },
                                    >,
                                >,
                            >;
                        },
                    >,
                >;
                header: 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<(...), (...)>;
                                            ticketsEntropy: Descriptor<(...), (...)>;
                                            validators: Descriptor<(...), (...)>;
                                        },
                                    >
                                    | 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<(...), (...)> }> | null,
                            >;
                            timeSlotIndex: Descriptor<
                                number & WithBytesRepresentation<4> & pvm.WithOpaque<
                                    "TimeSlot[u32]",
                                >,
                                Bytes<4>,
                            >;
                        },
                    >,
                >;
            },
        >,
    > = ...

    Methods