rpc

package
v0.0.0-...-a4757fd Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2018 License: Apache-2.0, Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package rpc is a generated protocol buffer package.

It is generated from these files:

rpc.proto

It has these top-level messages:

ResultBlockchainInfo
ResultGenesis
ResultBlock
ResultOrgs
ResultStatus
Peer
ResultNetInfo
ResultValidators
ResultDumpConsensusState
ResultBroadcastTx
ResultRequestSpecialOP
ResultBroadcastTxCommit
ResultUnconfirmedTxs
ResultInfo
ResultQuery
ResultRefuseList
ResultUnsafeFlushMempool
ResultUnsafeSetConfig
ResultUnsafeProfile
ResultSubscribe
ResultUnsubscribe
ResultEvent
ResultSurveillance
ResultCoreVersion
ResultNonEmptyHeights

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthRpc = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRpc   = fmt.Errorf("proto: integer overflow")
)
View Source
var Type_name = map[int32]string{
	0:   "RpcNone",
	1:   "RpcGenesis",
	2:   "RpcBlockchainInfo",
	3:   "RpcBlock",
	4:   "RpcNonEmptyHeights",
	32:  "RpcStatus",
	33:  "RpcNetInfo",
	34:  "RpcDialSeeds",
	35:  "RpcOrgs",
	16:  "RpcRefuseList",
	64:  "RpcValidators",
	65:  "RpcDumpConsensusState",
	96:  "RpcBroadcastTx",
	97:  "RpcUnconfirmedTxs",
	98:  "RpcBroadcastTxCommit",
	99:  "RpcRequestSpecialOP",
	112: "RpcQuery",
	113: "RpcInfo",
	128: "RpcSubscribe",
	129: "RpcUnsubscribe",
	130: "RpcEvent",
	160: "RpcUnsafeSetConfig",
	161: "RpcUnsafeStartCPUProfiler",
	162: "RpcUnsafeStopCPUProfiler",
	163: "RpcUnsafeWriteHeapProfile",
	164: "RpcUnsafeFlushMempool",
	175: "RpcCoreVersion",
	144: "RpcSurveillance",
}
View Source
var Type_value = map[string]int32{
	"RpcNone":                   0,
	"RpcGenesis":                1,
	"RpcBlockchainInfo":         2,
	"RpcBlock":                  3,
	"RpcNonEmptyHeights":        4,
	"RpcStatus":                 32,
	"RpcNetInfo":                33,
	"RpcDialSeeds":              34,
	"RpcOrgs":                   35,
	"RpcRefuseList":             16,
	"RpcValidators":             64,
	"RpcDumpConsensusState":     65,
	"RpcBroadcastTx":            96,
	"RpcUnconfirmedTxs":         97,
	"RpcBroadcastTxCommit":      98,
	"RpcRequestSpecialOP":       99,
	"RpcQuery":                  112,
	"RpcInfo":                   113,
	"RpcSubscribe":              128,
	"RpcUnsubscribe":            129,
	"RpcEvent":                  130,
	"RpcUnsafeSetConfig":        160,
	"RpcUnsafeStartCPUProfiler": 161,
	"RpcUnsafeStopCPUProfiler":  162,
	"RpcUnsafeWriteHeapProfile": 163,
	"RpcUnsafeFlushMempool":     164,
	"RpcCoreVersion":            175,
	"RpcSurveillance":           144,
}

Functions

This section is empty.

Types

type Peer

type Peer struct {
	NodeInfoJSON         []byte `protobuf:"bytes,1,opt,name=NodeInfoJSON,proto3" json:"NodeInfoJSON,omitempty"`
	IsOutbound           bool   `protobuf:"varint,2,opt,name=IsOutbound,proto3" json:"IsOutbound,omitempty"`
	ConnectionStatusJSON []byte `protobuf:"bytes,3,opt,name=ConnectionStatusJSON,proto3" json:"ConnectionStatusJSON,omitempty"`
}

func (*Peer) Descriptor

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

func (*Peer) GetConnectionStatusJSON

