p2p

package
v0.14.0-dev.5 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BlockResponseMessagePrefixSize   = 4
	BlockResponseMessageFieldKeySize = 1
)

Variables

View Source
var (
	ErrInvalidLengthConn        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowConn          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupConn = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPex        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPex          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPex = fmt.Errorf("proto: unexpected end of group")
)
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")
)

Functions

This section is empty.

Types

type AuthSigMessage

type AuthSigMessage struct {
	PubKey crypto.PublicKey `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key"`
	Sig    []byte           `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"`
}

func (*AuthSigMessage) Descriptor

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

func (*AuthSigMessage) GetPubKey

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

func (*AuthSigMessage) GetSig

func (m *AuthSigMessage) GetSig() []byte

func (*AuthSigMessage) Marshal

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

func (*AuthSigMessage) MarshalTo

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

func (*AuthSigMessage) MarshalToSizedBuffer

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

func (*AuthSigMessage) ProtoMessage

func (*AuthSigMessage) ProtoMessage()

func (*AuthSigMessage) Reset

func (m *AuthSigMessage) Reset()

func (*AuthSigMessage) Size

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

func (*AuthSigMessage) String

func (m *AuthSigMessage) String() string

func (*AuthSigMessage) Unmarshal

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

func (*AuthSigMessage) XXX_DiscardUnknown

func (m *AuthSigMessage) XXX_DiscardUnknown()

func (*AuthSigMessage) XXX_Marshal

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

func (*AuthSigMessage) XXX_Merge

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

func (*AuthSigMessage) XXX_Size

func (m *AuthSigMessage) XXX_Size() int

func (*AuthSigMessage) XXX_Unmarshal

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

type Echo

type Echo struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}

func (*Echo) Descriptor

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

func (*Echo) GetValue

func (m *Echo) GetValue() string

func (*Echo) Marshal

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

func (*Echo) MarshalTo

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

func (*Echo) MarshalToSizedBuffer

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

func (*Echo) ProtoMessage

func (*Echo) ProtoMessage()

func (*Echo) Reset

func (m *Echo) Reset()

func (*Echo) Size

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

func (*Echo) String

func (m *Echo) String() string

func (*Echo) Unmarshal

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

func (*Echo) XXX_DiscardUnknown

func (m *Echo) XXX_DiscardUnknown()

func (*Echo) XXX_Marshal

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

func (*Echo) XXX_Merge

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

func (*Echo) XXX_Size

func (m *Echo) XXX_Size() int

func (*Echo) XXX_Unmarshal

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

type Envelope

type Envelope struct {
	Attributes map[string]string `` /* 161-byte string literal not displayed */
	// Types that are valid to be assigned to Sum:
	//
	//	*Envelope_Echo
	//	*Envelope_PexRequest
	//	*Envelope_PexResponse
	//	*Envelope_Evidence
	//	*Envelope_MempoolTxs
	//	*Envelope_BlockRequest
	//	*Envelope_NoBlockResponse
	//	*Envelope_BlockResponse
	//	*Envelope_StatusRequest
	//	*Envelope_StatusResponse
	//	*Envelope_SnapshotsRequest
	//	*Envelope_SnapshotsResponse
	//	*Envelope_ChunkRequest
	//	*Envelope_ChunkResponse
	//	*Envelope_LightBlockRequest
	//	*Envelope_LightBlockResponse
	//	*Envelope_ParamsRequest
	//	*Envelope_ParamsResponse
	//	*Envelope_NewRoundStep
	//	*Envelope_NewValidBlock
	//	*Envelope_Proposal
	//	*Envelope_ProposalPol
	//	*Envelope_BlockPart
	//	*Envelope_Vote
	//	*Envelope_HasVote
	//	*Envelope_VoteSetMaj23
	//	*Envelope_VoteSetBits
	//	*Envelope_Commit
	//	*Envelope_HasCommit
	Sum isEnvelope_Sum `protobuf_oneof:"sum"`
}

func (*Envelope) Descriptor

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

func (*Envelope) GetAttributes

func (m *Envelope) GetAttributes() map[string]string

func (*Envelope) GetBlockPart

func (m *Envelope) GetBlockPart() *consensus.BlockPart

func (*Envelope) GetBlockRequest

func (m *Envelope) GetBlockRequest() *blocksync.BlockRequest

func (*Envelope) GetBlockResponse

func (m *Envelope) GetBlockResponse() *blocksync.BlockResponse

func (*Envelope) GetChunkRequest

func (m *Envelope) GetChunkRequest() *statesync.ChunkRequest

func (*Envelope) GetChunkResponse

func (m *Envelope) GetChunkResponse() *statesync.ChunkResponse

func (*Envelope) GetCommit

func (m *Envelope) GetCommit() *consensus.Commit

func (*Envelope) GetEcho

func (m *Envelope) GetEcho() *Echo

func (*Envelope) GetEvidence

func (m *Envelope) GetEvidence() *types1.Evidence

func (*Envelope) GetHasCommit

func (m *Envelope) GetHasCommit() *consensus.HasCommit

