header_pb

package
v0.20.0-mocha Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthExtendedHeader        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowExtendedHeader          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupExtendedHeader = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type ExtendedHeader

type ExtendedHeader struct {
	Header       *types.Header              `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Commit       *types.Commit              `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"`
	ValidatorSet *types.ValidatorSet        `protobuf:"bytes,3,opt,name=validator_set,json=validatorSet,proto3" json:"validator_set,omitempty"`
	Dah          *da.DataAvailabilityHeader `protobuf:"bytes,4,opt,name=dah,proto3" json:"dah,omitempty"`
}

func (*ExtendedHeader) Descriptor

func (*ExtendedHeader) Descriptor() ([]byte, []int)

func (*ExtendedHeader) GetCommit

func (m *ExtendedHeader) GetCommit() *types.Commit

func (*ExtendedHeader) GetDah

func (*ExtendedHeader) GetHeader

func (m *ExtendedHeader) GetHeader() *types.Header

func (*ExtendedHeader) GetValidatorSet

func (m *ExtendedHeader) GetValidatorSet() *types.ValidatorSet

func (*ExtendedHeader) Marshal

func (m *ExtendedHeader) Marshal() (dAtA []byte, err error)

func (*ExtendedHeader) MarshalTo

func (m *ExtendedHeader) MarshalTo(dAtA []byte) (int, error)

func (*ExtendedHeader) MarshalToSizedBuffer

func (m *ExtendedHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExtendedHeader) ProtoMessage

func (*ExtendedHeader) ProtoMessage()

func (*ExtendedHeader) Reset

func (m *ExtendedHeader) Reset()

func (*ExtendedHeader) Size

func (m *ExtendedHeader) Size() (n int)

func (*ExtendedHeader) String

func (m *ExtendedHeader) String() string

func (*ExtendedHeader) Unmarshal

func (m *ExtendedHeader) Unmarshal(dAtA []byte) error

func (*ExtendedHeader) XXX_DiscardUnknown

func (m *ExtendedHeader) XXX_DiscardUnknown()

func (*ExtendedHeader) XXX_Marshal

func (m *ExtendedHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExtendedHeader) XXX_Merge

func (m *ExtendedHeader) XXX_Merge(src proto.Message)

func (*ExtendedHeader) XXX_Size

func (m *ExtendedHeader) XXX_Size() int

func (*ExtendedHeader) XXX_Unmarshal

func (m *ExtendedHeader) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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