proto

package
v3.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthCosigner        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCosigner          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCosigner = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthRemoteSigner        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRemoteSigner          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRemoteSigner = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterCosignerServer

func RegisterCosignerServer(s grpc1.Server, srv CosignerServer)

func RegisterRemoteSignerServer

func RegisterRemoteSignerServer(s grpc1.Server, srv RemoteSignerServer)

Types

type Block

type Block struct {
	Height           int64  `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Round            int64  `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"`
	Step             int32  `protobuf:"varint,3,opt,name=step,proto3" json:"step,omitempty"`
	SignBytes        []byte `protobuf:"bytes,4,opt,name=signBytes,proto3" json:"signBytes,omitempty"`
	VoteExtSignBytes []byte `protobuf:"bytes,5,opt,name=voteExtSignBytes,proto3" json:"voteExtSignBytes,omitempty"`
	Timestamp        int64  `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}

func (*Block) Descriptor

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

func (*Block) GetHeight

func (m *Block) GetHeight() int64

func (*Block) GetRound

func (m *Block) GetRound() int64

func (*Block) GetSignBytes

func (m *Block) GetSignBytes() []byte

func (*Block) GetStep

func (m *Block) GetStep() int32

func (*Block) GetTimestamp

func (m *Block) GetTimestamp() int64

func (*Block) GetVoteExtSignBytes

func (m *Block) GetVoteExtSignBytes() []byte

func (*Block) Marshal

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

func (*Block) MarshalTo

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

func (*Block) MarshalToSizedBuffer

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

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) Reset

func (m *Block) Reset()

func (*Block) Size

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

func (*Block) String

func (m *Block) String() string

func (*Block) Unmarshal

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

func (*Block) XXX_DiscardUnknown

func (m *Block) XXX_DiscardUnknown()

func (*Block) XXX_Marshal

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

func (*Block) XXX_Merge

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

func (*Block) XXX_Size

func (m *Block) XXX_Size() int

func (*Block) XXX_Unmarshal

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

type CosignerClient

type CosignerClient interface {
	SignBlock(ctx context.Context, in *SignBlockRequest, opts ...grpc.CallOption) (*SignBlockResponse, error)
	SetNoncesAndSign(ctx context.Context, in *SetNoncesAndSignRequest, opts ...grpc.CallOption) (*SetNoncesAndSignResponse, error)
	GetNonces(ctx context.Context, in *GetNoncesRequest, opts ...grpc.CallOption) (*GetNoncesResponse, error)
	TransferLeadership(ctx context.Context, in *TransferLeadershipRequest, opts ...grpc.CallOption) (*TransferLeadershipResponse, error)
	GetLeader(ctx context.Context, in *GetLeaderRequest, opts ...grpc.CallOption) (*GetLeaderResponse, error)
	Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error)
}

CosignerClient is the client API for Cosigner service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewCosignerClient

func NewCosignerClient(cc grpc1.ClientConn) CosignerClient

type CosignerServer

CosignerServer is the server API for Cosigner service.

type GetLeaderRequest

type GetLeaderRequest struct {
}

func (*GetLeaderRequest) Descriptor

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

func (*GetLeaderRequest) Marshal

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

func (*GetLeaderRequest) MarshalTo

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

func (*GetLeaderRequest) MarshalToSizedBuffer

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

func (*GetLeaderRequest) ProtoMessage

func (*GetLeaderRequest) ProtoMessage()

func (*GetLeaderRequest) Reset

func (m *GetLeaderRequest) Reset()

func (*GetLeaderRequest) Size

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

func (*GetLeaderRequest) String

func (m *GetLeaderRequest) String() string

func (*GetLeaderRequest) Unmarshal

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

func (*GetLeaderRequest) XXX_DiscardUnknown

func (m *GetLeaderRequest) XXX_DiscardUnknown()

func (*GetLeaderRequest) XXX_Marshal

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

func (*GetLeaderRequest) XXX_Merge

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

func (*GetLeaderRequest) XXX_Size

func (m *GetLeaderRequest) XXX_Size() int

func (*GetLeaderRequest) XXX_Unmarshal

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

type GetLeaderResponse

type GetLeaderResponse struct {
	Leader int32 `protobuf:"varint,1,opt,name=leader,proto3" json:"leader,omitempty"`
}

func (*GetLeaderResponse) Descriptor

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

func (*GetLeaderResponse) GetLeader

func (m *GetLeaderResponse) GetLeader() int32

func (*GetLeaderResponse) Marshal

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

func (*GetLeaderResponse) MarshalTo

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

func (*GetLeaderResponse) MarshalToSizedBuffer

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

func (*GetLeaderResponse) ProtoMessage

func (*GetLeaderResponse) ProtoMessage()

func (*GetLeaderResponse) Reset

func (m *GetLeaderResponse) Reset()

func (*GetLeaderResponse) Size

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

func (*GetLeaderResponse) String

func (m *GetLeaderResponse) String() string

func (*GetLeaderResponse) Unmarshal

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

func (*GetLeaderResponse) XXX_DiscardUnknown

func (m *GetLeaderResponse) XXX_DiscardUnknown()

func (*GetLeaderResponse) XXX_Marshal

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

func (*GetLeaderResponse) XXX_Merge

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

func (*GetLeaderResponse) XXX_Size

func (m *GetLeaderResponse) XXX_Size() int

func (*GetLeaderResponse) XXX_Unmarshal

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

type GetNoncesRequest

type GetNoncesRequest struct {
	Uuids [][]byte `protobuf:"bytes,1,rep,name=uuids,proto3" json:"uuids,omitempty"`
}

func (*GetNoncesRequest) Descriptor

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

func (*GetNoncesRequest) GetUuids

func (m *GetNoncesRequest) GetUuids() [][]byte

func (*GetNoncesRequest) Marshal

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

func (*GetNoncesRequest) MarshalTo

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

func (*GetNoncesRequest) MarshalToSizedBuffer

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

func (*GetNoncesRequest) ProtoMessage

func (*GetNoncesRequest) ProtoMessage()

func (*GetNoncesRequest) Reset

func (m *GetNoncesRequest) Reset()

func (*GetNoncesRequest) Size

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

func (*GetNoncesRequest) String

func (m *GetNoncesRequest) String() string

func (*GetNoncesRequest) Unmarshal

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

func (*GetNoncesRequest) XXX_DiscardUnknown

func (m *GetNoncesRequest) XXX_DiscardUnknown()

func (*GetNoncesRequest) XXX_Marshal

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

func (*GetNoncesRequest) XXX_Merge

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

func (*GetNoncesRequest) XXX_Size

func (m *GetNoncesRequest) XXX_Size() int

func (*GetNoncesRequest) XXX_Unmarshal

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

type GetNoncesResponse

type GetNoncesResponse struct {
	Nonces []*UUIDNonce `protobuf:"bytes,1,rep,name=nonces,proto3" json:"nonces,omitempty"`
}

func (*GetNoncesResponse) Descriptor

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

func (*GetNoncesResponse) GetNonces

func (m *GetNoncesResponse) GetNonces() []*UUIDNonce

func (*GetNoncesResponse) Marshal

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

func (*GetNoncesResponse) MarshalTo

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

func (*GetNoncesResponse) MarshalToSizedBuffer

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

func (*GetNoncesResponse) ProtoMessage

func (*GetNoncesResponse) ProtoMessage()

func (*GetNoncesResponse) Reset

func (m *GetNoncesResponse) Reset()

func (*GetNoncesResponse) Size

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

func (*GetNoncesResponse) String

func (m *GetNoncesResponse) String() string

func (*GetNoncesResponse) Unmarshal

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

func (*GetNoncesResponse) XXX_DiscardUnknown

func (m *GetNoncesResponse) XXX_DiscardUnknown()

func (*GetNoncesResponse) XXX_Marshal

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

func (*GetNoncesResponse) XXX_Merge

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

func (*GetNoncesResponse) XXX_Size

func (m *GetNoncesResponse) XXX_Size() int

func (*GetNoncesResponse) XXX_Unmarshal

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

type HRST

type HRST struct {
	Height    int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Round     int64 `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"`
	Step      int32 `protobuf:"varint,3,opt,name=step,proto3" json:"step,omitempty"`
	Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}