func (*Envelope) GetHasVote

func (m *Envelope) GetHasVote() *consensus.HasVote

func (*Envelope) GetLightBlockRequest

func (m *Envelope) GetLightBlockRequest() *statesync.LightBlockRequest

func (*Envelope) GetLightBlockResponse

func (m *Envelope) GetLightBlockResponse() *statesync.LightBlockResponse

func (*Envelope) GetMempoolTxs

func (m *Envelope) GetMempoolTxs() *mempool.Txs

func (*Envelope) GetNewRoundStep

func (m *Envelope) GetNewRoundStep() *consensus.NewRoundStep

func (*Envelope) GetNewValidBlock

func (m *Envelope) GetNewValidBlock() *consensus.NewValidBlock

func (*Envelope) GetNoBlockResponse

func (m *Envelope) GetNoBlockResponse() *blocksync.NoBlockResponse

func (*Envelope) GetParamsRequest

func (m *Envelope) GetParamsRequest() *statesync.ParamsRequest

func (*Envelope) GetParamsResponse

func (m *Envelope) GetParamsResponse() *statesync.ParamsResponse

func (*Envelope) GetPexRequest

func (m *Envelope) GetPexRequest() *PexRequest

func (*Envelope) GetPexResponse

func (m *Envelope) GetPexResponse() *PexResponse

func (*Envelope) GetProposal

func (m *Envelope) GetProposal() *consensus.Proposal

func (*Envelope) GetProposalPol

func (m *Envelope) GetProposalPol() *consensus.ProposalPOL

func (*Envelope) GetSnapshotsRequest

func (m *Envelope) GetSnapshotsRequest() *statesync.SnapshotsRequest

func (*Envelope) GetSnapshotsResponse

func (m *Envelope) GetSnapshotsResponse() *statesync.SnapshotsResponse

func (*Envelope) GetStatusRequest

func (m *Envelope) GetStatusRequest() *blocksync.StatusRequest

func (*Envelope) GetStatusResponse

func (m *Envelope) GetStatusResponse() *blocksync.StatusResponse

func (*Envelope) GetSum

func (m *Envelope) GetSum() isEnvelope_Sum

func (*Envelope) GetVote

func (m *Envelope) GetVote() *consensus.Vote

func (*Envelope) GetVoteSetBits

func (m *Envelope) GetVoteSetBits() *consensus.VoteSetBits

func (*Envelope) GetVoteSetMaj23

func (m *Envelope) GetVoteSetMaj23() *consensus.VoteSetMaj23

func (*Envelope) Marshal

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

func (*Envelope) MarshalTo

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

func (*Envelope) MarshalToSizedBuffer

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

func (*Envelope) ProtoMessage

func (*Envelope) ProtoMessage()

func (*Envelope) Reset

func (m *Envelope) Reset()

func (*Envelope) Size

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

func (*Envelope) String

func (m *Envelope) String() string

func (*Envelope) Unmarshal

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

func (*Envelope) Unwrap

func (m *Envelope) Unwrap() (proto.Message, error)

func (*Envelope) Wrap

func (m *Envelope) Wrap(pb proto.Message) error

func (*Envelope) XXX_DiscardUnknown

func (m *Envelope) XXX_DiscardUnknown()

func (*Envelope) XXX_Marshal

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

func (*Envelope) XXX_Merge

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

func (*Envelope) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Envelope) XXX_Size

func (m *Envelope) XXX_Size() int

func (*Envelope) XXX_Unmarshal

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

type Envelope_BlockPart

type Envelope_BlockPart struct {
	BlockPart *consensus.BlockPart `protobuf:"bytes,24,opt,name=block_part,json=blockPart,proto3,oneof" json:"block_part,omitempty"`
}

func (*Envelope_BlockPart) MarshalTo

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

func (*Envelope_BlockPart) MarshalToSizedBuffer

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

func (*Envelope_BlockPart) Size

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

type Envelope_BlockRequest

type Envelope_BlockRequest struct {
	BlockRequest *blocksync.BlockRequest `protobuf:"bytes,7,opt,name=block_request,json=blockRequest,proto3,oneof" json:"block_request,omitempty"`
}

func (*Envelope_BlockRequest) MarshalTo

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

func (*Envelope_BlockRequest) MarshalToSizedBuffer

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

func (*Envelope_BlockRequest) Size

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

type Envelope_BlockResponse

type Envelope_BlockResponse struct {
	BlockResponse *blocksync.BlockResponse `protobuf:"bytes,9,opt,name=block_response,json=blockResponse,proto3,oneof" json:"block_response,omitempty"`
}

func (*Envelope_BlockResponse) MarshalTo

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

func (*Envelope_BlockResponse) MarshalToSizedBuffer

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

func (*Envelope_BlockResponse) Size

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

type Envelope_ChunkRequest

type Envelope_ChunkRequest struct {
	ChunkRequest *statesync.ChunkRequest `protobuf:"bytes,14,opt,name=chunk_request,json=chunkRequest,proto3,oneof" json:"chunk_request,omitempty"`
}

