privval

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 27, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
)
View Source
var Errors_name = map[int32]string{
	0: "ERRORS_UNKNOWN",
	1: "ERRORS_UNEXPECTED_RESPONSE",
	2: "ERRORS_NO_CONNECTION",
	3: "ERRORS_CONNECTION_TIMEOUT",
	4: "ERRORS_READ_TIMEOUT",
	5: "ERRORS_WRITE_TIMEOUT",
}
View Source
var Errors_value = map[string]int32{
	"ERRORS_UNKNOWN":             0,
	"ERRORS_UNEXPECTED_RESPONSE": 1,
	"ERRORS_NO_CONNECTION":       2,
	"ERRORS_CONNECTION_TIMEOUT":  3,
	"ERRORS_READ_TIMEOUT":        4,
	"ERRORS_WRITE_TIMEOUT":       5,
}

Functions

This section is empty.

Types

type Errors

type Errors int32
const (
	Errors_ERRORS_UNKNOWN             Errors = 0
	Errors_ERRORS_UNEXPECTED_RESPONSE Errors = 1
	Errors_ERRORS_NO_CONNECTION       Errors = 2
	Errors_ERRORS_CONNECTION_TIMEOUT  Errors = 3
	Errors_ERRORS_READ_TIMEOUT        Errors = 4
	Errors_ERRORS_WRITE_TIMEOUT       Errors = 5
)

func (Errors) EnumDescriptor

func (Errors) EnumDescriptor() ([]byte, []int)

func (Errors) String

func (x Errors) String() string

type Message

type Message struct {
	// Types that are valid to be assigned to Sum:
	//	*Message_PubKeyRequest
	//	*Message_PubKeyResponse
	//	*Message_SignVoteRequest
	//	*Message_SignedVoteResponse
	//	*Message_SignProposalRequest
	//	*Message_SignedProposalResponse
	//	*Message_PingRequest
	//	*Message_PingResponse
	Sum isMessage_Sum `protobuf_oneof:"sum"`
}

func (*Message) Descriptor

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

func (*Message) GetPingRequest

func (m *Message) GetPingRequest() *PingRequest

func (*Message) GetPingResponse

func (m *Message) GetPingResponse() *PingResponse

func (*Message) GetPubKeyRequest

func (m *Message) GetPubKeyRequest() *PubKeyRequest

func (*Message) GetPubKeyResponse

func (m *Message) GetPubKeyResponse() *PubKeyResponse

func (*Message) GetSignProposalRequest

func (m *Message) GetSignProposalRequest() *SignProposalRequest

func (*Message) GetSignVoteRequest

func (m *Message) GetSignVoteRequest() *SignVoteRequest

func (*Message) GetSignedProposalResponse

func (m *Message) GetSignedProposalResponse() *SignedProposalResponse

func (*Message) GetSignedVoteResponse

func (m *Message) GetSignedVoteResponse() *SignedVoteResponse

func (*Message) GetSum

func (m *Message) GetSum() isMessage_Sum

func (*Message) Marshal

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

func (*Message) MarshalTo

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

func (*Message) MarshalToSizedBuffer

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

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) Reset

func (m *Message) Reset()

func (*Message) Size

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

func (*Message) String

func (m *Message) String() string

func (*Message) Unmarshal

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

func (*Message) XXX_DiscardUnknown

func (m *Message) XXX_DiscardUnknown()

func (*Message) XXX_Marshal

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

func (*Message) XXX_Merge

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

func (*Message) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Message) XXX_Size

func (m *Message) XXX_Size() int

func (*Message) XXX_Unmarshal

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

type Message_PingRequest

type Message_PingRequest struct {
	PingRequest *PingRequest `protobuf:"bytes,7,opt,name=ping_request,json=pingRequest,proto3,oneof" json:"ping_request,omitempty"`
}

func (*Message_PingRequest) MarshalTo

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

func (*Message_PingRequest) MarshalToSizedBuffer

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

func (*Message_PingRequest) Size

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

type Message_PingResponse

type Message_PingResponse struct {
	PingResponse *PingResponse `protobuf:"bytes,8,opt,name=ping_response,json=pingResponse,proto3,oneof" json:"ping_response,omitempty"`
}

func (*Message_PingResponse) MarshalTo

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

func (*Message_PingResponse) MarshalToSizedBuffer

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

func (*Message_PingResponse) Size

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

type Message_PubKeyRequest

type Message_PubKeyRequest struct {
	PubKeyRequest *PubKeyRequest `protobuf:"bytes,1,opt,name=pub_key_request,json=pubKeyRequest,proto3,oneof" json:"pub_key_request,omitempty"`
}

func (*Message_PubKeyRequest) MarshalTo

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

func (*Message_PubKeyRequest) MarshalToSizedBuffer

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

func (*Message_PubKeyRequest) Size

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