func (m *Peer) GetConnectionStatusJSON() []byte

func (*Peer) GetIsOutbound

func (m *Peer) GetIsOutbound() bool

func (*Peer) GetNodeInfoJSON

func (m *Peer) GetNodeInfoJSON() []byte

func (*Peer) Marshal

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

func (*Peer) MarshalTo

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

func (*Peer) ProtoMessage

func (*Peer) ProtoMessage()

func (*Peer) Reset

func (m *Peer) Reset()

func (*Peer) Size

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

func (*Peer) String

func (m *Peer) String() string

func (*Peer) Unmarshal

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

type ResultBlock

type ResultBlock struct {
	BlockMeta *types.BlockMeta `protobuf:"bytes,1,opt,name=BlockMeta" json:"BlockMeta,omitempty"`
	Block     *types.Block     `protobuf:"bytes,2,opt,name=Block" json:"Block,omitempty"`
}

func (*ResultBlock) Descriptor

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

func (*ResultBlock) GetBlock

func (m *ResultBlock) GetBlock() *types.Block

func (*ResultBlock) GetBlockMeta

func (m *ResultBlock) GetBlockMeta() *types.BlockMeta

func (*ResultBlock) Marshal

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

func (*ResultBlock) MarshalTo

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

func (*ResultBlock) ProtoMessage

func (*ResultBlock) ProtoMessage()

func (*ResultBlock) Reset

func (m *ResultBlock) Reset()

func (*ResultBlock) Size

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

func (*ResultBlock) String

func (m *ResultBlock) String() string

func (*ResultBlock) Unmarshal

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

type ResultBlockchainInfo

type ResultBlockchainInfo struct {
	LastHeight int64              `protobuf:"varint,1,opt,name=LastHeight,proto3" json:"LastHeight,omitempty"`
	BlockMetas []*types.BlockMeta `protobuf:"bytes,2,rep,name=BlockMetas" json:"BlockMetas,omitempty"`
}

func (*ResultBlockchainInfo) Descriptor

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

func (*ResultBlockchainInfo) GetBlockMetas

func (m *ResultBlockchainInfo) GetBlockMetas() []*types.BlockMeta

func (*ResultBlockchainInfo) GetLastHeight

func (m *ResultBlockchainInfo) GetLastHeight() int64

func (*ResultBlockchainInfo) Marshal

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

func (*ResultBlockchainInfo) MarshalTo

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

func (*ResultBlockchainInfo) ProtoMessage

func (*ResultBlockchainInfo) ProtoMessage()

func (*ResultBlockchainInfo) Reset

func (m *ResultBlockchainInfo) Reset()

func (*ResultBlockchainInfo) Size

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

func (*ResultBlockchainInfo) String

func (m *ResultBlockchainInfo) String() string

func (*ResultBlockchainInfo) Unmarshal

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

type ResultBroadcastTx

type ResultBroadcastTx struct {
	Result *types.Result `protobuf:"bytes,1,opt,name=Result" json:"Result,omitempty"`
}

func (*ResultBroadcastTx) Descriptor

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

func (*ResultBroadcastTx) GetResult

func (m *ResultBroadcastTx) GetResult() *types.Result

func (*ResultBroadcastTx) Marshal

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

func (*ResultBroadcastTx) MarshalTo

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

func (*ResultBroadcastTx) ProtoMessage

func (*ResultBroadcastTx) ProtoMessage()

func (*ResultBroadcastTx) Reset

func (m *ResultBroadcastTx) Reset()

func (*ResultBroadcastTx) Size

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

func (*ResultBroadcastTx) String

func (m *ResultBroadcastTx) String() string

func (*ResultBroadcastTx) Unmarshal

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

type ResultBroadcastTxCommit

type ResultBroadcastTxCommit struct {
	Result *types.Result `protobuf:"bytes,1,opt,name=Result" json:"Result,omitempty"`
}

func (*ResultBroadcastTxCommit) Descriptor

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

func (*ResultBroadcastTxCommit) GetResult

func (m *ResultBroadcastTxCommit) GetResult() *types.Result