func (*Envelope_ChunkRequest) MarshalTo

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

func (*Envelope_ChunkRequest) MarshalToSizedBuffer

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

func (*Envelope_ChunkRequest) Size

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

type Envelope_ChunkResponse

type Envelope_ChunkResponse struct {
	ChunkResponse *statesync.ChunkResponse `protobuf:"bytes,15,opt,name=chunk_response,json=chunkResponse,proto3,oneof" json:"chunk_response,omitempty"`
}

func (*Envelope_ChunkResponse) MarshalTo

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

func (*Envelope_ChunkResponse) MarshalToSizedBuffer

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

func (*Envelope_ChunkResponse) Size

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

type Envelope_Commit

type Envelope_Commit struct {
	Commit *consensus.Commit `protobuf:"bytes,29,opt,name=commit,proto3,oneof" json:"commit,omitempty"`
}

func (*Envelope_Commit) MarshalTo

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

func (*Envelope_Commit) MarshalToSizedBuffer

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

func (*Envelope_Commit) Size

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

type Envelope_Echo

type Envelope_Echo struct {
	Echo *Echo `protobuf:"bytes,2,opt,name=echo,proto3,oneof" json:"echo,omitempty"`
}

func (*Envelope_Echo) MarshalTo

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

func (*Envelope_Echo) MarshalToSizedBuffer

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

func (*Envelope_Echo) Size

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

type Envelope_Evidence

type Envelope_Evidence struct {
	Evidence *types1.Evidence `protobuf:"bytes,5,opt,name=evidence,proto3,oneof" json:"evidence,omitempty"`
}

func (*Envelope_Evidence) MarshalTo

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

func (*Envelope_Evidence) MarshalToSizedBuffer

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

func (*Envelope_Evidence) Size

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

type Envelope_HasCommit

type Envelope_HasCommit struct {
	HasCommit *consensus.HasCommit `protobuf:"bytes,30,opt,name=has_commit,json=hasCommit,proto3,oneof" json:"has_commit,omitempty"`
}

func (*Envelope_HasCommit) MarshalTo

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

func (*Envelope_HasCommit) MarshalToSizedBuffer

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

func (*Envelope_HasCommit) Size

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

type Envelope_HasVote

type Envelope_HasVote struct {
	HasVote *consensus.HasVote `protobuf:"bytes,26,opt,name=has_vote,json=hasVote,proto3,oneof" json:"has_vote,omitempty"`
}

func (*Envelope_HasVote) MarshalTo

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

func (*Envelope_HasVote) MarshalToSizedBuffer

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

func (*Envelope_HasVote) Size

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

type Envelope_LightBlockRequest

type Envelope_LightBlockRequest struct {
	LightBlockRequest *statesync.LightBlockRequest `protobuf:"bytes,16,opt,name=light_block_request,json=lightBlockRequest,proto3,oneof" json:"light_block_request,omitempty"`
}

func (*Envelope_LightBlockRequest) MarshalTo

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

func (*Envelope_LightBlockRequest) MarshalToSizedBuffer

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

func (*Envelope_LightBlockRequest) Size

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

type Envelope_LightBlockResponse

type Envelope_LightBlockResponse struct {
	LightBlockResponse *statesync.LightBlockResponse `protobuf:"bytes,17,opt,name=light_block_response,json=lightBlockResponse,proto3,oneof" json:"light_block_response,omitempty"`
}

func (*Envelope_LightBlockResponse) MarshalTo

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

func (*Envelope_LightBlockResponse) MarshalToSizedBuffer

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

func (*Envelope_LightBlockResponse) Size

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

type Envelope_MempoolTxs

type Envelope_MempoolTxs struct {
	MempoolTxs *mempool.Txs `protobuf:"bytes,6,opt,name=mempool_txs,json=mempoolTxs,proto3,oneof" json:"mempool_txs,omitempty"`
}

func (*Envelope_MempoolTxs) MarshalTo

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

func (*Envelope_MempoolTxs) MarshalToSizedBuffer

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

func (*Envelope_MempoolTxs) Size

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

type Envelope_NewRoundStep

type Envelope_NewRoundStep struct {
	NewRoundStep *consensus.NewRoundStep `protobuf:"bytes,20,opt,name=new_round_step,json=newRoundStep,proto3,oneof" json:"new_round_step,omitempty"`
}

func (*Envelope_NewRoundStep) MarshalTo

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

func (*Envelope_NewRoundStep) MarshalToSizedBuffer

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

func (*Envelope_NewRoundStep) Size

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

type Envelope_NewValidBlock

type Envelope_NewValidBlock struct {
	NewValidBlock *consensus.NewValidBlock `protobuf:"bytes,21,opt,name=new_valid_block,json=newValidBlock,proto3,oneof" json:"new_valid_block,omitempty"`
}

func (*Envelope_NewValidBlock) MarshalTo

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

func (*Envelope_NewValidBlock) MarshalToSizedBuffer

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

func (*Envelope_NewValidBlock) Size

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

type Envelope_NoBlockResponse