type Message_PubKeyResponse

type Message_PubKeyResponse struct {
	PubKeyResponse *PubKeyResponse `protobuf:"bytes,2,opt,name=pub_key_response,json=pubKeyResponse,proto3,oneof" json:"pub_key_response,omitempty"`
}

func (*Message_PubKeyResponse) MarshalTo

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

func (*Message_PubKeyResponse) MarshalToSizedBuffer

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

func (*Message_PubKeyResponse) Size

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

type Message_SignProposalRequest

type Message_SignProposalRequest struct {
	SignProposalRequest *SignProposalRequest `` /* 126-byte string literal not displayed */
}

func (*Message_SignProposalRequest) MarshalTo

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

func (*Message_SignProposalRequest) MarshalToSizedBuffer

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

func (*Message_SignProposalRequest) Size

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

type Message_SignVoteRequest

type Message_SignVoteRequest struct {
	SignVoteRequest *SignVoteRequest `protobuf:"bytes,3,opt,name=sign_vote_request,json=signVoteRequest,proto3,oneof" json:"sign_vote_request,omitempty"`
}

func (*Message_SignVoteRequest) MarshalTo

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

func (*Message_SignVoteRequest) MarshalToSizedBuffer

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

func (*Message_SignVoteRequest) Size

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

type Message_SignedProposalResponse

type Message_SignedProposalResponse struct {
	SignedProposalResponse *SignedProposalResponse `` /* 135-byte string literal not displayed */
}

func (*Message_SignedProposalResponse) MarshalTo

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

func (*Message_SignedProposalResponse) MarshalToSizedBuffer

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

func (*Message_SignedProposalResponse) Size

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

type Message_SignedVoteResponse

type Message_SignedVoteResponse struct {
	SignedVoteResponse *SignedVoteResponse `protobuf:"bytes,4,opt,name=signed_vote_response,json=signedVoteResponse,proto3,oneof" json:"signed_vote_response,omitempty"`
}

func (*Message_SignedVoteResponse) MarshalTo

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

func (*Message_SignedVoteResponse) MarshalToSizedBuffer

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

func (*Message_SignedVoteResponse) Size

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

type PingRequest

type PingRequest struct {
}

PingRequest is a request to confirm that the connection is alive.

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 {
}

PingResponse is a response to confirm that the connection is alive.

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 {
}

PubKeyRequest requests the consensus public key from the remote signer.

func (*PubKeyRequest) Descriptor

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

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 *crypto.PublicKey  `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	Error  *RemoteSignerError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
}

PubKeyResponse is a response message containing the public key.

func (*PubKeyResponse) Descriptor

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

func (*PubKeyResponse) GetError

func (m *PubKeyResponse) GetError() *RemoteSignerError

func (*PubKeyResponse) GetPubKey

func (m *PubKeyResponse) GetPubKey() *crypto.PublicKey

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 RemoteSignerError

type RemoteSignerError struct {
	Code        int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
}

func (*RemoteSignerError) Descriptor

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

func (*RemoteSignerError) GetCode

func (m *RemoteSignerError) GetCode() int32

func (*RemoteSignerError) GetDescription

func (m *RemoteSignerError) GetDescription() string

func (*RemoteSignerError) Marshal

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

func (*RemoteSignerError) MarshalTo

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

func (*RemoteSignerError) MarshalToSizedBuffer

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

func (*RemoteSignerError) ProtoMessage

func (*RemoteSignerError) ProtoMessage()

func (*RemoteSignerError) Reset

func (m *RemoteSignerError) Reset()

func (*RemoteSignerError) Size

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

func (*RemoteSignerError) String

func (m *RemoteSignerError) String() string

func (*RemoteSignerError) Unmarshal

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

func (*RemoteSignerError) XXX_DiscardUnknown

func (m *RemoteSignerError) XXX_DiscardUnknown()

func (*RemoteSignerError) XXX_Marshal

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

func (*RemoteSignerError) XXX_Merge

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

func (*RemoteSignerError) XXX_Size

func (m *RemoteSignerError) XXX_Size() int

func (*RemoteSignerError) XXX_Unmarshal

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

type SignProposalRequest

type SignProposalRequest struct {
	Proposal *types.Proposal `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"`
}

SignProposalRequest is a request to sign a proposal

func (*SignProposalRequest) Descriptor

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

func (*SignProposalRequest) GetProposal

func (m *SignProposalRequest) GetProposal() *types.Proposal

func (*SignProposalRequest) Marshal

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

func (*SignProposalRequest) MarshalTo

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

func (*SignProposalRequest) MarshalToSizedBuffer

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

func (*SignProposalRequest) ProtoMessage

func (*SignProposalRequest) ProtoMessage()

func (*SignProposalRequest) Reset

func (m *SignProposalRequest) Reset()