func (*HRST) Descriptor

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

func (*HRST) GetHeight

func (m *HRST) GetHeight() int64

func (*HRST) GetRound

func (m *HRST) GetRound() int64

func (*HRST) GetStep

func (m *HRST) GetStep() int32

func (*HRST) GetTimestamp

func (m *HRST) GetTimestamp() int64

func (*HRST) Marshal

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

func (*HRST) MarshalTo

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

func (*HRST) MarshalToSizedBuffer

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

func (*HRST) ProtoMessage

func (*HRST) ProtoMessage()

func (*HRST) Reset

func (m *HRST) Reset()

func (*HRST) Size

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

func (*HRST) String

func (m *HRST) String() string

func (*HRST) Unmarshal

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

func (*HRST) XXX_DiscardUnknown

func (m *HRST) XXX_DiscardUnknown()

func (*HRST) XXX_Marshal

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

func (*HRST) XXX_Merge

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

func (*HRST) XXX_Size

func (m *HRST) XXX_Size() int

func (*HRST) XXX_Unmarshal

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

type Nonce

type Nonce struct {
	SourceID      int32  `protobuf:"varint,1,opt,name=sourceID,proto3" json:"sourceID,omitempty"`
	DestinationID int32  `protobuf:"varint,2,opt,name=destinationID,proto3" json:"destinationID,omitempty"`
	PubKey        []byte `protobuf:"bytes,3,opt,name=pubKey,proto3" json:"pubKey,omitempty"`
	Share         []byte `protobuf:"bytes,4,opt,name=share,proto3" json:"share,omitempty"`
	Signature     []byte `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"`
}

