Documentation ¶
Index ¶
- func AddNewValidator(db *database.Database, grpcCnn *grpc.ClientConn, valAddr string) error
- func DoesConsAddrExistInDB(db *database.Database, consAddr string) (bool, error)
- func DoesOperAddrExistInDB(db *database.Database, operAddr string) (bool, error)
- func GetConsAddressFromConsPubKey(inKey []byte) string
- func QueryValidatorsList(grpcCnn *grpc.ClientConn) ([]string, error)
- func RemoveNonLetterChars(in string) (string, error)
- type ValidatorRecord
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddNewValidator ¶
func DoesConsAddrExistInDB ¶
func DoesOperAddrExistInDB ¶
func GetConsAddressFromConsPubKey ¶
This function retrieves the consensus address from the consensus public key
func QueryValidatorsList ¶
func QueryValidatorsList(grpcCnn *grpc.ClientConn) ([]string, error)
func RemoveNonLetterChars ¶
TODO: Potentially this function should go to the tools package
Types ¶
Click to show internal directories.
Click to hide internal directories.