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

    A vote for validity or invalidity of a [WorkReport] signed by a particular validator.

    Hierarchy (View Summary)

    Index

    Properties

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

    Index of the validator that signed this vote.

    isWorkReportValid: boolean

    Whether the work report is considered valid or not.

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

    The signature.

    Codec: Descriptor<
        Judgement,
        ViewOf<
            Judgement,
            {
                index: Descriptor<
                    number & WithBytesRepresentation<2> & pvm.WithOpaque<
                        "ValidatorIndex[u16]",
                    >,
                    Bytes<2>,
                >;
                isWorkReportValid: Descriptor<boolean, boolean>;
                signature: Descriptor<
                    Bytes<64> & pvm.WithOpaque<"Ed25519Signature">,
                    Bytes<64>,
                >;
            },
        >,
    > = ...

    Methods