func (*Nonce) Descriptor

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

func (*Nonce) GetDestinationID

func (m *Nonce) GetDestinationID() int32

func (*Nonce) GetPubKey

func (m *Nonce) GetPubKey() []byte

func (*Nonce) GetShare

func (m *Nonce) GetShare() []byte

func (*Nonce) GetSignature

func (m *Nonce) GetSignature() []byte

func (*Nonce) GetSourceID

func (m *Nonce) GetSourceID() int32

func (*Nonce) Marshal

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

func (*Nonce) MarshalTo

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

func (*Nonce) MarshalToSizedBuffer

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

func (*Nonce) ProtoMessage

func (*Nonce) ProtoMessage()

func (*Nonce) Reset

func (m *Nonce) Reset()

func (*Nonce) Size

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

func (*Nonce) String

func (m *Nonce) String() string

func (*Nonce) Unmarshal

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

func (*Nonce) XXX_DiscardUnknown

func (m *Nonce) XXX_DiscardUnknown()

func (*Nonce) XXX_Marshal

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

func (*Nonce) XXX_Merge

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

func (*Nonce) XXX_Size

func (m *Nonce) XXX_Size() int

func (*Nonce) XXX_Unmarshal

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

type PingRequest

type PingRequest struct {
}

func (*PingRequest) Descriptor

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

func (*PingRequest) Marshal

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

func (*PingRequest) MarshalTo

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

func (*PingRequest) MarshalToSizedBuffer

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

func (*PingRequest) ProtoMessage

func (*PingRequest) ProtoMessage()

func (*PingRequest) Reset

func (m *PingRequest) Reset()

func (*PingRequest) Size

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

func (*PingRequest) String

func (m *PingRequest) String() string

func (*PingRequest) Unmarshal

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

func (*PingRequest) XXX_DiscardUnknown

func (m *PingRequest) XXX_DiscardUnknown()

func (*PingRequest) XXX_Marshal

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

func (*PingRequest) XXX_Merge

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

func (*PingRequest) XXX_Size

func (m *PingRequest) XXX_Size() int

func (*PingRequest) XXX_Unmarshal

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

type PingResponse

type PingResponse struct {
}

func (*PingResponse) Descriptor

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

func (*PingResponse) Marshal

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

func (*PingResponse) MarshalTo

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

func (*PingResponse) MarshalToSizedBuffer

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

func (*PingResponse) ProtoMessage

func (*PingResponse) ProtoMessage()

func (*PingResponse) Reset

func (m *PingResponse) Reset()

func (*PingResponse) Size

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

func (*PingResponse) String

func (m *PingResponse) String() string

func (*PingResponse) Unmarshal

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

func (*PingResponse) XXX_DiscardUnknown

func (m *PingResponse) XXX_DiscardUnknown()

func (*PingResponse) XXX_Marshal

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

func (*PingResponse) XXX_Merge

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

func (*PingResponse) XXX_Size

func (m *PingResponse) XXX_Size() int

func (*PingResponse) XXX_Unmarshal

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

type PubKeyRequest

type PubKeyRequest struct {
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
}

func (*PubKeyRequest) Descriptor

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