type Envelope_NoBlockResponse struct {
	NoBlockResponse *blocksync.NoBlockResponse `protobuf:"bytes,8,opt,name=no_block_response,json=noBlockResponse,proto3,oneof" json:"no_block_response,omitempty"`
}

func (*Envelope_NoBlockResponse) MarshalTo

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

func (*Envelope_NoBlockResponse) MarshalToSizedBuffer

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

func (*Envelope_NoBlockResponse) Size

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

type Envelope_ParamsRequest

type Envelope_ParamsRequest struct {
	ParamsRequest *statesync.ParamsRequest `protobuf:"bytes,18,opt,name=params_request,json=paramsRequest,proto3,oneof" json:"params_request,omitempty"`
}

func (*Envelope_ParamsRequest) MarshalTo

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

func (*Envelope_ParamsRequest) MarshalToSizedBuffer

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

func (*Envelope_ParamsRequest) Size

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

type Envelope_ParamsResponse

type Envelope_ParamsResponse struct {
	ParamsResponse *statesync.ParamsResponse `protobuf:"bytes,19,opt,name=params_response,json=paramsResponse,proto3,oneof" json:"params_response,omitempty"`
}

func (*Envelope_ParamsResponse) MarshalTo

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

func (*Envelope_ParamsResponse) MarshalToSizedBuffer

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

func (*Envelope_ParamsResponse) Size

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

type Envelope_PexRequest

type Envelope_PexRequest struct {
	PexRequest *PexRequest `protobuf:"bytes,3,opt,name=pex_request,json=pexRequest,proto3,oneof" json:"pex_request,omitempty"`
}

func (*Envelope_PexRequest) MarshalTo

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

func (*Envelope_PexRequest) MarshalToSizedBuffer

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

func (*Envelope_PexRequest) Size

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

type Envelope_PexResponse

type Envelope_PexResponse struct {
	PexResponse *PexResponse `protobuf:"bytes,4,opt,name=pex_response,json=pexResponse,proto3,oneof" json:"pex_response,omitempty"`
}

func (*Envelope_PexResponse) MarshalTo

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

func (*Envelope_PexResponse) MarshalToSizedBuffer

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

func (*Envelope_PexResponse) Size

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

type Envelope_Proposal

type Envelope_Proposal struct {
	Proposal *consensus.Proposal `protobuf:"bytes,22,opt,name=proposal,proto3,oneof" json:"proposal,omitempty"`
}

func (*Envelope_Proposal) MarshalTo

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

func (*Envelope_Proposal) MarshalToSizedBuffer

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

func (*Envelope_Proposal) Size

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

type Envelope_ProposalPol

type Envelope_ProposalPol struct {
	ProposalPol *consensus.ProposalPOL `protobuf:"bytes,23,opt,name=proposal_pol,json=proposalPol,proto3,oneof" json:"proposal_pol,omitempty"`
}

func (*Envelope_ProposalPol) MarshalTo

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

func (*Envelope_ProposalPol) MarshalToSizedBuffer

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

func (*Envelope_ProposalPol) Size

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

type Envelope_SnapshotsRequest

type Envelope_SnapshotsRequest struct {
	SnapshotsRequest *statesync.SnapshotsRequest `protobuf:"bytes,12,opt,name=snapshots_request,json=snapshotsRequest,proto3,oneof" json:"snapshots_request,omitempty"`
}

func (*Envelope_SnapshotsRequest) MarshalTo

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

func (*Envelope_SnapshotsRequest) MarshalToSizedBuffer

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

func (*Envelope_SnapshotsRequest) Size

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

type Envelope_SnapshotsResponse

type Envelope_SnapshotsResponse struct {
	SnapshotsResponse *statesync.SnapshotsResponse `protobuf:"bytes,13,opt,name=snapshots_response,json=snapshotsResponse,proto3,oneof" json:"snapshots_response,omitempty"`
}

func (*Envelope_SnapshotsResponse) MarshalTo

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

func (*Envelope_SnapshotsResponse) MarshalToSizedBuffer

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

func (*Envelope_SnapshotsResponse) Size

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

type Envelope_StatusRequest

type Envelope_StatusRequest struct {
	StatusRequest *blocksync.StatusRequest `protobuf:"bytes,10,opt,name=status_request,json=statusRequest,proto3,oneof" json:"status_request,omitempty"`
}

func (*Envelope_StatusRequest) MarshalTo

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

func (*Envelope_StatusRequest) MarshalToSizedBuffer

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

func (*Envelope_StatusRequest) Size

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

type Envelope_StatusResponse

type Envelope_StatusResponse struct {
	StatusResponse *blocksync.StatusResponse `protobuf:"bytes,11,opt,name=status_response,json=statusResponse,proto3,oneof" json:"status_response,omitempty"`
}

func (*Envelope_StatusResponse) MarshalTo

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

func (*Envelope_StatusResponse) MarshalToSizedBuffer

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

func (*Envelope_StatusResponse) Size

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

type Envelope_Vote

