types

package
v0.8.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthSharedTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSharedTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSharedTypes = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type ActivePublicKey added in v0.6.0

type ActivePublicKey struct {
	PublicKey string `protobuf:"bytes,1,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	Creator   string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	Expiry    uint64 `protobuf:"varint,3,opt,name=expiry,proto3" json:"expiry,omitempty"`
}

func (*ActivePublicKey) Descriptor added in v0.6.0

func (*ActivePublicKey) Descriptor() ([]byte, []int)

func (*ActivePublicKey) GetCreator added in v0.6.0

func (m *ActivePublicKey) GetCreator() string

func (*ActivePublicKey) GetExpiry added in v0.6.0

func (m *ActivePublicKey) GetExpiry() uint64

func (*ActivePublicKey) GetPublicKey added in v0.6.0

func (m *ActivePublicKey) GetPublicKey() string

func (*ActivePublicKey) Marshal added in v0.6.0

func (m *ActivePublicKey) Marshal() (dAtA []byte, err error)

func (*ActivePublicKey) MarshalTo added in v0.6.0

func (m *ActivePublicKey) MarshalTo(dAtA []byte) (int, error)

func (*ActivePublicKey) MarshalToSizedBuffer added in v0.6.0

func (m *ActivePublicKey) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ActivePublicKey) ProtoMessage added in v0.6.0

func (*ActivePublicKey) ProtoMessage()

func (*ActivePublicKey) Reset added in v0.6.0

func (m *ActivePublicKey) Reset()

func (*ActivePublicKey) Size added in v0.6.0

func (m *ActivePublicKey) Size() (n int)

func (*ActivePublicKey) String added in v0.6.0

func (m *ActivePublicKey) String() string

func (*ActivePublicKey) Unmarshal added in v0.6.0

func (m *ActivePublicKey) Unmarshal(dAtA []byte) error

func (*ActivePublicKey) XXX_DiscardUnknown added in v0.6.0

func (m *ActivePublicKey) XXX_DiscardUnknown()

func (*ActivePublicKey) XXX_Marshal added in v0.6.0

func (m *ActivePublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ActivePublicKey) XXX_Merge added in v0.6.0

func (m *ActivePublicKey) XXX_Merge(src proto.Message)

func (*ActivePublicKey) XXX_Size added in v0.6.0

func (m *ActivePublicKey) XXX_Size() int

func (*ActivePublicKey) XXX_Unmarshal added in v0.6.0

func (m *ActivePublicKey) XXX_Unmarshal(b []byte) error

type GetAggrKeyshare added in v0.6.0

type GetAggrKeyshare struct {
	// Types that are valid to be assigned to Id:
	//
	//	*GetAggrKeyshare_ProposalId
	//	*GetAggrKeyshare_RequestId
	Id       isGetAggrKeyshare_Id `protobuf_oneof:"id"`
	Identity string               `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
}

GetAggrKeyshare defines a struct for the data payload

func (*GetAggrKeyshare) Descriptor added in v0.6.0

func (*GetAggrKeyshare) Descriptor() ([]byte, []int)

func (*GetAggrKeyshare) GetId added in v0.6.0

func (m *GetAggrKeyshare) GetId() isGetAggrKeyshare_Id

func (*GetAggrKeyshare) GetIdentity added in v0.6.0

func (m *GetAggrKeyshare) GetIdentity() string

func (*GetAggrKeyshare) GetProposalId added in v0.6.0

func (m *GetAggrKeyshare) GetProposalId() string

func (*GetAggrKeyshare) GetRequestId added in v0.6.0

func (m *GetAggrKeyshare) GetRequestId() string

func (*GetAggrKeyshare) Marshal added in v0.6.0

func (m *GetAggrKeyshare) Marshal() (dAtA []byte, err error)

func (*GetAggrKeyshare) MarshalTo added in v0.6.0

func (m *GetAggrKeyshare) MarshalTo(dAtA []byte) (int, error)

func (*GetAggrKeyshare) MarshalToSizedBuffer added in v0.6.0

func (m *GetAggrKeyshare) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetAggrKeyshare) ProtoMessage added in v0.6.0

func (*GetAggrKeyshare) ProtoMessage()

func (*GetAggrKeyshare) Reset added in v0.6.0

func (m *GetAggrKeyshare) Reset()

func (*GetAggrKeyshare) Size added in v0.6.0

func (m *GetAggrKeyshare) Size() (n int)

func (*GetAggrKeyshare) String added in v0.6.0

func (m *GetAggrKeyshare) String() string

func (*GetAggrKeyshare) Unmarshal added in v0.6.0

func (m *GetAggrKeyshare) Unmarshal(dAtA []byte) error

func (*GetAggrKeyshare) XXX_DiscardUnknown added in v0.6.0