func (*PubKeyRequest) GetChainId

func (m *PubKeyRequest) GetChainId() string

func (*PubKeyRequest) Marshal

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

func (*PubKeyRequest) MarshalTo

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

func (*PubKeyRequest) MarshalToSizedBuffer

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

func (*PubKeyRequest) ProtoMessage

func (*PubKeyRequest) ProtoMessage()

func (*PubKeyRequest) Reset

func (m *PubKeyRequest) Reset()

func (*PubKeyRequest) Size

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

func (*PubKeyRequest) String

func (m *PubKeyRequest) String() string

func (*PubKeyRequest) Unmarshal

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

func (*PubKeyRequest) XXX_DiscardUnknown

func (m *PubKeyRequest) XXX_DiscardUnknown()

func (*PubKeyRequest) XXX_Marshal

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

func (*PubKeyRequest) XXX_Merge

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

func (*PubKeyRequest) XXX_Size

func (m *PubKeyRequest) XXX_Size() int

func (*PubKeyRequest) XXX_Unmarshal

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

type PubKeyResponse

type PubKeyResponse struct {
	PubKey []byte `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
}

func (*PubKeyResponse) Descriptor

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

func (*PubKeyResponse) GetPubKey

func (m *PubKeyResponse) GetPubKey() []byte

func (*PubKeyResponse) Marshal

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

func (*PubKeyResponse) MarshalTo

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

func (*PubKeyResponse) MarshalToSizedBuffer

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

func (*PubKeyResponse) ProtoMessage

func (*PubKeyResponse) ProtoMessage()

func (*PubKeyResponse) Reset

func (m *PubKeyResponse) Reset()

func (*PubKeyResponse) Size

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

func (*PubKeyResponse) String

func (m *PubKeyResponse) String() string

func (*PubKeyResponse) Unmarshal

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

func (*PubKeyResponse) XXX_DiscardUnknown

func (m *PubKeyResponse) XXX_DiscardUnknown()

func (*PubKeyResponse) XXX_Marshal

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

func (*PubKeyResponse) XXX_Merge

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

func (*PubKeyResponse) XXX_Size

func (m *PubKeyResponse) XXX_Size() int

func (*PubKeyResponse) XXX_Unmarshal

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

type RemoteSignerClient

type RemoteSignerClient interface {
	PubKey(ctx context.Context, in *PubKeyRequest, opts ...grpc.CallOption) (*PubKeyResponse, error)
	Sign(ctx context.Context, in *SignBlockRequest, opts ...grpc.CallOption) (*SignBlockResponse, error)
}

RemoteSignerClient is the client API for RemoteSigner service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewRemoteSignerClient

func NewRemoteSignerClient(cc grpc1.ClientConn) RemoteSignerClient

type RemoteSignerServer

type RemoteSignerServer interface {
	PubKey(context.Context, *PubKeyRequest) (*PubKeyResponse, error)
	Sign(context.Context, *SignBlockRequest) (*SignBlockResponse, error)
}

RemoteSignerServer is the server API for RemoteSigner service.

type SetNoncesAndSignRequest

type SetNoncesAndSignRequest struct {
	Uuid             []byte   `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Nonces           []*Nonce `protobuf:"bytes,2,rep,name=nonces,proto3" json:"nonces,omitempty"`
	Hrst             *HRST    `protobuf:"bytes,3,opt,name=hrst,proto3" json:"hrst,omitempty"`
	SignBytes        []byte   `protobuf:"bytes,4,opt,name=signBytes,proto3" json:"signBytes,omitempty"`
	VoteExtUuid      []byte   `protobuf:"bytes,5,opt,name=voteExtUuid,proto3" json:"voteExtUuid,omitempty"`
	VoteExtNonces    []*Nonce `protobuf:"bytes,6,rep,name=voteExtNonces,proto3" json:"voteExtNonces,omitempty"`
	VoteExtSignBytes []byte   `protobuf:"bytes,7,opt,name=voteExtSignBytes,proto3" json:"voteExtSignBytes,omitempty"`
	ChainID          string   `protobuf:"bytes,8,opt,name=chainID,proto3" json:"chainID,omitempty"`
}

func (*SetNoncesAndSignRequest) Descriptor

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

func (*SetNoncesAndSignRequest) GetChainID

func (m *SetNoncesAndSignRequest) GetChainID() string

