evidence

package
v0.35.0-dev Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type Info

type Info struct {
	Evidence         types.Evidence     `protobuf:"bytes,1,opt,name=evidence,proto3" json:"evidence"`
	Time             time.Time          `protobuf:"bytes,2,opt,name=time,proto3,stdtime" json:"time"`
	Validators       []*types.Validator `protobuf:"bytes,3,rep,name=validators,proto3" json:"validators,omitempty"`
	TotalVotingPower int64              `protobuf:"varint,4,opt,name=total_voting_power,json=totalVotingPower,proto3" json:"total_voting_power,omitempty"`
}

func (*Info) Descriptor

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

func (*Info) GetEvidence

func (m *Info) GetEvidence() types.Evidence

func (*Info) GetTime

func (m *Info) GetTime() time.Time

func (*Info) GetTotalVotingPower

func (m *Info) GetTotalVotingPower() int64

func (*Info) GetValidators

func (m *Info) GetValidators() []*types.Validator

func (*Info) Marshal

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

func (*Info) MarshalTo

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

func (*Info) MarshalToSizedBuffer

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

func (*Info) ProtoMessage

func (*Info) ProtoMessage()

func (*Info) Reset

func (m *Info) Reset()

func (*Info) Size

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

func (*Info) String

func (m *Info) String() string

func (*Info) Unmarshal

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

func (*Info) XXX_DiscardUnknown

func (m *Info) XXX_DiscardUnknown()

func (*Info) XXX_Marshal

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

func (*Info) XXX_Merge

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

func (*Info) XXX_Size

func (m *Info) XXX_Size() int

func (*Info) XXX_Unmarshal

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

type List

type List struct {
	Evidence []*types.Evidence `protobuf:"bytes,1,rep,name=evidence,proto3" json:"evidence,omitempty"`
}

func (*List) Descriptor

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

func (*List) GetEvidence

func (m *List) GetEvidence() []*types.Evidence

func (*List) Marshal

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

func (*List) MarshalTo

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

func (*List) MarshalToSizedBuffer

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

func (*List) ProtoMessage

func (*List) ProtoMessage()

func (*List) Reset

func (m *List) Reset()

func (*List) Size

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

func (*List) String

func (m *List) String() string

func (*List) Unmarshal

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

func (*List) XXX_DiscardUnknown

func (m *List) XXX_DiscardUnknown()

func (*List) XXX_Marshal

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

func (*List) XXX_Merge

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

func (*List) XXX_Size

func (m *List) XXX_Size() int

func (*List) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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