Versions in this module Expand all Collapse all v1 v1.1.66 Jun 17, 2021 v1.1.65 Jun 17, 2021 Changes in this version + const HashLength + var ErrAccNotFound = errors.New("account was not found") + var ErrBech32ConvertError = errors.New("can't convert bech32 string") + var ErrEmptyAddress = errors.New("empty Address") + var ErrInsufficientFunds = errors.New("insufficient funds") + var ErrIntOverflowPeerAccountData = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowUserAccountData = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowValidatorInfo = fmt.Errorf("proto: integer overflow") + var ErrInvalidAddressLength = errors.New("invalid address length") + var ErrInvalidErdAddress = errors.New("invalid ERD address") + var ErrInvalidLengthPeerAccountData = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthUserAccountData = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthValidatorInfo = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidMaxHardCapForMissingNodes = errors.New("invalid max hardcap for missing nodes") + var ErrInvalidPubkeyConverterType = errors.New("invalid pubkey converter type") + var ErrInvalidRootHash = errors.New("invalid root hash") + var ErrNegativeValue = errors.New("negative values are not permited") + var ErrNilAccountFactory = errors.New("account factory is nil") + var ErrNilAccountHandler = errors.New("account wrapper is nil") + var ErrNilAccountsAdapter = errors.New("nil AccountsAdapter") + var ErrNilAddress = errors.New("nil address") + var ErrNilBLSPublicKey = errors.New("bls public key is nil") + var ErrNilCacher = errors.New("nil cacher") + var ErrNilHasher = errors.New("nil hasher") + var ErrNilMapOfHashes = errors.New("nil map of hashes") + var ErrNilMarshalizer = errors.New("nil marshalizer") + var ErrNilOrEmptyDataTrieUpdates = errors.New("no data trie updates") + var ErrNilRequestHandler = errors.New("nil request handler") + var ErrNilShardCoordinator = errors.New("shard coordinator is nil") + var ErrNilStorageManager = errors.New("nil storage manager") + var ErrNilTrackableDataTrie = errors.New("nil trackable data trie") + var ErrNilTrie = errors.New("trie is nil") + var ErrNilUpdater = errors.New("updater is nil") + var ErrOperationNotPermitted = errors.New("operation in account not permitted") + var ErrSnapshotValueOutOfBounds = errors.New("snapshot value out of bounds") + var ErrUnexpectedEndOfGroupPeerAccountData = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupUserAccountData = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupValidatorInfo = fmt.Errorf("proto: unexpected end of group") + var ErrUnknownShardId = errors.New("shard id is not valid") + var ErrWrongSize = errors.New("wrong size") + var ErrWrongTypeAssertion = errors.New("wrong type assertion") + func NewDataTriesHolder() *dataTriesHolder + func NewEmptyPeerAccount() *peerAccount + func NewEmptyUserAccount() *userAccount + func NewJournalEntryAccount(account AccountHandler) (*journalEntryAccount, error) + func NewJournalEntryAccountCreation(address []byte, updater Updater) (*journalEntryAccountCreation, error) + func NewJournalEntryCode(oldCodeEntry *CodeEntry, oldCodeHash []byte, newCodeHash []byte, trie Updater, ...) (*journalEntryCode, error) + func NewJournalEntryDataTrieRemove(rootHash []byte, obsoleteDataTrieHashes map[string][][]byte) (*journalEntryDataTrieRemove, error) + func NewJournalEntryDataTrieUpdates(trieUpdates map[string][]byte, account baseAccountHandler) (*journalEntryDataTrieUpdates, error) + func NewPeerAccount(address []byte) (*peerAccount, error) + func NewUserAccount(address []byte) (*userAccount, error) + type AccountFactory interface + CreateAccount func(address []byte) (AccountHandler, error) + IsInterfaceNil func() bool + type AccountHandler interface + AddressBytes func() []byte + GetNonce func() uint64 + IncreaseNonce func(nonce uint64) + IsInterfaceNil func() bool + type AccountsAdapter interface + CancelPrune func(rootHash []byte, identifier data.TriePruningIdentifier) + Commit func() ([]byte, error) + GetAllLeaves func(rootHash []byte, ctx context.Context) (chan core.KeyValueHolder, error) + GetCode func(codeHash []byte) []byte + GetExistingAccount func(address []byte) (AccountHandler, error) + GetNumCheckpoints func() uint32 + IsInterfaceNil func() bool + IsPruningEnabled func() bool + JournalLen func() int + LoadAccount func(address []byte) (AccountHandler, error) + PruneTrie func(rootHash []byte, identifier data.TriePruningIdentifier) + RecreateAllTries func(rootHash []byte, ctx context.Context) (map[string]data.Trie, error) + RecreateTrie func(rootHash []byte) error + RemoveAccount func(address []byte) error + RevertToSnapshot func(snapshot int) error + RootHash func() ([]byte, error) + SaveAccount func(account AccountHandler) error + SetStateCheckpoint func(rootHash []byte, ctx context.Context) + SnapshotState func(rootHash []byte, ctx context.Context) + type AccountsDB struct + func NewAccountsDB(trie data.Trie, hasher hashing.Hasher, marshalizer marshal.Marshalizer, ...) (*AccountsDB, error) + func (adb *AccountsDB) CancelPrune(rootHash []byte, identifier data.TriePruningIdentifier) + func (adb *AccountsDB) Commit() ([]byte, error) + func (adb *AccountsDB) GetAllLeaves(rootHash []byte, ctx context.Context) (chan core.KeyValueHolder, error) + func (adb *AccountsDB) GetCode(codeHash []byte) []byte + func (adb *AccountsDB) GetExistingAccount(address []byte) (AccountHandler, error) + func (adb *AccountsDB) GetNumCheckpoints() uint32 + func (adb *AccountsDB) ImportAccount(account AccountHandler) error + func (adb *AccountsDB) IsInterfaceNil() bool + func (adb *AccountsDB) IsPruningEnabled() bool + func (adb *AccountsDB) JournalLen() int + func (adb *AccountsDB) LoadAccount(address []byte) (AccountHandler, error) + func (adb *AccountsDB) PruneTrie(rootHash []byte, identifier data.TriePruningIdentifier) + func (adb *AccountsDB) RecreateAllTries(rootHash []byte, ctx context.Context) (map[string]data.Trie, error) + func (adb *AccountsDB) RecreateTrie(rootHash []byte) error + func (adb *AccountsDB) RemoveAccount(address []byte) error + func (adb *AccountsDB) RevertToSnapshot(snapshot int) error + func (adb *AccountsDB) RootHash() ([]byte, error) + func (adb *AccountsDB) SaveAccount(account AccountHandler) error + func (adb *AccountsDB) SetStateCheckpoint(rootHash []byte, ctx context.Context) + func (adb *AccountsDB) SnapshotState(rootHash []byte, ctx context.Context) + type AccountsDBImporter interface + Commit func() ([]byte, error) + ImportAccount func(account AccountHandler) error + IsInterfaceNil func() bool + type AccountsDbIdentifier byte + const PeerAccountsState + const UserAccountsState + type CodeEntry struct + Code []byte + NumReferences uint32 + func (*CodeEntry) Descriptor() ([]byte, []int) + func (*CodeEntry) ProtoMessage() + func (m *CodeEntry) GetCode() []byte + func (m *CodeEntry) GetNumReferences() uint32 + func (m *CodeEntry) Marshal() (dAtA []byte, err error) + func (m *CodeEntry) MarshalTo(dAtA []byte) (int, error) + func (m *CodeEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CodeEntry) Reset() + func (m *CodeEntry) Size() (n int) + func (m *CodeEntry) Unmarshal(dAtA []byte) error + func (m *CodeEntry) XXX_DiscardUnknown() + func (m *CodeEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CodeEntry) XXX_Merge(src proto.Message) + func (m *CodeEntry) XXX_Size() int + func (m *CodeEntry) XXX_Unmarshal(b []byte) error + func (this *CodeEntry) Equal(that interface{}) bool + func (this *CodeEntry) GoString() string + func (this *CodeEntry) String() string + type DataTrieTracker interface + ClearDataCaches func() + DataTrie func() data.Trie + DirtyData func() map[string][]byte + IsInterfaceNil func() bool + RetrieveValue func(key []byte) ([]byte, error) + SaveKeyValue func(key []byte, value []byte) error + SetDataTrie func(tr data.Trie) + type ErrMissingTrie struct + func NewErrMissingTrie(rootHash []byte) *ErrMissingTrie + func (e *ErrMissingTrie) Error() string + type JournalEntry interface + IsInterfaceNil func() bool + Revert func() (AccountHandler, error) + type PeerAccountData struct + AccumulatedFees *math_big.Int + BLSPublicKey []byte + ConsecutiveProposerMisses uint32 + IndexInList uint32 + LeaderSuccessRate SignRate + List string + Nonce uint64 + NumSelectedInSuccessBlocks uint32 + Rating uint32 + RewardAddress []byte + ShardId uint32 + TempRating uint32 + TotalLeaderSuccessRate SignRate + TotalValidatorIgnoredSignaturesRate uint32 + TotalValidatorSuccessRate SignRate + UnStakedEpoch uint32 + ValidatorIgnoredSignaturesRate uint32 + ValidatorSuccessRate SignRate + func (*PeerAccountData) Descriptor() ([]byte, []int) + func (*PeerAccountData) ProtoMessage() + func (m *PeerAccountData) GetAccumulatedFees() *math_big.Int + func (m *PeerAccountData) GetBLSPublicKey() []byte + func (m *PeerAccountData) GetConsecutiveProposerMisses() uint32 + func (m *PeerAccountData) GetIndexInList() uint32 + func (m *PeerAccountData) GetLeaderSuccessRate() SignRate + func (m *PeerAccountData) GetList() string + func (m *PeerAccountData) GetNonce() uint64 + func (m *PeerAccountData) GetNumSelectedInSuccessBlocks() uint32 + func (m *PeerAccountData) GetRating() uint32 + func (m *PeerAccountData) GetRewardAddress() []byte + func (m *PeerAccountData) GetShardId() uint32 + func (m *PeerAccountData) GetTempRating() uint32 + func (m *PeerAccountData) GetTotalLeaderSuccessRate() SignRate + func (m *PeerAccountData) GetTotalValidatorIgnoredSignaturesRate() uint32 + func (m *PeerAccountData) GetTotalValidatorSuccessRate() SignRate + func (m *PeerAccountData) GetUnStakedEpoch() uint32 + func (m *PeerAccountData) GetValidatorIgnoredSignaturesRate() uint32 + func (m *PeerAccountData) GetValidatorSuccessRate() SignRate + func (m *PeerAccountData) Marshal() (dAtA []byte, err error) + func (m *PeerAccountData) MarshalTo(dAtA []byte) (int, error) + func (m *PeerAccountData) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PeerAccountData) Reset() + func (m *PeerAccountData) Size() (n int) + func (m *PeerAccountData) Unmarshal(dAtA []byte) error + func (m *PeerAccountData) XXX_DiscardUnknown() + func (m *PeerAccountData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PeerAccountData) XXX_Merge(src proto.Message) + func (m *PeerAccountData) XXX_Size() int + func (m *PeerAccountData) XXX_Unmarshal(b []byte) error + func (this *PeerAccountData) Equal(that interface{}) bool + func (this *PeerAccountData) GoString() string + func (this *PeerAccountData) String() string + type PeerAccountHandler interface + AddToAccumulatedFees func(*big.Int) + DecreaseLeaderSuccessRate func(uint32) + DecreaseValidatorSuccessRate func(uint32) + GetAccumulatedFees func() *big.Int + GetBLSPublicKey func() []byte + GetConsecutiveProposerMisses func() uint32 + GetIndexInList func() uint32 + GetLeaderSuccessRate func() SignRate + GetList func() string + GetNumSelectedInSuccessBlocks func() uint32 + GetRating func() uint32 + GetRewardAddress func() []byte + GetShardId func() uint32 + GetTempRating func() uint32 + GetTotalLeaderSuccessRate func() SignRate + GetTotalValidatorIgnoredSignaturesRate func() uint32 + GetTotalValidatorSuccessRate func() SignRate + GetUnStakedEpoch func() uint32 + GetValidatorIgnoredSignaturesRate func() uint32 + GetValidatorSuccessRate func() SignRate + IncreaseLeaderSuccessRate func(uint32) + IncreaseNumSelectedInSuccessBlocks func() + IncreaseValidatorIgnoredSignaturesRate func(uint32) + IncreaseValidatorSuccessRate func(uint32) + ResetAtNewEpoch func() + SetBLSPublicKey func([]byte) error + SetConsecutiveProposerMisses func(uint322 uint32) + SetListAndIndex func(shardID uint32, list string, index uint32) + SetRating func(uint32) + SetRewardAddress func([]byte) error + SetTempRating func(uint32) + SetUnStakedEpoch func(epoch uint32) + type PeerAccountsDB struct + func NewPeerAccountsDB(trie data.Trie, hasher hashing.Hasher, marshalizer marshal.Marshalizer, ...) (*PeerAccountsDB, error) + func (adb *PeerAccountsDB) IsInterfaceNil() bool + func (adb *PeerAccountsDB) RecreateAllTries(rootHash []byte, _ context.Context) (map[string]data.Trie, error) + func (adb *PeerAccountsDB) SetStateCheckpoint(rootHash []byte, _ context.Context) + func (adb *PeerAccountsDB) SnapshotState(rootHash []byte, _ context.Context) + type PeerTypeInfo struct + PeerType string + PublicKey string + ShardId uint32 + type ShardValidatorInfo struct + Index uint32 + List string + PublicKey []byte + ShardId uint32 + TempRating uint32 + func (*ShardValidatorInfo) Descriptor() ([]byte, []int) + func (*ShardValidatorInfo) ProtoMessage() + func (m *ShardValidatorInfo) GetIndex() uint32 + func (m *ShardValidatorInfo) GetList() string + func (m *ShardValidatorInfo) GetPublicKey() []byte + func (m *ShardValidatorInfo) GetShardId() uint32 + func (m *ShardValidatorInfo) GetTempRating() uint32 + func (m *ShardValidatorInfo) Marshal() (dAtA []byte, err error) + func (m *ShardValidatorInfo) MarshalTo(dAtA []byte) (int, error) + func (m *ShardValidatorInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ShardValidatorInfo) Reset() + func (m *ShardValidatorInfo) Size() (n int) + func (m *ShardValidatorInfo) Unmarshal(dAtA []byte) error + func (m *ShardValidatorInfo) XXX_DiscardUnknown() + func (m *ShardValidatorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ShardValidatorInfo) XXX_Merge(src proto.Message) + func (m *ShardValidatorInfo) XXX_Size() int + func (m *ShardValidatorInfo) XXX_Unmarshal(b []byte) error + func (svi *ShardValidatorInfo) IsInterfaceNil() bool + func (this *ShardValidatorInfo) Equal(that interface{}) bool + func (this *ShardValidatorInfo) GoString() string + func (this *ShardValidatorInfo) String() string + type SignRate struct + NumFailure uint32 + NumSuccess uint32 + func (*SignRate) Descriptor() ([]byte, []int) + func (*SignRate) ProtoMessage() + func (m *SignRate) GetNumFailure() uint32 + func (m *SignRate) GetNumSuccess() uint32 + func (m *SignRate) Marshal() (dAtA []byte, err error) + func (m *SignRate) MarshalTo(dAtA []byte) (int, error) + func (m *SignRate) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *SignRate) Reset() + func (m *SignRate) Size() (n int) + func (m *SignRate) Unmarshal(dAtA []byte) error + func (m *SignRate) XXX_DiscardUnknown() + func (m *SignRate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SignRate) XXX_Merge(src proto.Message) + func (m *SignRate) XXX_Size() int + func (m *SignRate) XXX_Unmarshal(b []byte) error + func (this *SignRate) Equal(that interface{}) bool + func (this *SignRate) GoString() string + func (this *SignRate) String() string + type TrackableDataTrie struct + func NewTrackableDataTrie(identifier []byte, tr data.Trie) *TrackableDataTrie + func (tdaw *TrackableDataTrie) ClearDataCaches() + func (tdaw *TrackableDataTrie) DataTrie() data.Trie + func (tdaw *TrackableDataTrie) DirtyData() map[string][]byte + func (tdaw *TrackableDataTrie) IsInterfaceNil() bool + func (tdaw *TrackableDataTrie) RetrieveValue(key []byte) ([]byte, error) + func (tdaw *TrackableDataTrie) SaveKeyValue(key []byte, value []byte) error + func (tdaw *TrackableDataTrie) SetDataTrie(tr data.Trie) + type TriesHolder interface + Get func([]byte) data.Trie + GetAll func() []data.Trie + IsInterfaceNil func() bool + Put func([]byte, data.Trie) + Replace func(key []byte, tr data.Trie) + Reset func() + type Updater interface + Get func(key []byte) ([]byte, error) + IsInterfaceNil func() bool + Update func(key, value []byte) error + type UserAccountData struct + Address []byte + Balance *math_big.Int + CodeHash []byte + CodeMetadata []byte + DeveloperReward *math_big.Int + Nonce uint64 + OwnerAddress []byte + RootHash []byte + UserName []byte + func (*UserAccountData) Descriptor() ([]byte, []int) + func (*UserAccountData) ProtoMessage() + func (m *UserAccountData) GetAddress() []byte + func (m *UserAccountData) GetBalance() *math_big.Int + func (m *UserAccountData) GetCodeHash() []byte + func (m *UserAccountData) GetCodeMetadata() []byte + func (m *UserAccountData) GetDeveloperReward() *math_big.Int + func (m *UserAccountData) GetNonce() uint64 + func (m *UserAccountData) GetOwnerAddress() []byte + func (m *UserAccountData) GetRootHash() []byte + func (m *UserAccountData) GetUserName() []byte + func (m *UserAccountData) Marshal() (dAtA []byte, err error) + func (m *UserAccountData) MarshalTo(dAtA []byte) (int, error) + func (m *UserAccountData) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *UserAccountData) Reset() + func (m *UserAccountData) Size() (n int) + func (m *UserAccountData) Unmarshal(dAtA []byte) error + func (m *UserAccountData) XXX_DiscardUnknown() + func (m *UserAccountData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *UserAccountData) XXX_Merge(src proto.Message) + func (m *UserAccountData) XXX_Size() int + func (m *UserAccountData) XXX_Unmarshal(b []byte) error + func (this *UserAccountData) Equal(that interface{}) bool + func (this *UserAccountData) GoString() string + func (this *UserAccountData) String() string + type UserAccountHandler interface + AddToBalance func(value *big.Int) error + AddToDeveloperReward func(*big.Int) + ChangeOwnerAddress func([]byte, []byte) error + ClaimDeveloperRewards func([]byte) (*big.Int, error) + DataTrie func() data.Trie + DataTrieTracker func() DataTrieTracker + GetBalance func() *big.Int + GetCodeHash func() []byte + GetCodeMetadata func() []byte + GetDeveloperReward func() *big.Int + GetOwnerAddress func() []byte + GetRootHash func() []byte + GetUserName func() []byte + SetCode func(code []byte) + SetCodeHash func([]byte) + SetCodeMetadata func(codeMetadata []byte) + SetDataTrie func(trie data.Trie) + SetOwnerAddress func([]byte) + SetRootHash func([]byte) + SetUserName func(userName []byte) + SubFromBalance func(value *big.Int) error + type ValidatorApiResponse struct + NumLeaderFailure uint32 + NumLeaderSuccess uint32 + NumValidatorFailure uint32 + NumValidatorIgnoredSignatures uint32 + NumValidatorSuccess uint32 + Rating float32 + RatingModifier float32 + ShardId uint32 + TempRating float32 + TotalNumLeaderFailure uint32 + TotalNumLeaderSuccess uint32 + TotalNumValidatorFailure uint32 + TotalNumValidatorIgnoredSignatures uint32 + TotalNumValidatorSuccess uint32 + ValidatorStatus string + func (*ValidatorApiResponse) Descriptor() ([]byte, []int) + func (*ValidatorApiResponse) ProtoMessage() + func (m *ValidatorApiResponse) GetNumLeaderFailure() uint32 + func (m *ValidatorApiResponse) GetNumLeaderSuccess() uint32 + func (m *ValidatorApiResponse) GetNumValidatorFailure() uint32 + func (m *ValidatorApiResponse) GetNumValidatorIgnoredSignatures() uint32 + func (m *ValidatorApiResponse) GetNumValidatorSuccess() uint32 + func (m *ValidatorApiResponse) GetRating() float32 + func (m *ValidatorApiResponse) GetRatingModifier() float32 + func (m *ValidatorApiResponse) GetShardId() uint32 + func (m *ValidatorApiResponse) GetTempRating() float32 + func (m *ValidatorApiResponse) GetTotalNumLeaderFailure() uint32 + func (m *ValidatorApiResponse) GetTotalNumLeaderSuccess() uint32 + func (m *ValidatorApiResponse) GetTotalNumValidatorFailure() uint32 + func (m *ValidatorApiResponse) GetTotalNumValidatorIgnoredSignatures() uint32 + func (m *ValidatorApiResponse) GetTotalNumValidatorSuccess() uint32 + func (m *ValidatorApiResponse) GetValidatorStatus() string + func (m *ValidatorApiResponse) Marshal() (dAtA []byte, err error) + func (m *ValidatorApiResponse) MarshalTo(dAtA []byte) (int, error) + func (m *ValidatorApiResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ValidatorApiResponse) Reset() + func (m *ValidatorApiResponse) Size() (n int) + func (m *ValidatorApiResponse) Unmarshal(dAtA []byte) error + func (m *ValidatorApiResponse) XXX_DiscardUnknown() + func (m *ValidatorApiResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ValidatorApiResponse) XXX_Merge(src proto.Message) + func (m *ValidatorApiResponse) XXX_Size() int + func (m *ValidatorApiResponse) XXX_Unmarshal(b []byte) error + func (this *ValidatorApiResponse) Equal(that interface{}) bool + func (this *ValidatorApiResponse) GoString() string + func (this *ValidatorApiResponse) String() string + type ValidatorInfo struct + AccumulatedFees *math_big.Int + Index uint32 + LeaderFailure uint32 + LeaderSuccess uint32 + List string + NumSelectedInSuccessBlocks uint32 + PublicKey []byte + Rating uint32 + RatingModifier float32 + RewardAddress []byte + ShardId uint32 + TempRating uint32 + TotalLeaderFailure uint32 + TotalLeaderSuccess uint32 + TotalValidatorFailure uint32 + TotalValidatorIgnoredSignatures uint32 + TotalValidatorSuccess uint32 + ValidatorFailure uint32 + ValidatorIgnoredSignatures uint32 + ValidatorSuccess uint32 + func (*ValidatorInfo) Descriptor() ([]byte, []int) + func (*ValidatorInfo) ProtoMessage() + func (m *ValidatorInfo) GetAccumulatedFees() *math_big.Int + func (m *ValidatorInfo) GetIndex() uint32 + func (m *ValidatorInfo) GetLeaderFailure() uint32 + func (m *ValidatorInfo) GetLeaderSuccess() uint32 + func (m *ValidatorInfo) GetList() string + func (m *ValidatorInfo) GetNumSelectedInSuccessBlocks() uint32 + func (m *ValidatorInfo) GetPublicKey() []byte + func (m *ValidatorInfo) GetRating() uint32 + func (m *ValidatorInfo) GetRatingModifier() float32 + func (m *ValidatorInfo) GetRewardAddress() []byte + func (m *ValidatorInfo) GetShardId() uint32 + func (m *ValidatorInfo) GetTempRating() uint32 + func (m *ValidatorInfo) GetTotalLeaderFailure() uint32 + func (m *ValidatorInfo) GetTotalLeaderSuccess() uint32 + func (m *ValidatorInfo) GetTotalValidatorFailure() uint32 + func (m *ValidatorInfo) GetTotalValidatorIgnoredSignatures() uint32 + func (m *ValidatorInfo) GetTotalValidatorSuccess() uint32 + func (m *ValidatorInfo) GetValidatorFailure() uint32 + func (m *ValidatorInfo) GetValidatorIgnoredSignatures() uint32 + func (m *ValidatorInfo) GetValidatorSuccess() uint32 + func (m *ValidatorInfo) Marshal() (dAtA []byte, err error) + func (m *ValidatorInfo) MarshalTo(dAtA []byte) (int, error) + func (m *ValidatorInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ValidatorInfo) Reset() + func (m *ValidatorInfo) Size() (n int) + func (m *ValidatorInfo) Unmarshal(dAtA []byte) error + func (m *ValidatorInfo) XXX_DiscardUnknown() + func (m *ValidatorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ValidatorInfo) XXX_Merge(src proto.Message) + func (m *ValidatorInfo) XXX_Size() int + func (m *ValidatorInfo) XXX_Unmarshal(b []byte) error + func (this *ValidatorInfo) Equal(that interface{}) bool + func (this *ValidatorInfo) GoString() string + func (this *ValidatorInfo) String() string + func (vi *ValidatorInfo) IsInterfaceNil() bool