func (*SetNoncesAndSignRequest) GetHrst

func (m *SetNoncesAndSignRequest) GetHrst() *HRST

func (*SetNoncesAndSignRequest) GetNonces

func (m *SetNoncesAndSignRequest) GetNonces() []*Nonce

func (*SetNoncesAndSignRequest) GetSignBytes

func (m *SetNoncesAndSignRequest) GetSignBytes() []byte

func (*SetNoncesAndSignRequest) GetUuid

func (m *SetNoncesAndSignRequest) GetUuid() []byte

func (*SetNoncesAndSignRequest) GetVoteExtNonces

func (m *SetNoncesAndSignRequest) GetVoteExtNonces() []*Nonce

func (*SetNoncesAndSignRequest) GetVoteExtSignBytes

func (m *SetNoncesAndSignRequest) GetVoteExtSignBytes() []byte

func (*SetNoncesAndSignRequest) GetVoteExtUuid

func (m *SetNoncesAndSignRequest) GetVoteExtUuid() []byte

func (*SetNoncesAndSignRequest) Marshal

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

func (*SetNoncesAndSignRequest) MarshalTo

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

func (*SetNoncesAndSignRequest) MarshalToSizedBuffer

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

func (*SetNoncesAndSignRequest) ProtoMessage

func (*SetNoncesAndSignRequest) ProtoMessage()

func (*SetNoncesAndSignRequest) Reset

func (m *SetNoncesAndSignRequest) Reset()

func (*SetNoncesAndSignRequest) Size

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

func (*SetNoncesAndSignRequest) String

func (m *SetNoncesAndSignRequest) String() string

func (*SetNoncesAndSignRequest) Unmarshal

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

func (*SetNoncesAndSignRequest) XXX_DiscardUnknown

func (m *SetNoncesAndSignRequest) XXX_DiscardUnknown()

func (*SetNoncesAndSignRequest) XXX_Marshal

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

func (*SetNoncesAndSignRequest) XXX_Merge

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

func (*SetNoncesAndSignRequest) XXX_Size

func (m *SetNoncesAndSignRequest) XXX_Size() int

func (*SetNoncesAndSignRequest) XXX_Unmarshal

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

type SetNoncesAndSignResponse

type SetNoncesAndSignResponse struct {
	Timestamp          int64  `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	NoncePublic        []byte `protobuf:"bytes,2,opt,name=noncePublic,proto3" json:"noncePublic,omitempty"`
	Signature          []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	VoteExtNoncePublic []byte `protobuf:"bytes,4,opt,name=voteExtNoncePublic,proto3" json:"voteExtNoncePublic,omitempty"`
	VoteExtSignature   []byte `protobuf:"bytes,5,opt,name=voteExtSignature,proto3" json:"voteExtSignature,omitempty"`
}

func (*SetNoncesAndSignResponse) Descriptor

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

func (*SetNoncesAndSignResponse) GetNoncePublic

func (m *SetNoncesAndSignResponse) GetNoncePublic() []byte

func (*SetNoncesAndSignResponse) GetSignature

func (m *SetNoncesAndSignResponse) GetSignature() []byte

func (*SetNoncesAndSignResponse) GetTimestamp

func (m *SetNoncesAndSignResponse) GetTimestamp() int64

func (*SetNoncesAndSignResponse) GetVoteExtNoncePublic

func (m *SetNoncesAndSignResponse) GetVoteExtNoncePublic() []byte

func (*SetNoncesAndSignResponse) GetVoteExtSignature

func (m *SetNoncesAndSignResponse) GetVoteExtSignature() []byte

func (*SetNoncesAndSignResponse) Marshal

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

func (*SetNoncesAndSignResponse) MarshalTo

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

func (*SetNoncesAndSignResponse) MarshalToSizedBuffer

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

func (*SetNoncesAndSignResponse) ProtoMessage

func (*SetNoncesAndSignResponse) ProtoMessage()

func (*SetNoncesAndSignResponse) Reset

func (m *SetNoncesAndSignResponse) Reset()

func (*SetNoncesAndSignResponse) Size

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

func (*SetNoncesAndSignResponse) String

func (m *SetNoncesAndSignResponse) String() string

func (*SetNoncesAndSignResponse) Unmarshal

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

func (*SetNoncesAndSignResponse) XXX_DiscardUnknown

func (m *SetNoncesAndSignResponse) XXX_DiscardUnknown()

func (*SetNoncesAndSignResponse) XXX_Marshal

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

func (*SetNoncesAndSignResponse) XXX_Merge

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

func (*SetNoncesAndSignResponse) XXX_Size

func (m *SetNoncesAndSignResponse) XXX_Size() int

func (*SetNoncesAndSignResponse) XXX_Unmarshal

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

type SignBlockRequest

type SignBlockRequest struct {
	ChainID string `protobuf:"bytes,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
	Block   *Block `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"`
}