type Envelope_Vote struct {
	Vote *consensus.Vote `protobuf:"bytes,25,opt,name=vote,proto3,oneof" json:"vote,omitempty"`
}

func (*Envelope_Vote) MarshalTo

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

func (*Envelope_Vote) MarshalToSizedBuffer

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

func (*Envelope_Vote) Size

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

type Envelope_VoteSetBits

type Envelope_VoteSetBits struct {
	VoteSetBits *consensus.VoteSetBits `protobuf:"bytes,28,opt,name=vote_set_bits,json=voteSetBits,proto3,oneof" json:"vote_set_bits,omitempty"`
}

func (*Envelope_VoteSetBits) MarshalTo

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

func (*Envelope_VoteSetBits) MarshalToSizedBuffer

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

func (*Envelope_VoteSetBits) Size

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

type Envelope_VoteSetMaj23

type Envelope_VoteSetMaj23 struct {
	VoteSetMaj23 *consensus.VoteSetMaj23 `protobuf:"bytes,27,opt,name=vote_set_maj23,json=voteSetMaj23,proto3,oneof" json:"vote_set_maj23,omitempty"`
}

func (*Envelope_VoteSetMaj23) MarshalTo

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

func (*Envelope_VoteSetMaj23) MarshalToSizedBuffer

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

func (*Envelope_VoteSetMaj23) Size

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

type NodeInfo

type NodeInfo struct {
	ProtocolVersion ProtocolVersion `protobuf:"bytes,1,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version"`
	NodeID          string          `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	ListenAddr      string          `protobuf:"bytes,3,opt,name=listen_addr,json=listenAddr,proto3" json:"listen_addr,omitempty"`
	Network         string          `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
	Version         string          `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
	Channels        []uint32        `protobuf:"varint,6,rep,packed,name=channels,proto3" json:"channels,omitempty"`
	Moniker         string          `protobuf:"bytes,7,opt,name=moniker,proto3" json:"moniker,omitempty"`
	Other           NodeInfoOther   `protobuf:"bytes,8,opt,name=other,proto3" json:"other"`
	ProTxHash       []byte          `protobuf:"bytes,9,opt,name=pro_tx_hash,json=proTxHash,proto3" json:"pro_tx_hash,omitempty"`
}

func (*NodeInfo) Descriptor

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

func (*NodeInfo) GetChannels

func (m *NodeInfo) GetChannels() []uint32

func (*NodeInfo) GetListenAddr

func (m *NodeInfo) GetListenAddr() string

func (*NodeInfo) GetMoniker

func (m *NodeInfo) GetMoniker() string

func (*NodeInfo) GetNetwork

func (m *NodeInfo) GetNetwork() string

func (*NodeInfo) GetNodeID

func (m *NodeInfo) GetNodeID() string

func (*NodeInfo) GetOther

func (m *NodeInfo) GetOther() NodeInfoOther

func (*NodeInfo) GetProTxHash

func (m *NodeInfo) GetProTxHash() []byte

func (*NodeInfo) GetProtocolVersion

func (m *NodeInfo) GetProtocolVersion() ProtocolVersion

func (*NodeInfo) GetVersion

func (m *NodeInfo) GetVersion() string

func (*NodeInfo) Marshal

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

func (*NodeInfo) MarshalTo

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

func (*NodeInfo) MarshalToSizedBuffer

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

func (*NodeInfo) ProtoMessage

func (*NodeInfo) ProtoMessage()

func (*NodeInfo) Reset

func (m *NodeInfo) Reset()

func (*NodeInfo) Size

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

func (*NodeInfo) String

func (m *NodeInfo) String() string

func (*NodeInfo) Unmarshal

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

func (*NodeInfo) XXX_DiscardUnknown

func (m *NodeInfo) XXX_DiscardUnknown()

func (*NodeInfo) XXX_Marshal

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

func (*NodeInfo) XXX_Merge

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

func (*NodeInfo) XXX_Size

func (m *NodeInfo) XXX_Size() int

func (*NodeInfo) XXX_Unmarshal

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

type NodeInfoOther

type NodeInfoOther struct {
	TxIndex    string `protobuf:"bytes,1,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"`
	RPCAddress string `protobuf:"bytes,2,opt,name=rpc_address,json=rpcAddress,proto3" json:"rpc_address,omitempty"`
}

func (*NodeInfoOther) Descriptor

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

func (*NodeInfoOther) GetRPCAddress

func (m *NodeInfoOther) GetRPCAddress() string

func (*NodeInfoOther) GetTxIndex

func (m *NodeInfoOther) GetTxIndex() string

func (*NodeInfoOther) Marshal

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

func (*NodeInfoOther) MarshalTo

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

func (*NodeInfoOther) MarshalToSizedBuffer

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

func (*NodeInfoOther) ProtoMessage

func (*NodeInfoOther) ProtoMessage()

func (*NodeInfoOther) Reset

func (m *NodeInfoOther) Reset()

func (*NodeInfoOther) Size

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

func (*NodeInfoOther) String

func (m *NodeInfoOther) String() string

func (*NodeInfoOther) Unmarshal

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

func (*NodeInfoOther) XXX_DiscardUnknown

func (m *NodeInfoOther) XXX_DiscardUnknown()

func (*NodeInfoOther) XXX_Marshal

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

func (*NodeInfoOther) XXX_Merge

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

func (*NodeInfoOther) XXX_Size

func (m *NodeInfoOther) XXX_Size() int

func (*NodeInfoOther) XXX_Unmarshal

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

type Packet

type Packet struct {
	// Types that are valid to be assigned to Sum:
	//
	//	*Packet_PacketPing
	//	*Packet_PacketPong
	//	*Packet_PacketMsg
	Sum isPacket_Sum `protobuf_oneof:"sum"`
}

func (*Packet) Descriptor

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

func (*Packet) GetPacketMsg

func (m *Packet) GetPacketMsg() *PacketMsg

func (*Packet) GetPacketPing

func (m *Packet) GetPacketPing() *PacketPing

func (*Packet) GetPacketPong

func (m *Packet) GetPacketPong() *PacketPong

func (*Packet) GetSum

func (m *Packet) GetSum() isPacket_Sum

func (*Packet) Marshal

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

func (*Packet) MarshalTo

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

func (*Packet) MarshalToSizedBuffer

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

func (*Packet) ProtoMessage

func (*Packet) ProtoMessage()

func (*Packet) Reset

func (m *Packet) Reset()

func (*Packet) Size

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

func (*Packet) String

func (m *Packet) String() string

func (*Packet) Unmarshal

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

func (*Packet) XXX_DiscardUnknown

func (m *Packet) XXX_DiscardUnknown()

func (*Packet) XXX_Marshal

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

func (*Packet) XXX_Merge

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

func (*Packet) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Packet) XXX_Size

func (m *Packet) XXX_Size() int

func (*Packet) XXX_Unmarshal

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

type PacketMsg

type PacketMsg struct {
	ChannelID int32  `protobuf:"varint,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	EOF       bool   `protobuf:"varint,2,opt,name=eof,proto3" json:"eof,omitempty"`
	Data      []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
}