func (m *GetAggrKeyshare) XXX_DiscardUnknown()

func (*GetAggrKeyshare) XXX_Marshal added in v0.6.0

func (m *GetAggrKeyshare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetAggrKeyshare) XXX_Merge added in v0.6.0

func (m *GetAggrKeyshare) XXX_Merge(src proto.Message)

func (*GetAggrKeyshare) XXX_OneofWrappers added in v0.6.0

func (*GetAggrKeyshare) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*GetAggrKeyshare) XXX_Size added in v0.6.0

func (m *GetAggrKeyshare) XXX_Size() int

func (*GetAggrKeyshare) XXX_Unmarshal added in v0.6.0

func (m *GetAggrKeyshare) XXX_Unmarshal(b []byte) error

type GetAggrKeyshareResponse added in v0.6.0

type GetAggrKeyshareResponse struct {
}

func (*GetAggrKeyshareResponse) Descriptor added in v0.6.0

func (*GetAggrKeyshareResponse) Descriptor() ([]byte, []int)

func (*GetAggrKeyshareResponse) Marshal added in v0.6.0

func (m *GetAggrKeyshareResponse) Marshal() (dAtA []byte, err error)

func (*GetAggrKeyshareResponse) MarshalTo added in v0.6.0

func (m *GetAggrKeyshareResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetAggrKeyshareResponse) MarshalToSizedBuffer added in v0.6.0

func (m *GetAggrKeyshareResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetAggrKeyshareResponse) ProtoMessage added in v0.6.0

func (*GetAggrKeyshareResponse) ProtoMessage()

func (*GetAggrKeyshareResponse) Reset added in v0.6.0

func (m *GetAggrKeyshareResponse) Reset()

func (*GetAggrKeyshareResponse) Size added in v0.6.0

func (m *GetAggrKeyshareResponse) Size() (n int)

func (*GetAggrKeyshareResponse) String added in v0.6.0

func (m *GetAggrKeyshareResponse) String() string

func (*GetAggrKeyshareResponse) Unmarshal added in v0.6.0

func (m *GetAggrKeyshareResponse) Unmarshal(dAtA []byte) error

func (*GetAggrKeyshareResponse) XXX_DiscardUnknown added in v0.6.0

func (m *GetAggrKeyshareResponse) XXX_DiscardUnknown()

func (*GetAggrKeyshareResponse) XXX_Marshal added in v0.6.0

func (m *GetAggrKeyshareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetAggrKeyshareResponse) XXX_Merge added in v0.6.0

func (m *GetAggrKeyshareResponse) XXX_Merge(src proto.Message)

func (*GetAggrKeyshareResponse) XXX_Size added in v0.6.0

func (m *GetAggrKeyshareResponse) XXX_Size() int

func (*GetAggrKeyshareResponse) XXX_Unmarshal added in v0.6.0

func (m *GetAggrKeyshareResponse) XXX_Unmarshal(b []byte) error

type GetAggrKeyshare_ProposalId added in v0.6.0

type GetAggrKeyshare_ProposalId struct {
	ProposalId string `protobuf:"bytes,1,opt,name=proposal_id,json=proposalId,proto3,oneof" json:"proposal_id,omitempty"`
}

func (*GetAggrKeyshare_ProposalId) MarshalTo added in v0.6.0

func (m *GetAggrKeyshare_ProposalId) MarshalTo(dAtA []byte) (int, error)

func (*GetAggrKeyshare_ProposalId) MarshalToSizedBuffer added in v0.6.0

func (m *GetAggrKeyshare_ProposalId) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetAggrKeyshare_ProposalId) Size added in v0.6.0

func (m *GetAggrKeyshare_ProposalId) Size() (n int)

type GetAggrKeyshare_RequestId added in v0.6.0

type GetAggrKeyshare_RequestId struct {
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3,oneof" json:"request_id,omitempty"`
}

func (*GetAggrKeyshare_RequestId) MarshalTo added in v0.6.0

func (m *GetAggrKeyshare_RequestId) MarshalTo(dAtA []byte) (int, error)

func (*GetAggrKeyshare_RequestId) MarshalToSizedBuffer added in v0.6.0

func (m *GetAggrKeyshare_RequestId) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetAggrKeyshare_RequestId) Size added in v0.6.0

func (m *GetAggrKeyshare_RequestId) Size() (n int)

type QueuedPublicKey added in v0.6.0

