external

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bytes

type Bytes []byte

Bytes is a dynamic array of bytes

type DynamicBytes

type DynamicBytes []byte

DynamicBytes is a dynamic reference

func (*DynamicBytes) HashTreeRootWith

func (d *DynamicBytes) HashTreeRootWith(hh ssz.HashWalker) (err error)

HashTreeRootWith implements the fastssz HashRoot interface

func (*DynamicBytes) MarshalSSZTo

func (d *DynamicBytes) MarshalSSZTo(buf []byte) ([]byte, error)

MarshalSSZTo implements the fastssz Marshaler interface

func (*DynamicBytes) SizeSSZ

func (d *DynamicBytes) SizeSSZ() (size int)

SizeSSZ implements the fastssz Marshaler interface

func (*DynamicBytes) UnmarshalSSZ

func (d *DynamicBytes) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ implements the fastssz Unmarshaler interface

type FixedSignature

type FixedSignature [96]byte

FixedSignature is a signature of fixed size

type Signature

type Signature struct {
	Data [96]byte
}

Signature is a 96 bytes array external reference

func (*Signature) HashTreeRootWith

func (s *Signature) HashTreeRootWith(hh ssz.HashWalker) (err error)

HashTreeRootWith implements the fastssz HashRoot interface

func (*Signature) MarshalSSZTo

func (s *Signature) MarshalSSZTo(buf []byte) ([]byte, error)

MarshalSSZTo implements the fastssz Marshaler interface

func (*Signature) SizeSSZ

func (s *Signature) SizeSSZ() (size int)

SizeSSZ implements the fastssz Marshaler interface

func (*Signature) UnmarshalSSZ

func (s *Signature) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ implements the fastssz Unmarshaler interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL