Skip to main content

ValidatorAggregatedSignature

type ValidatorAggregatedSignature​

An aggregated signature from multiple Validators.

BCS​

The BCS serialized form of this type is specified in [`bcs-schema.abnf`](https://github.com/iotaledger/iota-rust-sdk/blob/develop/crates/iota-sdk-types/bcs-schema.abnf\).

The `bitmap` bytes follow the [RoaringBitmap serialized format](https://github.com/RoaringBitmap/RoaringFormatSpec\).

type ValidatorAggregatedSignature struct {
// contains filtered or unexported fields
}

func LiftFromExternalValidatorAggregatedSignature​

func LiftFromExternalValidatorAggregatedSignature(handle uint64) *ValidatorAggregatedSignature

func ValidatorAggregatedSignatureFromBcs​

func ValidatorAggregatedSignatureFromBcs(bcs []byte) (*ValidatorAggregatedSignature, error)

Create this type from BCS encoded bytes.

func ValidatorAggregatedSignatureFromJson​

func ValidatorAggregatedSignatureFromJson(json string) (*ValidatorAggregatedSignature, error)

Create this type from a JSON encoded string.

func ValidatorAggregatedSignatureFromSignerBitmap​

func ValidatorAggregatedSignatureFromSignerBitmap(epoch uint64, signature *Bls12381Signature, bitmapBytes []byte) (*ValidatorAggregatedSignature, error)

func (*ValidatorAggregatedSignature) BitmapBytes​

func (_self *ValidatorAggregatedSignature) BitmapBytes() []byte

func (*ValidatorAggregatedSignature) DebugString​

func (_self *ValidatorAggregatedSignature) DebugString() string

func (*ValidatorAggregatedSignature) Destroy​

func (object *ValidatorAggregatedSignature) Destroy()

func (*ValidatorAggregatedSignature) Epoch​

func (_self *ValidatorAggregatedSignature) Epoch() uint64

func (*ValidatorAggregatedSignature) Signature​

func (_self *ValidatorAggregatedSignature) Signature() *Bls12381Signature

func (*ValidatorAggregatedSignature) ToBcs​

func (_self *ValidatorAggregatedSignature) ToBcs() ([]byte, error)

Convert this type to BCS encoded bytes.

func (*ValidatorAggregatedSignature) ToDisplayString​

func (_self *ValidatorAggregatedSignature) ToDisplayString() string

Render this type as human-readable text.

Some types also print this through the binding's native string conversion; this method is the spelling every object type has.

The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.

func (*ValidatorAggregatedSignature) ToJson​

func (_self *ValidatorAggregatedSignature) ToJson() (string, error)

Convert this type to a JSON encoded string.