func (*SignProposalRequest) Size

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

func (*SignProposalRequest) String

func (m *SignProposalRequest) String() string

func (*SignProposalRequest) Unmarshal

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

func (*SignProposalRequest) XXX_DiscardUnknown

func (m *SignProposalRequest) XXX_DiscardUnknown()

func (*SignProposalRequest) XXX_Marshal

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

func (*SignProposalRequest) XXX_Merge

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

func (*SignProposalRequest) XXX_Size

func (m *SignProposalRequest) XXX_Size() int

func (*SignProposalRequest) XXX_Unmarshal

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

type SignVoteRequest

type SignVoteRequest struct {
	Vote *types.Vote `protobuf:"bytes,1,opt,name=vote,proto3" json:"vote,omitempty"`
}

SignVoteRequest is a request to sign a vote

func (*SignVoteRequest) Descriptor

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

func (*SignVoteRequest) GetVote

func (m *SignVoteRequest) GetVote() *types.Vote

func (*SignVoteRequest) Marshal

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

func (*SignVoteRequest) MarshalTo

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

func (*SignVoteRequest) MarshalToSizedBuffer

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

func (*SignVoteRequest) ProtoMessage

func (*SignVoteRequest) ProtoMessage()

func (*SignVoteRequest) Reset

func (m *SignVoteRequest) Reset()

func (*SignVoteRequest) Size

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

func (*SignVoteRequest) String

func (m *SignVoteRequest) String() string

func (*SignVoteRequest) Unmarshal

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

func (*SignVoteRequest) XXX_DiscardUnknown

func (m *SignVoteRequest) XXX_DiscardUnknown()

func (*SignVoteRequest) XXX_Marshal

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

func (*SignVoteRequest) XXX_Merge

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

func (*SignVoteRequest) XXX_Size

func (m *SignVoteRequest) XXX_Size() int

func (*SignVoteRequest) XXX_Unmarshal

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

type SignedProposalResponse

type SignedProposalResponse struct {
	Proposal *types.Proposal    `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"`
	Error    *RemoteSignerError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
}

SignedProposalResponse is response containing a signed proposal or an error

func (*SignedProposalResponse) Descriptor

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

func (*SignedProposalResponse) GetError

func (*SignedProposalResponse) GetProposal

func (m *SignedProposalResponse) GetProposal() *types.Proposal

func (*SignedProposalResponse) Marshal

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

func (*SignedProposalResponse) MarshalTo

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

func (*SignedProposalResponse) MarshalToSizedBuffer

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

func (*SignedProposalResponse) ProtoMessage

func (*SignedProposalResponse) ProtoMessage()

func (*SignedProposalResponse) Reset

func (m *SignedProposalResponse) Reset()

func (*SignedProposalResponse) Size

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

func (*SignedProposalResponse) String

func (m *SignedProposalResponse) String() string

func (*SignedProposalResponse) Unmarshal

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

func (*SignedProposalResponse) XXX_DiscardUnknown

func (m *SignedProposalResponse) XXX_DiscardUnknown()

func (*SignedProposalResponse) XXX_Marshal

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

func (*SignedProposalResponse) XXX_Merge

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

func (*SignedProposalResponse) XXX_Size

func (m *SignedProposalResponse) XXX_Size() int

func (*SignedProposalResponse) XXX_Unmarshal

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

type SignedVoteResponse

type SignedVoteResponse struct {
	Vote  *types.Vote        `protobuf:"bytes,1,opt,name=vote,proto3" json:"vote,omitempty"`
	Error *RemoteSignerError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
}

SignedVoteResponse is a response containing a signed vote or an error

func (*SignedVoteResponse) Descriptor

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

func (*SignedVoteResponse) GetError

func (m *SignedVoteResponse) GetError() *RemoteSignerError

func (*SignedVoteResponse) GetVote

func (m *SignedVoteResponse) GetVote() *types.Vote

func (*SignedVoteResponse) Marshal

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

func (*SignedVoteResponse) MarshalTo

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

func (*SignedVoteResponse) MarshalToSizedBuffer

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

func (*SignedVoteResponse) ProtoMessage

func (*SignedVoteResponse) ProtoMessage()

func (*SignedVoteResponse) Reset

func (m *SignedVoteResponse) Reset()

func (*SignedVoteResponse) Size

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

func (*SignedVoteResponse) String

func (m *SignedVoteResponse) String() string

func (*SignedVoteResponse) Unmarshal

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

func (*SignedVoteResponse) XXX_DiscardUnknown

func (m *SignedVoteResponse) XXX_DiscardUnknown()

func (*SignedVoteResponse) XXX_Marshal

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

func (*SignedVoteResponse) XXX_Merge

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

func (*SignedVoteResponse) XXX_Size

func (m *SignedVoteResponse) XXX_Size() int

func (*SignedVoteResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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