Documentation
¶
Index ¶
- Variables
- 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 PublicKey ¶
type PublicKey struct { // Types that are valid to be assigned to Sum: // // *PublicKey_Ed25519 // *PublicKey_Secp256K1 Sum isPublicKey_Sum `protobuf_oneof:"sum"` }
PublicKey defines the keys available for use with Validators
func (*PublicKey) Descriptor ¶
func (*PublicKey) GetEd25519 ¶
func (*PublicKey) GetSecp256K1 ¶ added in v0.34.6
func (*PublicKey) MarshalToSizedBuffer ¶ added in v0.34.6
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 v0.34.6
func (m *PublicKey_Ed25519) MarshalTo(dAtA []byte) (int, error)
func (*PublicKey_Ed25519) MarshalToSizedBuffer ¶ added in v0.34.6
func (m *PublicKey_Ed25519) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PublicKey_Ed25519) Size ¶ added in v0.34.6
func (m *PublicKey_Ed25519) Size() (n int)
type PublicKey_Secp256K1 ¶ added in v0.34.6
type PublicKey_Secp256K1 struct {
Secp256K1 []byte `protobuf:"bytes,2,opt,name=secp256k1,proto3,oneof" json:"secp256k1,omitempty"`
}
func (*PublicKey_Secp256K1) Compare ¶ added in v0.34.6
func (this *PublicKey_Secp256K1) Compare(that interface{}) int
func (*PublicKey_Secp256K1) Equal ¶ added in v0.34.6
func (this *PublicKey_Secp256K1) Equal(that interface{}) bool
func (*PublicKey_Secp256K1) MarshalTo ¶ added in v0.34.6
func (m *PublicKey_Secp256K1) MarshalTo(dAtA []byte) (int, error)
func (*PublicKey_Secp256K1) MarshalToSizedBuffer ¶ added in v0.34.6
func (m *PublicKey_Secp256K1) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PublicKey_Secp256K1) Size ¶ added in v0.34.6
func (m *PublicKey_Secp256K1) Size() (n int)
Click to show internal directories.
Click to hide internal directories.