func (*SignBlockRequest) Descriptor

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

func (*SignBlockRequest) GetBlock

func (m *SignBlockRequest) GetBlock() *Block

func (*SignBlockRequest) GetChainID

func (m *SignBlockRequest) GetChainID() string

func (*SignBlockRequest) Marshal

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

func (*SignBlockRequest) MarshalTo

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

func (*SignBlockRequest) MarshalToSizedBuffer

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

func (*SignBlockRequest) ProtoMessage

func (*SignBlockRequest) ProtoMessage()

func (*SignBlockRequest) Reset

func (m *SignBlockRequest) Reset()

func (*SignBlockRequest) Size

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

func (*SignBlockRequest) String

func (m *SignBlockRequest) String() string

func (*SignBlockRequest) Unmarshal

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

func (*SignBlockRequest) XXX_DiscardUnknown

func (m *SignBlockRequest) XXX_DiscardUnknown()

func (*SignBlockRequest) XXX_Marshal

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

func (*SignBlockRequest) XXX_Merge

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

func (*SignBlockRequest) XXX_Size

func (m *SignBlockRequest) XXX_Size() int

func (*SignBlockRequest) XXX_Unmarshal

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

type SignBlockResponse

type SignBlockResponse struct {
	Signature        []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	VoteExtSignature []byte `protobuf:"bytes,2,opt,name=vote_ext_signature,json=voteExtSignature,proto3" json:"vote_ext_signature,omitempty"`
	Timestamp        int64  `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}

func (*SignBlockResponse) Descriptor

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

func (*SignBlockResponse) GetSignature

func (m *SignBlockResponse) GetSignature() []byte

func (*SignBlockResponse) GetTimestamp

func (m *SignBlockResponse) GetTimestamp() int64

func (*SignBlockResponse) GetVoteExtSignature

func (m *SignBlockResponse) GetVoteExtSignature() []byte

func (*SignBlockResponse) Marshal

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

func (*SignBlockResponse) MarshalTo

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

func (*SignBlockResponse) MarshalToSizedBuffer

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

func (*SignBlockResponse) ProtoMessage

func (*SignBlockResponse) ProtoMessage()

func (*SignBlockResponse) Reset

func (m *SignBlockResponse) Reset()

func (*SignBlockResponse) Size

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

func (*SignBlockResponse) String

func (m *SignBlockResponse) String() string

func (*SignBlockResponse) Unmarshal

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

func (*SignBlockResponse) XXX_DiscardUnknown

func (m *SignBlockResponse) XXX_DiscardUnknown()

func (*SignBlockResponse) XXX_Marshal

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

func (*SignBlockResponse) XXX_Merge

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

func (*SignBlockResponse) XXX_Size

func (m *SignBlockResponse) XXX_Size() int

func (*SignBlockResponse) XXX_Unmarshal

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

type TransferLeadershipRequest

type TransferLeadershipRequest struct {
	LeaderID string `protobuf:"bytes,1,opt,name=leaderID,proto3" json:"leaderID,omitempty"`
}

func (*TransferLeadershipRequest) Descriptor

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

func (*TransferLeadershipRequest) GetLeaderID

func (m *TransferLeadershipRequest) GetLeaderID() string

func (*TransferLeadershipRequest) Marshal

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

func (*TransferLeadershipRequest) MarshalTo

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

func (*TransferLeadershipRequest) MarshalToSizedBuffer

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

func (*TransferLeadershipRequest) ProtoMessage

func (*TransferLeadershipRequest) ProtoMessage()

func (*TransferLeadershipRequest) Reset

func (m *TransferLeadershipRequest) Reset()

func (*TransferLeadershipRequest) Size

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

func (*TransferLeadershipRequest) String

func (m *TransferLeadershipRequest) String() string

func (*TransferLeadershipRequest) Unmarshal

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

func (*TransferLeadershipRequest) XXX_DiscardUnknown

func (m *TransferLeadershipRequest) XXX_DiscardUnknown()

func (*TransferLeadershipRequest) XXX_Marshal

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

func (*TransferLeadershipRequest) XXX_Merge

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

func (*TransferLeadershipRequest) XXX_Size

func (m *TransferLeadershipRequest) XXX_Size() int

func (*TransferLeadershipRequest) XXX_Unmarshal

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

type TransferLeadershipResponse

type TransferLeadershipResponse struct {
	LeaderID      string `protobuf:"bytes,1,opt,name=leaderID,proto3" json:"leaderID,omitempty"`
	LeaderAddress string `protobuf:"bytes,2,opt,name=leaderAddress,proto3" json:"leaderAddress,omitempty"`
}

func (*TransferLeadershipResponse) Descriptor

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

func (*TransferLeadershipResponse) GetLeaderAddress

func (m *TransferLeadershipResponse) GetLeaderAddress() string

func (*TransferLeadershipResponse) GetLeaderID

func (m *TransferLeadershipResponse) GetLeaderID() string

func (*TransferLeadershipResponse) Marshal

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

func (*TransferLeadershipResponse) MarshalTo

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

func (*TransferLeadershipResponse) MarshalToSizedBuffer

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

func (*TransferLeadershipResponse) ProtoMessage

func (*TransferLeadershipResponse) ProtoMessage()

func (*TransferLeadershipResponse) Reset

func (m *TransferLeadershipResponse) Reset()

func (*TransferLeadershipResponse) Size

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

func (*TransferLeadershipResponse) String

func (m *TransferLeadershipResponse) String() string

func (*TransferLeadershipResponse) Unmarshal

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

func (*TransferLeadershipResponse) XXX_DiscardUnknown

func (m *TransferLeadershipResponse) XXX_DiscardUnknown()

func (*TransferLeadershipResponse) XXX_Marshal

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

func (*TransferLeadershipResponse) XXX_Merge

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

func (*TransferLeadershipResponse) XXX_Size

func (m *TransferLeadershipResponse) XXX_Size() int

func (*TransferLeadershipResponse) XXX_Unmarshal

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

type UUIDNonce

type UUIDNonce struct {
	Uuid   []byte   `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Nonces []*Nonce `protobuf:"bytes,2,rep,name=nonces,proto3" json:"nonces,omitempty"`
}