func (*PacketMsg) Descriptor

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

func (*PacketMsg) GetChannelID

func (m *PacketMsg) GetChannelID() int32

func (*PacketMsg) GetData

func (m *PacketMsg) GetData() []byte

func (*PacketMsg) GetEOF

func (m *PacketMsg) GetEOF() bool

func (*PacketMsg) Marshal

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

func (*PacketMsg) MarshalTo

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

func (*PacketMsg) MarshalToSizedBuffer

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

func (*PacketMsg) ProtoMessage

func (*PacketMsg) ProtoMessage()

func (*PacketMsg) Reset

func (m *PacketMsg) Reset()

func (*PacketMsg) Size

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

func (*PacketMsg) String

func (m *PacketMsg) String() string

func (*PacketMsg) Unmarshal

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

func (*PacketMsg) XXX_DiscardUnknown

func (m *PacketMsg) XXX_DiscardUnknown()

func (*PacketMsg) XXX_Marshal

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

func (*PacketMsg) XXX_Merge

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

func (*PacketMsg) XXX_Size

func (m *PacketMsg) XXX_Size() int

func (*PacketMsg) XXX_Unmarshal

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

type PacketPing

type PacketPing struct {
}

func (*PacketPing) Descriptor

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

func (*PacketPing) Marshal

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

func (*PacketPing) MarshalTo

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

func (*PacketPing) MarshalToSizedBuffer

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

func (*PacketPing) ProtoMessage

func (*PacketPing) ProtoMessage()

func (*PacketPing) Reset

func (m *PacketPing) Reset()

func (*PacketPing) Size

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

func (*PacketPing) String

func (m *PacketPing) String() string

func (*PacketPing) Unmarshal

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

func (*PacketPing) XXX_DiscardUnknown

func (m *PacketPing) XXX_DiscardUnknown()

func (*PacketPing) XXX_Marshal

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

func (*PacketPing) XXX_Merge

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

func (*PacketPing) XXX_Size

func (m *PacketPing) XXX_Size() int

func (*PacketPing) XXX_Unmarshal

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

type PacketPong

type PacketPong struct {
}

func (*PacketPong) Descriptor

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

func (*PacketPong) Marshal

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

func (*PacketPong) MarshalTo

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

func (*PacketPong) MarshalToSizedBuffer

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

func (*PacketPong) ProtoMessage

func (*PacketPong) ProtoMessage()

func (*PacketPong) Reset

func (m *PacketPong) Reset()

func (*PacketPong) Size

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

func (*PacketPong) String

func (m *PacketPong) String() string

func (*PacketPong) Unmarshal

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

func (*PacketPong) XXX_DiscardUnknown

func (m *PacketPong) XXX_DiscardUnknown()

func (*PacketPong) XXX_Marshal

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

func (*PacketPong) XXX_Merge

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

func (*PacketPong) XXX_Size

func (m *PacketPong) XXX_Size() int

func (*PacketPong) XXX_Unmarshal

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