func (*ResultBroadcastTxCommit) Marshal

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

func (*ResultBroadcastTxCommit) MarshalTo

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

func (*ResultBroadcastTxCommit) ProtoMessage

func (*ResultBroadcastTxCommit) ProtoMessage()

func (*ResultBroadcastTxCommit) Reset

func (m *ResultBroadcastTxCommit) Reset()

func (*ResultBroadcastTxCommit) Size

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

func (*ResultBroadcastTxCommit) String

func (m *ResultBroadcastTxCommit) String() string

func (*ResultBroadcastTxCommit) Unmarshal

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

type ResultCoreVersion

type ResultCoreVersion struct {
	Version    string `protobuf:"bytes,1,opt,name=Version,proto3" json:"Version,omitempty"`
	AppName    string `protobuf:"bytes,2,opt,name=AppName,proto3" json:"AppName,omitempty"`
	AppVersion string `protobuf:"bytes,3,opt,name=AppVersion,proto3" json:"AppVersion,omitempty"`
	Hash       string `protobuf:"bytes,4,opt,name=Hash,proto3" json:"Hash,omitempty"`
}

func (*ResultCoreVersion) Descriptor

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

func (*ResultCoreVersion) GetAppName

func (m *ResultCoreVersion) GetAppName() string

func (*ResultCoreVersion) GetAppVersion

func (m *ResultCoreVersion) GetAppVersion() string

func (*ResultCoreVersion) GetHash

func (m *ResultCoreVersion) GetHash() string

func (*ResultCoreVersion) GetVersion

func (m *ResultCoreVersion) GetVersion() string

func (*ResultCoreVersion) Marshal

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

func (*ResultCoreVersion) MarshalTo

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

func (*ResultCoreVersion) ProtoMessage

func (*ResultCoreVersion) ProtoMessage()

func (*ResultCoreVersion) Reset

func (m *ResultCoreVersion) Reset()

func (*ResultCoreVersion) Size

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

func (*ResultCoreVersion) String

func (m *ResultCoreVersion) String() string

func (*ResultCoreVersion) Unmarshal

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

type ResultDumpConsensusState

type ResultDumpConsensusState struct {
	RoundState      string   `protobuf:"bytes,1,opt,name=RoundState,proto3" json:"RoundState,omitempty"`
	PeerRoundStates []string `protobuf:"bytes,2,rep,name=PeerRoundStates" json:"PeerRoundStates,omitempty"`
}

func (*ResultDumpConsensusState) Descriptor

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

func (*ResultDumpConsensusState) GetPeerRoundStates

func (m *ResultDumpConsensusState) GetPeerRoundStates() []string

func (*ResultDumpConsensusState) GetRoundState

func (m *ResultDumpConsensusState) GetRoundState() string

func (*ResultDumpConsensusState) Marshal

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

func (*ResultDumpConsensusState) MarshalTo

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

func (*ResultDumpConsensusState) ProtoMessage

func (*ResultDumpConsensusState) ProtoMessage()

func (*ResultDumpConsensusState) Reset

func (m *ResultDumpConsensusState) Reset()

func (*ResultDumpConsensusState) Size

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

func (*ResultDumpConsensusState) String

func (m *ResultDumpConsensusState) String() string

func (*ResultDumpConsensusState) Unmarshal

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

type ResultEvent

