Documentation ¶
Index ¶
- Variables
- type Message
- func (*Message) Descriptor() ([]byte, []int)
- func (m *Message) GetPingRequest() *privval.PingRequest
- func (m *Message) GetPingResponse() *privval.PingResponse
- func (m *Message) GetPubKeyRequest() *privval.PubKeyRequest
- func (m *Message) GetPubKeyResponse() *privval.PubKeyResponse
- func (m *Message) GetSignProposalRequest() *privval.SignProposalRequest
- func (m *Message) GetSignVoteRequest() *privval.SignVoteRequest
- func (m *Message) GetSignedProposalResponse() *privval.SignedProposalResponse
- func (m *Message) GetSignedVoteResponse() *privval.SignedVoteResponse
- func (m *Message) GetSum() isMessage_Sum
- func (m *Message) GetVrfProofRequest() *VRFProofRequest
- func (m *Message) GetVrfProofResponse() *VRFProofResponse
- func (m *Message) Marshal() (dAtA []byte, err error)
- func (m *Message) MarshalTo(dAtA []byte) (int, error)
- func (m *Message) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Message) ProtoMessage()
- func (m *Message) Reset()
- func (m *Message) Size() (n int)
- func (m *Message) String() string
- func (m *Message) Unmarshal(dAtA []byte) error
- func (m *Message) XXX_DiscardUnknown()
- func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Message) XXX_Merge(src proto.Message)
- func (*Message) XXX_OneofWrappers() []interface{}
- func (m *Message) XXX_Size() int
- func (m *Message) XXX_Unmarshal(b []byte) error
- type Message_PingRequest
- type Message_PingResponse
- type Message_PubKeyRequest
- type Message_PubKeyResponse
- type Message_SignProposalRequest
- type Message_SignVoteRequest
- type Message_SignedProposalResponse
- type Message_SignedVoteResponse
- type Message_VrfProofRequest
- type Message_VrfProofResponse
- type VRFProofRequest
- func (*VRFProofRequest) Descriptor() ([]byte, []int)
- func (m *VRFProofRequest) GetMessage() []byte
- func (m *VRFProofRequest) Marshal() (dAtA []byte, err error)
- func (m *VRFProofRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *VRFProofRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VRFProofRequest) ProtoMessage()
- func (m *VRFProofRequest) Reset()
- func (m *VRFProofRequest) Size() (n int)
- func (m *VRFProofRequest) String() string
- func (m *VRFProofRequest) Unmarshal(dAtA []byte) error
- func (m *VRFProofRequest) XXX_DiscardUnknown()
- func (m *VRFProofRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VRFProofRequest) XXX_Merge(src proto.Message)
- func (m *VRFProofRequest) XXX_Size() int
- func (m *VRFProofRequest) XXX_Unmarshal(b []byte) error
- type VRFProofResponse
- func (*VRFProofResponse) Descriptor() ([]byte, []int)
- func (m *VRFProofResponse) GetError() *privval.RemoteSignerError
- func (m *VRFProofResponse) GetProof() []byte
- func (m *VRFProofResponse) Marshal() (dAtA []byte, err error)
- func (m *VRFProofResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *VRFProofResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VRFProofResponse) ProtoMessage()
- func (m *VRFProofResponse) Reset()
- func (m *VRFProofResponse) Size() (n int)
- func (m *VRFProofResponse) String() string
- func (m *VRFProofResponse) Unmarshal(dAtA []byte) error
- func (m *VRFProofResponse) XXX_DiscardUnknown()
- func (m *VRFProofResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VRFProofResponse) XXX_Merge(src proto.Message)
- func (m *VRFProofResponse) XXX_Size() int
- func (m *VRFProofResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
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 // *Message_VrfProofRequest // *Message_VrfProofResponse Sum isMessage_Sum `protobuf_oneof:"sum"` }
func (*Message) Descriptor ¶
func (*Message) GetPingRequest ¶
func (m *Message) GetPingRequest() *privval.PingRequest
func (*Message) GetPingResponse ¶
func (m *Message) GetPingResponse() *privval.PingResponse
func (*Message) GetPubKeyRequest ¶
func (m *Message) GetPubKeyRequest() *privval.PubKeyRequest
func (*Message) GetPubKeyResponse ¶
func (m *Message) GetPubKeyResponse() *privval.PubKeyResponse
func (*Message) GetSignProposalRequest ¶
func (m *Message) GetSignProposalRequest() *privval.SignProposalRequest
func (*Message) GetSignVoteRequest ¶
func (m *Message) GetSignVoteRequest() *privval.SignVoteRequest
func (*Message) GetSignedProposalResponse ¶
func (m *Message) GetSignedProposalResponse() *privval.SignedProposalResponse
func (*Message) GetSignedVoteResponse ¶
func (m *Message) GetSignedVoteResponse() *privval.SignedVoteResponse
func (*Message) GetVrfProofRequest ¶
func (m *Message) GetVrfProofRequest() *VRFProofRequest
func (*Message) GetVrfProofResponse ¶
func (m *Message) GetVrfProofResponse() *VRFProofResponse
func (*Message) MarshalToSizedBuffer ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) XXX_DiscardUnknown ¶
func (m *Message) XXX_DiscardUnknown()
func (*Message) XXX_Marshal ¶
func (*Message) XXX_OneofWrappers ¶
func (*Message) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Message) XXX_Unmarshal ¶
type Message_PingRequest ¶
type Message_PingRequest struct {
PingRequest *privval.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 *privval.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 *privval.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 *privval.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 *privval.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 *privval.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 *privval.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 *privval.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 Message_VrfProofRequest ¶
type Message_VrfProofRequest struct {
VrfProofRequest *VRFProofRequest `protobuf:"bytes,1000,opt,name=vrf_proof_request,json=vrfProofRequest,proto3,oneof" json:"vrf_proof_request,omitempty"`
}
func (*Message_VrfProofRequest) MarshalTo ¶
func (m *Message_VrfProofRequest) MarshalTo(dAtA []byte) (int, error)
func (*Message_VrfProofRequest) MarshalToSizedBuffer ¶
func (m *Message_VrfProofRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message_VrfProofRequest) Size ¶
func (m *Message_VrfProofRequest) Size() (n int)
type Message_VrfProofResponse ¶
type Message_VrfProofResponse struct {
VrfProofResponse *VRFProofResponse `protobuf:"bytes,1001,opt,name=vrf_proof_response,json=vrfProofResponse,proto3,oneof" json:"vrf_proof_response,omitempty"`
}
func (*Message_VrfProofResponse) MarshalTo ¶
func (m *Message_VrfProofResponse) MarshalTo(dAtA []byte) (int, error)
func (*Message_VrfProofResponse) MarshalToSizedBuffer ¶
func (m *Message_VrfProofResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message_VrfProofResponse) Size ¶
func (m *Message_VrfProofResponse) Size() (n int)
type VRFProofRequest ¶
type VRFProofRequest struct {
Message []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
}
VRFProofRequest is a PrivValidatorSocket message containing a message to generate proof.
func (*VRFProofRequest) Descriptor ¶
func (*VRFProofRequest) Descriptor() ([]byte, []int)
func (*VRFProofRequest) GetMessage ¶
func (m *VRFProofRequest) GetMessage() []byte
func (*VRFProofRequest) Marshal ¶
func (m *VRFProofRequest) Marshal() (dAtA []byte, err error)
func (*VRFProofRequest) MarshalToSizedBuffer ¶
func (m *VRFProofRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VRFProofRequest) ProtoMessage ¶
func (*VRFProofRequest) ProtoMessage()
func (*VRFProofRequest) Reset ¶
func (m *VRFProofRequest) Reset()
func (*VRFProofRequest) Size ¶
func (m *VRFProofRequest) Size() (n int)
func (*VRFProofRequest) String ¶
func (m *VRFProofRequest) String() string
func (*VRFProofRequest) Unmarshal ¶
func (m *VRFProofRequest) Unmarshal(dAtA []byte) error
func (*VRFProofRequest) XXX_DiscardUnknown ¶
func (m *VRFProofRequest) XXX_DiscardUnknown()
func (*VRFProofRequest) XXX_Marshal ¶
func (m *VRFProofRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VRFProofRequest) XXX_Merge ¶
func (m *VRFProofRequest) XXX_Merge(src proto.Message)
func (*VRFProofRequest) XXX_Size ¶
func (m *VRFProofRequest) XXX_Size() int
func (*VRFProofRequest) XXX_Unmarshal ¶
func (m *VRFProofRequest) XXX_Unmarshal(b []byte) error
type VRFProofResponse ¶
type VRFProofResponse struct { Proof []byte `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"` Error *privval.RemoteSignerError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` }
VRFProofResponse is a PrivValidatorSocket message containing a Proof.
func (*VRFProofResponse) Descriptor ¶
func (*VRFProofResponse) Descriptor() ([]byte, []int)
func (*VRFProofResponse) GetError ¶
func (m *VRFProofResponse) GetError() *privval.RemoteSignerError
func (*VRFProofResponse) GetProof ¶
func (m *VRFProofResponse) GetProof() []byte
func (*VRFProofResponse) Marshal ¶
func (m *VRFProofResponse) Marshal() (dAtA []byte, err error)
func (*VRFProofResponse) MarshalToSizedBuffer ¶
func (m *VRFProofResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VRFProofResponse) ProtoMessage ¶
func (*VRFProofResponse) ProtoMessage()
func (*VRFProofResponse) Reset ¶
func (m *VRFProofResponse) Reset()
func (*VRFProofResponse) Size ¶
func (m *VRFProofResponse) Size() (n int)
func (*VRFProofResponse) String ¶
func (m *VRFProofResponse) String() string
func (*VRFProofResponse) Unmarshal ¶
func (m *VRFProofResponse) Unmarshal(dAtA []byte) error
func (*VRFProofResponse) XXX_DiscardUnknown ¶
func (m *VRFProofResponse) XXX_DiscardUnknown()
func (*VRFProofResponse) XXX_Marshal ¶
func (m *VRFProofResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VRFProofResponse) XXX_Merge ¶
func (m *VRFProofResponse) XXX_Merge(src proto.Message)
func (*VRFProofResponse) XXX_Size ¶
func (m *VRFProofResponse) XXX_Size() int
func (*VRFProofResponse) XXX_Unmarshal ¶
func (m *VRFProofResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.