type Packet_PacketMsg

type Packet_PacketMsg struct {
	PacketMsg *PacketMsg `protobuf:"bytes,3,opt,name=packet_msg,json=packetMsg,proto3,oneof" json:"packet_msg,omitempty"`
}

func (*Packet_PacketMsg) MarshalTo

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

func (*Packet_PacketMsg) MarshalToSizedBuffer

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

func (*Packet_PacketMsg) Size

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

type Packet_PacketPing

type Packet_PacketPing struct {
	PacketPing *PacketPing `protobuf:"bytes,1,opt,name=packet_ping,json=packetPing,proto3,oneof" json:"packet_ping,omitempty"`
}

func (*Packet_PacketPing) MarshalTo

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

func (*Packet_PacketPing) MarshalToSizedBuffer

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

func (*Packet_PacketPing) Size

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

type Packet_PacketPong

type Packet_PacketPong struct {
	PacketPong *PacketPong `protobuf:"bytes,2,opt,name=packet_pong,json=packetPong,proto3,oneof" json:"packet_pong,omitempty"`
}

func (*Packet_PacketPong) MarshalTo

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

func (*Packet_PacketPong) MarshalToSizedBuffer

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

func (*Packet_PacketPong) Size

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

type PeerAddressInfo

type PeerAddressInfo struct {
	Address         string     `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	LastDialSuccess *time.Time `protobuf:"bytes,2,opt,name=last_dial_success,json=lastDialSuccess,proto3,stdtime" json:"last_dial_success,omitempty"`
	LastDialFailure *time.Time `protobuf:"bytes,3,opt,name=last_dial_failure,json=lastDialFailure,proto3,stdtime" json:"last_dial_failure,omitempty"`
	DialFailures    uint32     `protobuf:"varint,4,opt,name=dial_failures,json=dialFailures,proto3" json:"dial_failures,omitempty"`
}

func (*PeerAddressInfo) Descriptor

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

func (*PeerAddressInfo) GetAddress

func (m *PeerAddressInfo) GetAddress() string

func (*PeerAddressInfo) GetDialFailures

func (m *PeerAddressInfo) GetDialFailures() uint32

func (*PeerAddressInfo) GetLastDialFailure

func (m *PeerAddressInfo) GetLastDialFailure() *time.Time

func (*PeerAddressInfo) GetLastDialSuccess

func (m *PeerAddressInfo) GetLastDialSuccess() *time.Time

func (*PeerAddressInfo) Marshal

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

func (*PeerAddressInfo) MarshalTo

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

func (*PeerAddressInfo) MarshalToSizedBuffer

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

func (*PeerAddressInfo) ProtoMessage

func (*PeerAddressInfo) ProtoMessage()

func (*PeerAddressInfo) Reset

func (m *PeerAddressInfo) Reset()

func (*PeerAddressInfo) Size

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

func (*PeerAddressInfo) String

func (m *PeerAddressInfo) String() string

func (*PeerAddressInfo) Unmarshal

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

func (*PeerAddressInfo) XXX_DiscardUnknown

func (m *PeerAddressInfo) XXX_DiscardUnknown()

func (*PeerAddressInfo) XXX_Marshal

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

func (*PeerAddressInfo) XXX_Merge

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

func (*PeerAddressInfo) XXX_Size

func (m *PeerAddressInfo) XXX_Size() int

func (*PeerAddressInfo) XXX_Unmarshal

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

type PeerInfo

type PeerInfo struct {
	ID            string             `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	AddressInfo   []*PeerAddressInfo `protobuf:"bytes,2,rep,name=address_info,json=addressInfo,proto3" json:"address_info,omitempty"`
	LastConnected *time.Time         `protobuf:"bytes,3,opt,name=last_connected,json=lastConnected,proto3,stdtime" json:"last_connected,omitempty"`
	Inactive      bool               `protobuf:"varint,4,opt,name=inactive,proto3" json:"inactive,omitempty"`
	ProTxHash     []byte             `protobuf:"bytes,5,opt,name=pro_tx_hash,json=proTxHash,proto3" json:"pro_tx_hash,omitempty"`
}

func (*PeerInfo) Descriptor

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

func (*PeerInfo) GetAddressInfo

func (m *PeerInfo) GetAddressInfo() []*PeerAddressInfo

func (*PeerInfo) GetID

func (m *PeerInfo) GetID() string

func (*PeerInfo) GetInactive

func (m *PeerInfo) GetInactive() bool

func (*PeerInfo) GetLastConnected

func (m *PeerInfo) GetLastConnected() *time.Time

func (*PeerInfo) GetProTxHash

func (m *PeerInfo) GetProTxHash() []byte

func (*PeerInfo) Marshal

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

func (*PeerInfo) MarshalTo

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

func (*PeerInfo) MarshalToSizedBuffer

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

func (*PeerInfo) ProtoMessage

func (*PeerInfo) ProtoMessage()

func (*PeerInfo) Reset

func (m *PeerInfo) Reset()

func (*PeerInfo) Size

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

func (*PeerInfo) String