type ResultEvent struct {
	Name  string           `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Type  events.EventType `protobuf:"varint,2,opt,name=Type,proto3,enum=events.EventType" json:"Type,omitempty"`
	Event []byte           `protobuf:"bytes,3,opt,name=Event,proto3" json:"Event,omitempty"`
}

func (*ResultEvent) Descriptor

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

func (*ResultEvent) GetEvent

func (m *ResultEvent) GetEvent() []byte

func (*ResultEvent) GetName

func (m *ResultEvent) GetName() string

func (*ResultEvent) GetType

func (m *ResultEvent) GetType() events.EventType

func (*ResultEvent) Marshal

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

func (*ResultEvent) MarshalTo

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

func (*ResultEvent) ProtoMessage

func (*ResultEvent) ProtoMessage()

func (*ResultEvent) Reset

func (m *ResultEvent) Reset()

func (*ResultEvent) Size

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

func (*ResultEvent) String

func (m *ResultEvent) String() string

func (*ResultEvent) Unmarshal

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

type ResultGenesis

type ResultGenesis struct {
	GenesisJSON []byte `protobuf:"bytes,1,opt,name=GenesisJSON,proto3" json:"GenesisJSON,omitempty"`
}

func (*ResultGenesis) Descriptor

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

func (*ResultGenesis) GetGenesisJSON

func (m *ResultGenesis) GetGenesisJSON() []byte

func (*ResultGenesis) Marshal

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

func (*ResultGenesis) MarshalTo

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

func (*ResultGenesis) ProtoMessage

func (*ResultGenesis) ProtoMessage()

func (*ResultGenesis) Reset

func (m *ResultGenesis) Reset()

func (*ResultGenesis) Size

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

func (*ResultGenesis) String

func (m *ResultGenesis) String() string

func (*ResultGenesis) Unmarshal

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

type ResultInfo

type ResultInfo struct {
	Data             string `protobuf:"bytes,1,opt,name=Data,proto3" json:"Data,omitempty"`
	Version          string `protobuf:"bytes,2,opt,name=Version,proto3" json:"Version,omitempty"`
	LastBlockHeight  int64  `protobuf:"varint,3,opt,name=LastBlockHeight,proto3" json:"LastBlockHeight,omitempty"`
	LastBlockAppHash []byte `protobuf:"bytes,4,opt,name=LastBlockAppHash,proto3" json:"LastBlockAppHash,omitempty"`
}

func (*ResultInfo) Descriptor

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

func (*ResultInfo) GetData

func (m *ResultInfo) GetData() string

func (*ResultInfo) GetLastBlockAppHash

func (m *ResultInfo) GetLastBlockAppHash() []byte

func (*ResultInfo) GetLastBlockHeight

func (m *ResultInfo) GetLastBlockHeight() int64

func (*ResultInfo) GetVersion

func (m *ResultInfo) GetVersion() string

func (*ResultInfo) Marshal

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

func (*ResultInfo) MarshalTo

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

func (*ResultInfo) ProtoMessage

func (*ResultInfo) ProtoMessage()

func (*ResultInfo) Reset

func (m *ResultInfo) Reset()

func (*ResultInfo) Size

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

func (*ResultInfo) String

func (m *ResultInfo) String() string

func (*ResultInfo) Unmarshal

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

type ResultNetInfo

type ResultNetInfo struct {
	Listening bool     `protobuf:"varint,1,opt,name=Listening,proto3" json:"Listening,omitempty"`
	Listeners []string `protobuf:"bytes,2,rep,name=Listeners" json:"Listeners,omitempty"`
	Peers     []*Peer  `protobuf:"bytes,3,rep,name=peers" json:"peers,omitempty"`
}

func (*ResultNetInfo) Descriptor

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

func (*ResultNetInfo) GetListeners

func (m *ResultNetInfo) GetListeners() []string

func (*ResultNetInfo) GetListening

func (m *ResultNetInfo) GetListening() bool

func (*ResultNetInfo) GetPeers

func (m *ResultNetInfo) GetPeers() []*Peer

func (*ResultNetInfo) Marshal

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

func (*ResultNetInfo) MarshalTo

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

func (*ResultNetInfo) ProtoMessage

func (*ResultNetInfo) ProtoMessage()

func (*ResultNetInfo) Reset

func (m *ResultNetInfo) Reset()

func (*ResultNetInfo) Size

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

func (*ResultNetInfo) String

func (m *ResultNetInfo) String() string

func (*ResultNetInfo) Unmarshal

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

type ResultNonEmptyHeights

type ResultNonEmptyHeights struct {
	Heights []int64 `protobuf:"varint,1,rep,packed,name=Heights" json:"Heights,omitempty"`
}

func (*ResultNonEmptyHeights) Descriptor

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

func (*ResultNonEmptyHeights) GetHeights

func (m *ResultNonEmptyHeights) GetHeights() []int64

func (*ResultNonEmptyHeights) Marshal

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

func (*ResultNonEmptyHeights) MarshalTo

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

func (*ResultNonEmptyHeights) ProtoMessage

func (*ResultNonEmptyHeights) ProtoMessage()

func (*ResultNonEmptyHeights) Reset

func (m *ResultNonEmptyHeights) Reset()

func (*ResultNonEmptyHeights) Size

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

func (*ResultNonEmptyHeights) String

func (m *ResultNonEmptyHeights) String() string

func (*ResultNonEmptyHeights) Unmarshal

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

type ResultOrgs

type ResultOrgs struct {
	Names []string `protobuf:"bytes,1,rep,name=Names" json:"Names,omitempty"`
}

func (*ResultOrgs) Descriptor

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

func (*ResultOrgs) GetNames

func (m *ResultOrgs) GetNames() []string

func (*ResultOrgs) Marshal

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

func (*ResultOrgs) MarshalTo

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

func (*ResultOrgs) ProtoMessage

func (*ResultOrgs) ProtoMessage()

func (*ResultOrgs) Reset

func (m *ResultOrgs) Reset()

func (*ResultOrgs) Size

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

func (*ResultOrgs) String

func (m *ResultOrgs) String() string

func (*ResultOrgs) Unmarshal

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

type ResultQuery

type ResultQuery struct {
	Result *types.Result `protobuf:"bytes,1,opt,name=Result" json:"Result,omitempty"`
}

func (*ResultQuery) Descriptor

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

func (*ResultQuery) GetResult

func (m *ResultQuery) GetResult() *types.Result

func (*ResultQuery) Marshal

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

func (*ResultQuery) MarshalTo

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

func (*ResultQuery) ProtoMessage

func (*ResultQuery) ProtoMessage()

func (*ResultQuery) Reset

func (m *ResultQuery) Reset()

func (*ResultQuery) Size

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

func (*ResultQuery) String

func (m *ResultQuery) String() string

func (*ResultQuery) Unmarshal

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

type ResultRefuseList

type ResultRefuseList struct {
	Result []string `protobuf:"bytes,1,rep,name=Result" json:"Result,omitempty"`
}

func (*ResultRefuseList) Descriptor

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

func (*ResultRefuseList) GetResult

func (m *ResultRefuseList) GetResult() []string

func (*ResultRefuseList) Marshal

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

func (*ResultRefuseList) MarshalTo

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

func (*ResultRefuseList) ProtoMessage

func (*ResultRefuseList) ProtoMessage()

func (*ResultRefuseList) Reset

func (m *ResultRefuseList) Reset()

func (*ResultRefuseList) Size

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

func (*ResultRefuseList) String

func (m *ResultRefuseList) String() string

func (*ResultRefuseList) Unmarshal

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

type ResultRequestSpecialOP

type ResultRequestSpecialOP struct {
	Result *types.Result `protobuf:"bytes,1,opt,name=Result" json:"Result,omitempty"`
}

func (*ResultRequestSpecialOP) Descriptor

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

func (*ResultRequestSpecialOP) GetResult

func (m *ResultRequestSpecialOP) GetResult() *types.Result

func (*ResultRequestSpecialOP) Marshal

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

func (*ResultRequestSpecialOP) MarshalTo

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

func (*ResultRequestSpecialOP) ProtoMessage

func (*ResultRequestSpecialOP) ProtoMessage()

func (*ResultRequestSpecialOP) Reset

func (m *ResultRequestSpecialOP) Reset()

func (*ResultRequestSpecialOP) Size

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

func (*ResultRequestSpecialOP) String

func (m *ResultRequestSpecialOP) String() string

func (*ResultRequestSpecialOP) Unmarshal

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

type ResultStatus

type ResultStatus struct {
	NodeInfoJSON      []byte        `protobuf:"bytes,1,opt,name=NodeInfoJSON,proto3" json:"NodeInfoJSON,omitempty"`
	Pubkey            *types.PubKey `protobuf:"bytes,2,opt,name=Pubkey" json:"Pubkey,omitempty"`
	LatestBlockHash   []byte        `protobuf:"bytes,3,opt,name=LatestBlockHash,proto3" json:"LatestBlockHash,omitempty"`
	LatestAppHash     []byte        `protobuf:"bytes,4,opt,name=LatestAppHash,proto3" json:"LatestAppHash,omitempty"`
	LatestBlockHeight int64         `protobuf:"varint,5,opt,name=LatestBlockHeight,proto3" json:"LatestBlockHeight,omitempty"`
	LatestBlockTime   int64         `protobuf:"varint,6,opt,name=LatestBlockTime,proto3" json:"LatestBlockTime,omitempty"`
}

func (*ResultStatus) Descriptor

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

func (*ResultStatus) GetLatestAppHash

func (m *ResultStatus) GetLatestAppHash() []byte

func (*ResultStatus) GetLatestBlockHash

func (m *ResultStatus) GetLatestBlockHash() []byte

func (*ResultStatus) GetLatestBlockHeight

func (m *ResultStatus) GetLatestBlockHeight() int64

func (*ResultStatus) GetLatestBlockTime

func (m *ResultStatus) GetLatestBlockTime() int64

func (*ResultStatus) GetNodeInfoJSON

func (m *ResultStatus) GetNodeInfoJSON() []byte

func (*ResultStatus) GetPubkey

func (m *ResultStatus) GetPubkey() *types.PubKey

func (*ResultStatus) Marshal

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

func (*ResultStatus) MarshalTo

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

func (*ResultStatus) ProtoMessage

func (*ResultStatus) ProtoMessage()

func (*ResultStatus) Reset

func (m *ResultStatus) Reset()

func (*ResultStatus) Size

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

func (*ResultStatus) String

func (m *ResultStatus) String() string

func (*ResultStatus) Unmarshal

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

type ResultSubscribe

type ResultSubscribe struct {
}

func (*ResultSubscribe) Descriptor

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

func (*ResultSubscribe) Marshal

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

func (*ResultSubscribe) MarshalTo

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

func (*ResultSubscribe) ProtoMessage

func (*ResultSubscribe) ProtoMessage()

func (*ResultSubscribe) Reset

func (m *ResultSubscribe) Reset()

func (*ResultSubscribe) Size

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

func (*ResultSubscribe) String

func (m *ResultSubscribe) String() string

func (*ResultSubscribe) Unmarshal

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

type ResultSurveillance

type ResultSurveillance struct {
	NanoSecsPerTx int64  `protobuf:"varint,1,opt,name=NanoSecsPerTx,proto3" json:"NanoSecsPerTx,omitempty"`
	Height        int64  `protobuf:"varint,2,opt,name=Height,proto3" json:"Height,omitempty"`
	Addr          string `protobuf:"bytes,3,opt,name=Addr,proto3" json:"Addr,omitempty"`
	IsValidators  bool   `protobuf:"varint,4,opt,name=IsValidators,proto3" json:"IsValidators,omitempty"`
	NumValidators int64  `protobuf:"varint,5,opt,name=NumValidators,proto3" json:"NumValidators,omitempty"`
	NumPeers      int64  `protobuf:"varint,6,opt,name=NumPeers,proto3" json:"NumPeers,omitempty"`
	RunningTime   int64  `protobuf:"varint,7,opt,name=RunningTime,proto3" json:"RunningTime,omitempty"`
	PubKey        string `protobuf:"bytes,8,opt,name=PubKey,proto3" json:"PubKey,omitempty"`
}

func (*ResultSurveillance) Descriptor

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

func (*ResultSurveillance) GetAddr

func (m *ResultSurveillance) GetAddr() string

func (*ResultSurveillance) GetHeight

func (m *ResultSurveillance) GetHeight() int64

func (*ResultSurveillance) GetIsValidators

func (m *ResultSurveillance) GetIsValidators() bool

func (*ResultSurveillance) GetNanoSecsPerTx

func (m *ResultSurveillance) GetNanoSecsPerTx() int64

func (*ResultSurveillance) GetNumPeers

func (m *ResultSurveillance) GetNumPeers() int64

func (*ResultSurveillance) GetNumValidators

func (m *ResultSurveillance) GetNumValidators() int64

func (*ResultSurveillance) GetPubKey

func (m *ResultSurveillance) GetPubKey() string

func (*ResultSurveillance) GetRunningTime

func (m *ResultSurveillance) GetRunningTime() int64

func (*ResultSurveillance) Marshal

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

func (*ResultSurveillance) MarshalTo

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

func (*ResultSurveillance) ProtoMessage

func (*ResultSurveillance) ProtoMessage()

func (*ResultSurveillance) Reset

func (m *ResultSurveillance) Reset()

func (*ResultSurveillance) Size

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

func (*ResultSurveillance) String

func (m *ResultSurveillance) String() string

func (*ResultSurveillance) Unmarshal

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

type ResultUnconfirmedTxs

type ResultUnconfirmedTxs struct {
	N   int64    `protobuf:"varint,1,opt,name=N,proto3" json:"N,omitempty"`
	Txs [][]byte `protobuf:"bytes,2,rep,name=Txs" json:"Txs,omitempty"`
}

func (*ResultUnconfirmedTxs) Descriptor

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

func (*ResultUnconfirmedTxs) GetN

func (m *ResultUnconfirmedTxs) GetN() int64

func (*ResultUnconfirmedTxs) GetTxs

func (m *ResultUnconfirmedTxs) GetTxs() [][]byte

func (*ResultUnconfirmedTxs) Marshal

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

func (*ResultUnconfirmedTxs) MarshalTo

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

func (*ResultUnconfirmedTxs) ProtoMessage

func (*ResultUnconfirmedTxs) ProtoMessage()

func (*ResultUnconfirmedTxs) Reset

func (m *ResultUnconfirmedTxs) Reset()

func (*ResultUnconfirmedTxs) Size

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

func (*ResultUnconfirmedTxs) String

func (m *ResultUnconfirmedTxs) String() string

func (*ResultUnconfirmedTxs) Unmarshal

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

type ResultUnsafeFlushMempool

type ResultUnsafeFlushMempool struct {
}

func (*ResultUnsafeFlushMempool) Descriptor

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

func (*ResultUnsafeFlushMempool) Marshal

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

func (*ResultUnsafeFlushMempool) MarshalTo

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

func (*ResultUnsafeFlushMempool) ProtoMessage

func (*ResultUnsafeFlushMempool) ProtoMessage()

func (*ResultUnsafeFlushMempool) Reset

func (m *ResultUnsafeFlushMempool) Reset()

func (*ResultUnsafeFlushMempool) Size

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

func (*ResultUnsafeFlushMempool) String

func (m *ResultUnsafeFlushMempool) String() string

func (*ResultUnsafeFlushMempool) Unmarshal

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

type ResultUnsafeProfile

type ResultUnsafeProfile struct {
}

func (*ResultUnsafeProfile) Descriptor

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

func (*ResultUnsafeProfile) Marshal

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

func (*ResultUnsafeProfile) MarshalTo

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

func (*ResultUnsafeProfile) ProtoMessage

func (*ResultUnsafeProfile) ProtoMessage()

func (*ResultUnsafeProfile) Reset

func (m *ResultUnsafeProfile) Reset()

func (*ResultUnsafeProfile) Size

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

func (*ResultUnsafeProfile) String

func (m *ResultUnsafeProfile) String() string

func (*ResultUnsafeProfile) Unmarshal

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

type ResultUnsafeSetConfig

type ResultUnsafeSetConfig struct {
}

func (*ResultUnsafeSetConfig) Descriptor

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

func (*ResultUnsafeSetConfig) Marshal

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

func (*ResultUnsafeSetConfig) MarshalTo

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

func (*ResultUnsafeSetConfig) ProtoMessage

func (*ResultUnsafeSetConfig) ProtoMessage()

func (*ResultUnsafeSetConfig) Reset

func (m *ResultUnsafeSetConfig) Reset()

func (*ResultUnsafeSetConfig) Size

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

func (*ResultUnsafeSetConfig) String

func (m *ResultUnsafeSetConfig) String() string

func (*ResultUnsafeSetConfig) Unmarshal

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

type ResultUnsubscribe

type ResultUnsubscribe struct {
}

func (*ResultUnsubscribe) Descriptor

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

func (*ResultUnsubscribe) Marshal

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

func (*ResultUnsubscribe) MarshalTo

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

func (*ResultUnsubscribe) ProtoMessage

func (*ResultUnsubscribe) ProtoMessage()

func (*ResultUnsubscribe) Reset

func (m *ResultUnsubscribe) Reset()

func (*ResultUnsubscribe) Size

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

func (*ResultUnsubscribe) String

func (m *ResultUnsubscribe) String() string

func (*ResultUnsubscribe) Unmarshal

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

type ResultValidators

type ResultValidators struct {
	BlockHeight    int64    `protobuf:"varint,1,opt,name=BlockHeight,proto3" json:"BlockHeight,omitempty"`
	ValidatorsJSON [][]byte `protobuf:"bytes,2,rep,name=ValidatorsJSON" json:"ValidatorsJSON,omitempty"`
}

func (*ResultValidators) Descriptor

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

func (*ResultValidators) GetBlockHeight

func (m *ResultValidators) GetBlockHeight() int64

func (*ResultValidators) GetValidatorsJSON

func (m *ResultValidators) GetValidatorsJSON() [][]byte

func (*ResultValidators) Marshal

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

func (*ResultValidators) MarshalTo

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

func (*ResultValidators) ProtoMessage

func (*ResultValidators) ProtoMessage()

func (*ResultValidators) Reset

func (m *ResultValidators) Reset()

func (*ResultValidators) Size

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

func (*ResultValidators) String

func (m *ResultValidators) String() string

func (*ResultValidators) Unmarshal

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

type Type

type Type int32
const (
	Type_RpcNone            Type = 0
	Type_RpcGenesis         Type = 1
	Type_RpcBlockchainInfo  Type = 2
	Type_RpcBlock           Type = 3
	Type_RpcNonEmptyHeights Type = 4
	// 0x2 bytes are for the network
	Type_RpcStatus    Type = 32
	Type_RpcNetInfo   Type = 33
	Type_RpcDialSeeds Type = 34
	Type_RpcOrgs      Type = 35
	// 0x1  bytes are for refuseList
	Type_RpcRefuseList Type = 16
	// 0x4 bytes are for the consensus
	Type_RpcValidators         Type = 64
	Type_RpcDumpConsensusState Type = 65
	// 0x6 bytes are for txs / the application
	Type_RpcBroadcastTx       Type = 96
	Type_RpcUnconfirmedTxs    Type = 97
	Type_RpcBroadcastTxCommit Type = 98
	Type_RpcRequestSpecialOP  Type = 99
	// 0x7 bytes are for querying the application
	Type_RpcQuery Type = 112
	Type_RpcInfo  Type = 113
	// 0x8 bytes are for events
	Type_RpcSubscribe   Type = 128
	Type_RpcUnsubscribe Type = 129
	Type_RpcEvent       Type = 130
	// 0xa bytes for testing
	Type_RpcUnsafeSetConfig        Type = 160
	Type_RpcUnsafeStartCPUProfiler Type = 161
	Type_RpcUnsafeStopCPUProfiler  Type = 162
	Type_RpcUnsafeWriteHeapProfile Type = 163
	Type_RpcUnsafeFlushMempool     Type = 164
	Type_RpcCoreVersion            Type = 175
	// 0x9 bytes are for za_surveillance
	Type_RpcSurveillance Type = 144
)

func (Type) EnumDescriptor

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

func (Type) String

func (x Type) String() string

Jump to

Keyboard shortcuts

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