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

    Class AvailabilityAssurance

    A work-report is said to become available iff there are a clear 2/3 supermajority of validators who have marked its core as set within the block's assurance extrinsic. https://graypaper.fluffylabs.dev/#/579bd12/145800145c00

    Hierarchy (View Summary)

    Index

    Properties

    anchor: OpaqueHash & pvm.WithOpaque<"HeaderHash">

    The assurances must all be anchored on the parent. https://graypaper.fluffylabs.dev/#/579bd12/145800145c00

    bitfield: BitVec

    A series of binary values, one per core.

    Value of 1 implies that the validator assures they are contributing to that's core validity.

    signature: Bytes<64> & pvm.WithOpaque<"Ed25519Signature">

    Signature over the anchor and the bitfield.

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

    Validator index that signed this assurance.

    Codec: Descriptor<
        AvailabilityAssurance,
        ViewOf<
            AvailabilityAssurance,
            {
                anchor: Descriptor<
                    Bytes<32> & pvm.WithOpaque<"HeaderHash">,
                    Bytes<32>,
                >;
                bitfield: Descriptor<BitVec, BitVec>;
                signature: Descriptor<
                    Bytes<64> & pvm.WithOpaque<"Ed25519Signature">,
                    Bytes<64>,
                >;
                validatorIndex: Descriptor<
                    number & WithBytesRepresentation<2> & pvm.WithOpaque<
                        "ValidatorIndex[u16]",
                    >,
                    Bytes<2>,
                >;
            },
        >,
    > = ...

    Methods