func (m *PeerInfo) String() string

func (*PeerInfo) Unmarshal

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

func (*PeerInfo) XXX_DiscardUnknown

func (m *PeerInfo) XXX_DiscardUnknown()

func (*PeerInfo) XXX_Marshal

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

func (*PeerInfo) XXX_Merge

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

func (*PeerInfo) XXX_Size

func (m *PeerInfo) XXX_Size() int

func (*PeerInfo) XXX_Unmarshal

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

type PexAddress

type PexAddress struct {
	URL string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
}

func (*PexAddress) Descriptor

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

func (*PexAddress) GetURL

func (m *PexAddress) GetURL() string

func (*PexAddress) Marshal

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

func (*PexAddress) MarshalTo

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

func (*PexAddress) MarshalToSizedBuffer

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

func (*PexAddress) ProtoMessage

func (*PexAddress) ProtoMessage()

func (*PexAddress) Reset

func (m *PexAddress) Reset()

func (*PexAddress) Size

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

func (*PexAddress) String

func (m *PexAddress) String() string

func (*PexAddress) Unmarshal

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

func (*PexAddress) XXX_DiscardUnknown

func (m *PexAddress) XXX_DiscardUnknown()

func (*PexAddress) XXX_Marshal

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

func (*PexAddress) XXX_Merge

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

func (*PexAddress) XXX_Size

func (m *PexAddress) XXX_Size() int

func (*PexAddress) XXX_Unmarshal

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

type PexRequest

type PexRequest struct {
}

func (*PexRequest) Descriptor

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

func (*PexRequest) Marshal

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

func (*PexRequest) MarshalTo

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

func (*PexRequest) MarshalToSizedBuffer

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

func (*PexRequest) ProtoMessage

func (*PexRequest) ProtoMessage()

func (*PexRequest) Reset

func (m *PexRequest) Reset()

func (*PexRequest) Size

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

func (*PexRequest) String

func (m *PexRequest) String() string

func (*PexRequest) Unmarshal

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

func (*PexRequest) XXX_DiscardUnknown

func (m *PexRequest) XXX_DiscardUnknown()

func (*PexRequest) XXX_Marshal

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

func (*PexRequest) XXX_Merge

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

func (*PexRequest) XXX_Size

func (m *PexRequest) XXX_Size() int

func (*PexRequest) XXX_Unmarshal

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

type PexResponse

type PexResponse struct {
	Addresses []PexAddress `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses"`
}

func (*PexResponse) Descriptor

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

func (*PexResponse) GetAddresses

func (m *PexResponse) GetAddresses() []PexAddress

func (*PexResponse) Marshal

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

func (*PexResponse) MarshalTo

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

func (*PexResponse) MarshalToSizedBuffer

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

func (*PexResponse) ProtoMessage

func (*PexResponse) ProtoMessage()

func (*PexResponse) Reset

func (m *PexResponse) Reset()

func (*PexResponse) Size

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

func (*PexResponse) String

func (m *PexResponse) String() string

func (*PexResponse) Unmarshal

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

func (*PexResponse) XXX_DiscardUnknown

func (m *PexResponse) XXX_DiscardUnknown()

func (*PexResponse) XXX_Marshal

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

func (*PexResponse) XXX_Merge

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

func (*PexResponse) XXX_Size

func (m *PexResponse) XXX_Size() int

func (*PexResponse) XXX_Unmarshal

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

type ProtocolVersion

type ProtocolVersion struct {
	P2P   uint64 `protobuf:"varint,1,opt,name=p2p,proto3" json:"p2p,omitempty"`
	Block uint64 `protobuf:"varint,2,opt,name=block,proto3" json:"block,omitempty"`
	App   uint64 `protobuf:"varint,3,opt,name=app,proto3" json:"app,omitempty"`
}

func (*ProtocolVersion) Descriptor

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

func (*ProtocolVersion) GetApp

func (m *ProtocolVersion) GetApp() uint64

func (*ProtocolVersion) GetBlock

func (m *ProtocolVersion) GetBlock() uint64

func (*ProtocolVersion) GetP2P

func (m *ProtocolVersion) GetP2P() uint64

func (*ProtocolVersion) Marshal

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

func (*ProtocolVersion) MarshalTo

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

func (*ProtocolVersion) MarshalToSizedBuffer

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

func (*ProtocolVersion) ProtoMessage

func (*ProtocolVersion) ProtoMessage()

func (*ProtocolVersion) Reset

func (m *ProtocolVersion) Reset()

func (*ProtocolVersion) Size

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

func (*ProtocolVersion) String

func (m *ProtocolVersion) String() string

func (*ProtocolVersion) Unmarshal

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

func (*ProtocolVersion) XXX_DiscardUnknown

func (m *ProtocolVersion) XXX_DiscardUnknown()

func (*ProtocolVersion) XXX_Marshal

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

func (*ProtocolVersion) XXX_Merge

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

func (*ProtocolVersion) XXX_Size

func (m *ProtocolVersion) XXX_Size() int

func (*ProtocolVersion) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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