type QueuedPublicKey struct {
	PublicKey string `protobuf:"bytes,1,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	Creator   string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	Expiry    uint64 `protobuf:"varint,3,opt,name=expiry,proto3" json:"expiry,omitempty"`
}

func (*QueuedPublicKey) Descriptor added in v0.6.0

func (*QueuedPublicKey) Descriptor() ([]byte, []int)

func (*QueuedPublicKey) GetCreator added in v0.6.0

func (m *QueuedPublicKey) GetCreator() string

func (*QueuedPublicKey) GetExpiry added in v0.6.0

func (m *QueuedPublicKey) GetExpiry() uint64

func (*QueuedPublicKey) GetPublicKey added in v0.6.0

func (m *QueuedPublicKey) GetPublicKey() string

func (*QueuedPublicKey) Marshal added in v0.6.0

func (m *QueuedPublicKey) Marshal() (dAtA []byte, err error)

func (*QueuedPublicKey) MarshalTo added in v0.6.0

func (m *QueuedPublicKey) MarshalTo(dAtA []byte) (int, error)

func (*QueuedPublicKey) MarshalToSizedBuffer added in v0.6.0

func (m *QueuedPublicKey) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueuedPublicKey) ProtoMessage added in v0.6.0

func (*QueuedPublicKey) ProtoMessage()

func (*QueuedPublicKey) Reset added in v0.6.0

func (m *QueuedPublicKey) Reset()

func (*QueuedPublicKey) Size added in v0.6.0

func (m *QueuedPublicKey) Size() (n int)

func (*QueuedPublicKey) String added in v0.6.0

func (m *QueuedPublicKey) String() string

func (*QueuedPublicKey) Unmarshal added in v0.6.0

func (m *QueuedPublicKey) Unmarshal(dAtA []byte) error

func (*QueuedPublicKey) XXX_DiscardUnknown added in v0.6.0

func (m *QueuedPublicKey) XXX_DiscardUnknown()

func (*QueuedPublicKey) XXX_Marshal added in v0.6.0

func (m *QueuedPublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueuedPublicKey) XXX_Merge added in v0.6.0

func (m *QueuedPublicKey) XXX_Merge(src proto.Message)

func (*QueuedPublicKey) XXX_Size added in v0.6.0

func (m *QueuedPublicKey) XXX_Size() int

func (*QueuedPublicKey) XXX_Unmarshal added in v0.6.0

func (m *QueuedPublicKey) XXX_Unmarshal(b []byte) error

type RequestAggrKeyshare added in v0.6.0

type RequestAggrKeyshare struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	// Types that are valid to be assigned to Id:
	//
	//	*RequestAggrKeyshare_ProposalId
	//	*RequestAggrKeyshare_RequestId
	Id             isRequestAggrKeyshare_Id `protobuf_oneof:"id"`
	EstimatedDelay *time.Duration           `protobuf:"bytes,4,opt,name=estimated_delay,json=estimatedDelay,proto3,stdduration" json:"estimated_delay,omitempty"`
}

RequestAggrKeyshare defines a struct for the data payload

func (*RequestAggrKeyshare) Descriptor added in v0.6.0

func (*RequestAggrKeyshare) Descriptor() ([]byte, []int)

func (*RequestAggrKeyshare) GetCreator added in v0.6.0

func (m *RequestAggrKeyshare) GetCreator() string

func (*RequestAggrKeyshare) GetEstimatedDelay added in v0.7.0

func (m *RequestAggrKeyshare) GetEstimatedDelay() *time.Duration

func (*RequestAggrKeyshare) GetId added in v0.6.0

func (m *RequestAggrKeyshare) GetId() isRequestAggrKeyshare_Id

func (*RequestAggrKeyshare) GetProposalId added in v0.6.0

func (m *RequestAggrKeyshare) GetProposalId() string

func (*RequestAggrKeyshare) GetRequestId added in v0.6.0

func (m *RequestAggrKeyshare) GetRequestId() string

func (*RequestAggrKeyshare) Marshal added in v0.6.0

func (m *RequestAggrKeyshare) Marshal() (dAtA []byte, err error)

func (*RequestAggrKeyshare) MarshalTo added in v0.6.0

func (m *RequestAggrKeyshare) MarshalTo(dAtA []byte) (int, error)

func (*RequestAggrKeyshare) MarshalToSizedBuffer added in v0.6.0

func (m *RequestAggrKeyshare) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestAggrKeyshare) ProtoMessage added in v0.6.0

func (*RequestAggrKeyshare) ProtoMessage()

func (*RequestAggrKeyshare) Reset added in v0.6.0

func (m *RequestAggrKeyshare) Reset()

func (*RequestAggrKeyshare) Size added in v0.6.0

func (m *RequestAggrKeyshare) Size() (n int)

func (*RequestAggrKeyshare) String added in v0.6.0

func (m *RequestAggrKeyshare) String() string

func (*RequestAggrKeyshare) Unmarshal added in v0.6.0

func (m *RequestAggrKeyshare) Unmarshal(dAtA []byte) error

func (*RequestAggrKeyshare) XXX_DiscardUnknown added in v0.6.0

func (m *RequestAggrKeyshare) XXX_DiscardUnknown()

func (*RequestAggrKeyshare) XXX_Marshal added in v0.6.0

func (m *RequestAggrKeyshare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestAggrKeyshare) XXX_Merge added in v0.6.0

func (m *RequestAggrKeyshare) XXX_Merge(src proto.Message)

func (*RequestAggrKeyshare) XXX_OneofWrappers added in v0.6.0

func (*RequestAggrKeyshare) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*RequestAggrKeyshare) XXX_Size added in v0.6.0

func (m *RequestAggrKeyshare) XXX_Size() int

func (*RequestAggrKeyshare) XXX_Unmarshal added in v0.6.0

func (m *RequestAggrKeyshare) XXX_Unmarshal(b []byte) error

type RequestAggrKeyshareResponse added in v0.6.0

type RequestAggrKeyshareResponse struct {
	Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	Pubkey   string `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
}

