Versions in this module Expand all Collapse all v3 v3.0.1 Dec 25, 2023 v3.0.0 Dec 23, 2022 Changes in this version + var ErrIntOverflowDpos = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthDpos = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupDpos = fmt.Errorf("proto: unexpected end of group") + type CandidateInfo struct + PeerId string + Weight string + func (*CandidateInfo) Descriptor() ([]byte, []int) + func (*CandidateInfo) ProtoMessage() + func (m *CandidateInfo) GetPeerId() string + func (m *CandidateInfo) GetWeight() string + func (m *CandidateInfo) Marshal() (dAtA []byte, err error) + func (m *CandidateInfo) MarshalTo(dAtA []byte) (int, error) + func (m *CandidateInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CandidateInfo) Reset() + func (m *CandidateInfo) Size() (n int) + func (m *CandidateInfo) String() string + func (m *CandidateInfo) Unmarshal(dAtA []byte) error + func (m *CandidateInfo) XXX_DiscardUnknown() + func (m *CandidateInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CandidateInfo) XXX_Merge(src proto.Message) + func (m *CandidateInfo) XXX_Size() int + func (m *CandidateInfo) XXX_Unmarshal(b []byte) error + type DPoSConfig struct + DistributionGasExchangeRate uint32 + DistributionPerBlock uint32 + EpochBlockNumber uint32 + EpochValidatorNumber uint32 + FromSlashing string + MinSelfDelegation uint32 + Sequence uint32 + SlashingPerBlock uint32 + func (*DPoSConfig) Descriptor() ([]byte, []int) + func (*DPoSConfig) ProtoMessage() + func (m *DPoSConfig) GetDistributionGasExchangeRate() uint32 + func (m *DPoSConfig) GetDistributionPerBlock() uint32 + func (m *DPoSConfig) GetEpochBlockNumber() uint32 + func (m *DPoSConfig) GetEpochValidatorNumber() uint32 + func (m *DPoSConfig) GetFromSlashing() string + func (m *DPoSConfig) GetMinSelfDelegation() uint32 + func (m *DPoSConfig) GetSequence() uint32 + func (m *DPoSConfig) GetSlashingPerBlock() uint32 + func (m *DPoSConfig) Marshal() (dAtA []byte, err error) + func (m *DPoSConfig) MarshalTo(dAtA []byte) (int, error) + func (m *DPoSConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *DPoSConfig) Reset() + func (m *DPoSConfig) Size() (n int) + func (m *DPoSConfig) String() string + func (m *DPoSConfig) Unmarshal(dAtA []byte) error + func (m *DPoSConfig) XXX_DiscardUnknown() + func (m *DPoSConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DPoSConfig) XXX_Merge(src proto.Message) + func (m *DPoSConfig) XXX_Size() int + func (m *DPoSConfig) XXX_Unmarshal(b []byte) error Other modules containing this package chainmaker.org/chainmaker/pb-go/v2