Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_cosmos_crypto_ed25519_keys_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type PrivKey ¶
type PrivKey struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
PrivKey defines a ed25519 private key. NOTE: ed25519 keys must not be used in SDK apps except in a tendermint validator context.
func (*PrivKey) ProtoReflect ¶
func (x *PrivKey) ProtoReflect() protoreflect.Message
type PubKey ¶
type PubKey struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
PubKey is an ed25519 public key for handling Tendermint keys in SDK. It's needed for Any serialization and SDK compatibility. It must not be used in a non Tendermint key context because it doesn't implement ADR-28. Nevertheless, you will like to use ed25519 in app user level then you must create a new proto message and follow ADR-28 for Address construction.
func (*PubKey) ProtoReflect ¶
func (x *PubKey) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.