func (*RequestAggrKeyshareResponse) Descriptor added in v0.6.0

func (*RequestAggrKeyshareResponse) Descriptor() ([]byte, []int)

func (*RequestAggrKeyshareResponse) GetIdentity added in v0.6.0

func (m *RequestAggrKeyshareResponse) GetIdentity() string

func (*RequestAggrKeyshareResponse) GetPubkey added in v0.6.0

func (m *RequestAggrKeyshareResponse) GetPubkey() string

func (*RequestAggrKeyshareResponse) Marshal added in v0.6.0

func (m *RequestAggrKeyshareResponse) Marshal() (dAtA []byte, err error)

func (*RequestAggrKeyshareResponse) MarshalTo added in v0.6.0

func (m *RequestAggrKeyshareResponse) MarshalTo(dAtA []byte) (int, error)

func (*RequestAggrKeyshareResponse) MarshalToSizedBuffer added in v0.6.0

func (m *RequestAggrKeyshareResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestAggrKeyshareResponse) ProtoMessage added in v0.6.0

func (*RequestAggrKeyshareResponse) ProtoMessage()

func (*RequestAggrKeyshareResponse) Reset added in v0.6.0

func (m *RequestAggrKeyshareResponse) Reset()

func (*RequestAggrKeyshareResponse) Size added in v0.6.0

func (m *RequestAggrKeyshareResponse) Size() (n int)

func (*RequestAggrKeyshareResponse) String added in v0.6.0

func (m *RequestAggrKeyshareResponse) String() string

func (*RequestAggrKeyshareResponse) Unmarshal added in v0.6.0

func (m *RequestAggrKeyshareResponse) Unmarshal(dAtA []byte) error

func (*RequestAggrKeyshareResponse) XXX_DiscardUnknown added in v0.6.0

func (m *RequestAggrKeyshareResponse) XXX_DiscardUnknown()

func (*RequestAggrKeyshareResponse) XXX_Marshal added in v0.6.0

func (m *RequestAggrKeyshareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestAggrKeyshareResponse) XXX_Merge added in v0.6.0

func (m *RequestAggrKeyshareResponse) XXX_Merge(src proto.Message)

func (*RequestAggrKeyshareResponse) XXX_Size added in v0.6.0

func (m *RequestAggrKeyshareResponse) XXX_Size() int

func (*RequestAggrKeyshareResponse) XXX_Unmarshal added in v0.6.0

func (m *RequestAggrKeyshareResponse) XXX_Unmarshal(b []byte) error

type RequestAggrKeyshare_ProposalId added in v0.6.0

type RequestAggrKeyshare_ProposalId struct {
	ProposalId string `protobuf:"bytes,2,opt,name=proposal_id,json=proposalId,proto3,oneof" json:"proposal_id,omitempty"`
}

func (*RequestAggrKeyshare_ProposalId) MarshalTo added in v0.6.0

func (m *RequestAggrKeyshare_ProposalId) MarshalTo(dAtA []byte) (int, error)

func (*RequestAggrKeyshare_ProposalId) MarshalToSizedBuffer added in v0.6.0

func (m *RequestAggrKeyshare_ProposalId) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestAggrKeyshare_ProposalId) Size added in v0.6.0

func (m *RequestAggrKeyshare_ProposalId) Size() (n int)

type RequestAggrKeyshare_RequestId added in v0.6.0

type RequestAggrKeyshare_RequestId struct {
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3,oneof" json:"request_id,omitempty"`
}

func (*RequestAggrKeyshare_RequestId) MarshalTo added in v0.6.0

func (m *RequestAggrKeyshare_RequestId) MarshalTo(dAtA []byte) (int, error)

func (*RequestAggrKeyshare_RequestId) MarshalToSizedBuffer added in v0.6.0

func (m *RequestAggrKeyshare_RequestId) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestAggrKeyshare_RequestId) Size added in v0.6.0

func (m *RequestAggrKeyshare_RequestId) Size() (n int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL