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