Documentation ¶
Index ¶
- Variables
- type PrivateKey
- func (*PrivateKey) Descriptor() ([]byte, []int)
- func (m *PrivateKey) GetEd25519() []byte
- func (m *PrivateKey) GetSecp256K1() []byte
- func (m *PrivateKey) GetSum() isPrivateKey_Sum
- func (m *PrivateKey) Marshal() (dAtA []byte, err error)
- func (m *PrivateKey) MarshalTo(dAtA []byte) (int, error)
- func (m *PrivateKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PrivateKey) ProtoMessage()
- func (m *PrivateKey) Reset()
- func (m *PrivateKey) Size() (n int)
- func (m *PrivateKey) String() string
- func (m *PrivateKey) Unmarshal(dAtA []byte) error
- func (m *PrivateKey) XXX_DiscardUnknown()
- func (m *PrivateKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PrivateKey) XXX_Merge(src proto.Message)
- func (*PrivateKey) XXX_OneofWrappers() []interface{}
- func (m *PrivateKey) XXX_Size() int
- func (m *PrivateKey) XXX_Unmarshal(b []byte) error
- type PrivateKey_Ed25519
- type PrivateKey_Secp256K1
- type PublicKey
- func (this *PublicKey) Compare(that interface{}) int
- func (*PublicKey) Descriptor() ([]byte, []int)
- func (this *PublicKey) Equal(that interface{}) bool
- func (m *PublicKey) GetEd25519() []byte
- func (m *PublicKey) GetSecp256K1() []byte
- func (m *PublicKey) GetSum() isPublicKey_Sum
- func (m *PublicKey) Marshal() (dAtA []byte, err error)
- func (m *PublicKey) MarshalTo(dAtA []byte) (int, error)
- func (m *PublicKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PublicKey) ProtoMessage()
- func (m *PublicKey) Reset()
- func (m *PublicKey) Size() (n int)
- func (m *PublicKey) String() string
- func (m *PublicKey) Unmarshal(dAtA []byte) error
- func (m *PublicKey) XXX_DiscardUnknown()
- func (m *PublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PublicKey) XXX_Merge(src proto.Message)
- func (*PublicKey) XXX_OneofWrappers() []interface{}
- func (m *PublicKey) XXX_Size() int
- func (m *PublicKey) XXX_Unmarshal(b []byte) error
- type PublicKey_Ed25519
- func (this *PublicKey_Ed25519) Compare(that interface{}) int
- func (this *PublicKey_Ed25519) Equal(that interface{}) bool
- func (m *PublicKey_Ed25519) MarshalTo(dAtA []byte) (int, error)
- func (m *PublicKey_Ed25519) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *PublicKey_Ed25519) Size() (n int)
- type PublicKey_Secp256K1
- func (this *PublicKey_Secp256K1) Compare(that interface{}) int
- func (this *PublicKey_Secp256K1) Equal(that interface{}) bool
- func (m *PublicKey_Secp256K1) MarshalTo(dAtA []byte) (int, error)
- func (m *PublicKey_Secp256K1) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *PublicKey_Secp256K1) Size() (n int)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type PrivateKey ¶
type PrivateKey struct { // Types that are valid to be assigned to Sum: // *PrivateKey_Ed25519 // *PrivateKey_Secp256K1 Sum isPrivateKey_Sum `protobuf_oneof:"sum"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
PrivateKey defines the keys available for use with Tendermint Validators WARNING PrivateKey is used for internal purposes only
func (*PrivateKey) Descriptor ¶
func (*PrivateKey) Descriptor() ([]byte, []int)
func (*PrivateKey) GetEd25519 ¶
func (m *PrivateKey) GetEd25519() []byte
func (*PrivateKey) GetSecp256K1 ¶ added in v1.6.4
func (m *PrivateKey) GetSecp256K1() []byte
func (*PrivateKey) GetSum ¶
func (m *PrivateKey) GetSum() isPrivateKey_Sum
func (*PrivateKey) Marshal ¶ added in v1.3.0
func (m *PrivateKey) Marshal() (dAtA []byte, err error)
func (*PrivateKey) MarshalTo ¶ added in v1.3.0
func (m *PrivateKey) MarshalTo(dAtA []byte) (int, error)
func (*PrivateKey) MarshalToSizedBuffer ¶ added in v1.3.0
func (m *PrivateKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PrivateKey) ProtoMessage ¶
func (*PrivateKey) ProtoMessage()
func (*PrivateKey) Reset ¶
func (m *PrivateKey) Reset()
func (*PrivateKey) Size ¶ added in v1.3.0
func (m *PrivateKey) Size() (n int)
func (*PrivateKey) String ¶
func (m *PrivateKey) String() string
func (*PrivateKey) Unmarshal ¶ added in v1.3.0
func (m *PrivateKey) Unmarshal(dAtA []byte) error
func (*PrivateKey) XXX_DiscardUnknown ¶
func (m *PrivateKey) XXX_DiscardUnknown()
func (*PrivateKey) XXX_Marshal ¶
func (m *PrivateKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PrivateKey) XXX_Merge ¶
func (m *PrivateKey) XXX_Merge(src proto.Message)
func (*PrivateKey) XXX_OneofWrappers ¶
func (*PrivateKey) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*PrivateKey) XXX_Size ¶
func (m *PrivateKey) XXX_Size() int
func (*PrivateKey) XXX_Unmarshal ¶
func (m *PrivateKey) XXX_Unmarshal(b []byte) error
type PrivateKey_Ed25519 ¶
type PrivateKey_Ed25519 struct {
Ed25519 []byte `protobuf:"bytes,1,opt,name=ed25519,proto3,oneof" json:"ed25519,omitempty"`
}
func (*PrivateKey_Ed25519) MarshalTo ¶ added in v1.3.0
func (m *PrivateKey_Ed25519) MarshalTo(dAtA []byte) (int, error)
func (*PrivateKey_Ed25519) MarshalToSizedBuffer ¶ added in v1.3.0
func (m *PrivateKey_Ed25519) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PrivateKey_Ed25519) Size ¶ added in v1.3.0
func (m *PrivateKey_Ed25519) Size() (n int)
type PrivateKey_Secp256K1 ¶ added in v1.6.4
type PrivateKey_Secp256K1 struct {
Secp256K1 []byte `protobuf:"bytes,2,opt,name=secp256K1,proto3,oneof" json:"secp256K1,omitempty"`
}
func (*PrivateKey_Secp256K1) MarshalTo ¶ added in v1.6.4
func (m *PrivateKey_Secp256K1) MarshalTo(dAtA []byte) (int, error)
func (*PrivateKey_Secp256K1) MarshalToSizedBuffer ¶ added in v1.6.4
func (m *PrivateKey_Secp256K1) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PrivateKey_Secp256K1) Size ¶ added in v1.6.4
func (m *PrivateKey_Secp256K1) Size() (n int)
type PublicKey ¶
type PublicKey struct { // Types that are valid to be assigned to Sum: // *PublicKey_Ed25519 // *PublicKey_Secp256K1 Sum isPublicKey_Sum `protobuf_oneof:"sum"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
PublicKey defines the keys available for use with Tendermint Validators
func (*PublicKey) Descriptor ¶
func (*PublicKey) GetEd25519 ¶
func (*PublicKey) GetSecp256K1 ¶ added in v1.6.4
func (*PublicKey) MarshalToSizedBuffer ¶ added in v1.3.0
func (*PublicKey) ProtoMessage ¶
func (*PublicKey) ProtoMessage()
func (*PublicKey) XXX_DiscardUnknown ¶
func (m *PublicKey) XXX_DiscardUnknown()
func (*PublicKey) XXX_Marshal ¶
func (*PublicKey) XXX_OneofWrappers ¶
func (*PublicKey) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*PublicKey) XXX_Unmarshal ¶
type PublicKey_Ed25519 ¶
type PublicKey_Ed25519 struct {
Ed25519 []byte `protobuf:"bytes,1,opt,name=ed25519,proto3,oneof" json:"ed25519,omitempty"`
}
func (*PublicKey_Ed25519) Compare ¶
func (this *PublicKey_Ed25519) Compare(that interface{}) int
func (*PublicKey_Ed25519) Equal ¶
func (this *PublicKey_Ed25519) Equal(that interface{}) bool
func (*PublicKey_Ed25519) MarshalTo ¶ added in v1.3.0
func (m *PublicKey_Ed25519) MarshalTo(dAtA []byte) (int, error)
func (*PublicKey_Ed25519) MarshalToSizedBuffer ¶ added in v1.3.0
func (m *PublicKey_Ed25519) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PublicKey_Ed25519) Size ¶ added in v1.3.0
func (m *PublicKey_Ed25519) Size() (n int)
type PublicKey_Secp256K1 ¶ added in v1.6.4
type PublicKey_Secp256K1 struct {
Secp256K1 []byte `protobuf:"bytes,2,opt,name=secp256K1,proto3,oneof" json:"secp256K1,omitempty"`
}
func (*PublicKey_Secp256K1) Compare ¶ added in v1.6.4
func (this *PublicKey_Secp256K1) Compare(that interface{}) int
func (*PublicKey_Secp256K1) Equal ¶ added in v1.6.4
func (this *PublicKey_Secp256K1) Equal(that interface{}) bool
func (*PublicKey_Secp256K1) MarshalTo ¶ added in v1.6.4
func (m *PublicKey_Secp256K1) MarshalTo(dAtA []byte) (int, error)
func (*PublicKey_Secp256K1) MarshalToSizedBuffer ¶ added in v1.6.4
func (m *PublicKey_Secp256K1) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PublicKey_Secp256K1) Size ¶ added in v1.6.4
func (m *PublicKey_Secp256K1) Size() (n int)
Click to show internal directories.
Click to hide internal directories.