func (*UUIDNonce) Descriptor

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

func (*UUIDNonce) GetNonces

func (m *UUIDNonce) GetNonces() []*Nonce

func (*UUIDNonce) GetUuid

func (m *UUIDNonce) GetUuid() []byte

func (*UUIDNonce) Marshal

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

func (*UUIDNonce) MarshalTo

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

func (*UUIDNonce) MarshalToSizedBuffer

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

func (*UUIDNonce) ProtoMessage

func (*UUIDNonce) ProtoMessage()

func (*UUIDNonce) Reset

func (m *UUIDNonce) Reset()

func (*UUIDNonce) Size

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

func (*UUIDNonce) String

func (m *UUIDNonce) String() string

func (*UUIDNonce) Unmarshal

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

func (*UUIDNonce) XXX_DiscardUnknown

func (m *UUIDNonce) XXX_DiscardUnknown()

func (*UUIDNonce) XXX_Marshal

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

func (*UUIDNonce) XXX_Merge

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

func (*UUIDNonce) XXX_Size

func (m *UUIDNonce) XXX_Size() int

func (*UUIDNonce) XXX_Unmarshal

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

type UnimplementedCosignerServer

type UnimplementedCosignerServer struct {
}

UnimplementedCosignerServer can be embedded to have forward compatible implementations.

func (*UnimplementedCosignerServer) GetLeader

func (*UnimplementedCosignerServer) GetNonces

func (*UnimplementedCosignerServer) Ping

func (*UnimplementedCosignerServer) SetNoncesAndSign

func (*UnimplementedCosignerServer) SignBlock

func (*UnimplementedCosignerServer) TransferLeadership

type UnimplementedRemoteSignerServer

type UnimplementedRemoteSignerServer struct {
}

UnimplementedRemoteSignerServer can be embedded to have forward compatible implementations.

func (*UnimplementedRemoteSignerServer) PubKey

func (*UnimplementedRemoteSignerServer) Sign

Jump to

Keyboard shortcuts

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