Versions in this module Expand all Collapse all v0 v0.1.0 Dec 10, 2018 Changes in this version + var ErrIntOverflowRpc = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthRpc = fmt.Errorf("proto: negative length found during unmarshaling") + var Type_name = map[int32]string + var Type_value = map[string]int32 + type Peer struct + ConnectionStatusJSON []byte + IsOutbound bool + NodeInfoJSON []byte + func (*Peer) Descriptor() ([]byte, []int) + func (*Peer) ProtoMessage() + func (m *Peer) GetConnectionStatusJSON() []byte + func (m *Peer) GetIsOutbound() bool + func (m *Peer) GetNodeInfoJSON() []byte + func (m *Peer) Marshal() (dAtA []byte, err error) + func (m *Peer) MarshalTo(dAtA []byte) (int, error) + func (m *Peer) Reset() + func (m *Peer) Size() (n int) + func (m *Peer) String() string + func (m *Peer) Unmarshal(dAtA []byte) error + type ResultBlock struct + Block *types.Block + BlockMeta *types.BlockMeta + func (*ResultBlock) Descriptor() ([]byte, []int) + func (*ResultBlock) ProtoMessage() + func (m *ResultBlock) GetBlock() *types.Block + func (m *ResultBlock) GetBlockMeta() *types.BlockMeta + func (m *ResultBlock) Marshal() (dAtA []byte, err error) + func (m *ResultBlock) MarshalTo(dAtA []byte) (int, error) + func (m *ResultBlock) Reset() + func (m *ResultBlock) Size() (n int) + func (m *ResultBlock) String() string + func (m *ResultBlock) Unmarshal(dAtA []byte) error + type ResultBlockchainInfo struct + BlockMetas []*types.BlockMeta + LastHeight int64 + func (*ResultBlockchainInfo) Descriptor() ([]byte, []int) + func (*ResultBlockchainInfo) ProtoMessage() + func (m *ResultBlockchainInfo) GetBlockMetas() []*types.BlockMeta + func (m *ResultBlockchainInfo) GetLastHeight() int64 + func (m *ResultBlockchainInfo) Marshal() (dAtA []byte, err error) + func (m *ResultBlockchainInfo) MarshalTo(dAtA []byte) (int, error) + func (m *ResultBlockchainInfo) Reset() + func (m *ResultBlockchainInfo) Size() (n int) + func (m *ResultBlockchainInfo) String() string + func (m *ResultBlockchainInfo) Unmarshal(dAtA []byte) error + type ResultBroadcastTx struct + Result *types.Result + func (*ResultBroadcastTx) Descriptor() ([]byte, []int) + func (*ResultBroadcastTx) ProtoMessage() + func (m *ResultBroadcastTx) GetResult() *types.Result + func (m *ResultBroadcastTx) Marshal() (dAtA []byte, err error) + func (m *ResultBroadcastTx) MarshalTo(dAtA []byte) (int, error) + func (m *ResultBroadcastTx) Reset() + func (m *ResultBroadcastTx) Size() (n int) + func (m *ResultBroadcastTx) String() string + func (m *ResultBroadcastTx) Unmarshal(dAtA []byte) error + type ResultBroadcastTxCommit struct + Result *types.Result + func (*ResultBroadcastTxCommit) Descriptor() ([]byte, []int) + func (*ResultBroadcastTxCommit) ProtoMessage() + func (m *ResultBroadcastTxCommit) GetResult() *types.Result + func (m *ResultBroadcastTxCommit) Marshal() (dAtA []byte, err error) + func (m *ResultBroadcastTxCommit) MarshalTo(dAtA []byte) (int, error) + func (m *ResultBroadcastTxCommit) Reset() + func (m *ResultBroadcastTxCommit) Size() (n int) + func (m *ResultBroadcastTxCommit) String() string + func (m *ResultBroadcastTxCommit) Unmarshal(dAtA []byte) error + type ResultCoreVersion struct + AppName string + AppVersion string + Hash string + Version string + func (*ResultCoreVersion) Descriptor() ([]byte, []int) + func (*ResultCoreVersion) ProtoMessage() + func (m *ResultCoreVersion) GetAppName() string + func (m *ResultCoreVersion) GetAppVersion() string + func (m *ResultCoreVersion) GetHash() string + func (m *ResultCoreVersion) GetVersion() string + func (m *ResultCoreVersion) Marshal() (dAtA []byte, err error) + func (m *ResultCoreVersion) MarshalTo(dAtA []byte) (int, error) + func (m *ResultCoreVersion) Reset() + func (m *ResultCoreVersion) Size() (n int) + func (m *ResultCoreVersion) String() string + func (m *ResultCoreVersion) Unmarshal(dAtA []byte) error + type ResultDumpConsensusState struct + PeerRoundStates []string + RoundState string + func (*ResultDumpConsensusState) Descriptor() ([]byte, []int) + func (*ResultDumpConsensusState) ProtoMessage() + func (m *ResultDumpConsensusState) GetPeerRoundStates() []string + func (m *ResultDumpConsensusState) GetRoundState() string + func (m *ResultDumpConsensusState) Marshal() (dAtA []byte, err error) + func (m *ResultDumpConsensusState) MarshalTo(dAtA []byte) (int, error) + func (m *ResultDumpConsensusState) Reset() + func (m *ResultDumpConsensusState) Size() (n int) + func (m *ResultDumpConsensusState) String() string + func (m *ResultDumpConsensusState) Unmarshal(dAtA []byte) error + type ResultEvent struct + Event []byte + Name string + Type events.EventType + func (*ResultEvent) Descriptor() ([]byte, []int) + func (*ResultEvent) ProtoMessage() + func (m *ResultEvent) GetEvent() []byte + func (m *ResultEvent) GetName() string + func (m *ResultEvent) GetType() events.EventType + func (m *ResultEvent) Marshal() (dAtA []byte, err error) + func (m *ResultEvent) MarshalTo(dAtA []byte) (int, error) + func (m *ResultEvent) Reset() + func (m *ResultEvent) Size() (n int) + func (m *ResultEvent) String() string + func (m *ResultEvent) Unmarshal(dAtA []byte) error + type ResultGenesis struct + GenesisJSON []byte + func (*ResultGenesis) Descriptor() ([]byte, []int) + func (*ResultGenesis) ProtoMessage() + func (m *ResultGenesis) GetGenesisJSON() []byte + func (m *ResultGenesis) Marshal() (dAtA []byte, err error) + func (m *ResultGenesis) MarshalTo(dAtA []byte) (int, error) + func (m *ResultGenesis) Reset() + func (m *ResultGenesis) Size() (n int) + func (m *ResultGenesis) String() string + func (m *ResultGenesis) Unmarshal(dAtA []byte) error + type ResultInfo struct + Data string + LastBlockAppHash []byte + LastBlockHeight int64 + Version string + func (*ResultInfo) Descriptor() ([]byte, []int) + func (*ResultInfo) ProtoMessage() + func (m *ResultInfo) GetData() string + func (m *ResultInfo) GetLastBlockAppHash() []byte + func (m *ResultInfo) GetLastBlockHeight() int64 + func (m *ResultInfo) GetVersion() string + func (m *ResultInfo) Marshal() (dAtA []byte, err error) + func (m *ResultInfo) MarshalTo(dAtA []byte) (int, error) + func (m *ResultInfo) Reset() + func (m *ResultInfo) Size() (n int) + func (m *ResultInfo) String() string + func (m *ResultInfo) Unmarshal(dAtA []byte) error + type ResultNetInfo struct + Listeners []string + Listening bool + Peers []*Peer + func (*ResultNetInfo) Descriptor() ([]byte, []int) + func (*ResultNetInfo) ProtoMessage() + func (m *ResultNetInfo) GetListeners() []string + func (m *ResultNetInfo) GetListening() bool + func (m *ResultNetInfo) GetPeers() []*Peer + func (m *ResultNetInfo) Marshal() (dAtA []byte, err error) + func (m *ResultNetInfo) MarshalTo(dAtA []byte) (int, error) + func (m *ResultNetInfo) Reset() + func (m *ResultNetInfo) Size() (n int) + func (m *ResultNetInfo) String() string + func (m *ResultNetInfo) Unmarshal(dAtA []byte) error + type ResultNonEmptyHeights struct + Heights []int64 + func (*ResultNonEmptyHeights) Descriptor() ([]byte, []int) + func (*ResultNonEmptyHeights) ProtoMessage() + func (m *ResultNonEmptyHeights) GetHeights() []int64 + func (m *ResultNonEmptyHeights) Marshal() (dAtA []byte, err error) + func (m *ResultNonEmptyHeights) MarshalTo(dAtA []byte) (int, error) + func (m *ResultNonEmptyHeights) Reset() + func (m *ResultNonEmptyHeights) Size() (n int) + func (m *ResultNonEmptyHeights) String() string + func (m *ResultNonEmptyHeights) Unmarshal(dAtA []byte) error + type ResultNumArchivedBlocks struct + Num int64 + func (*ResultNumArchivedBlocks) Descriptor() ([]byte, []int) + func (*ResultNumArchivedBlocks) ProtoMessage() + func (m *ResultNumArchivedBlocks) GetNum() int64 + func (m *ResultNumArchivedBlocks) Marshal() (dAtA []byte, err error) + func (m *ResultNumArchivedBlocks) MarshalTo(dAtA []byte) (int, error) + func (m *ResultNumArchivedBlocks) Reset() + func (m *ResultNumArchivedBlocks) Size() (n int) + func (m *ResultNumArchivedBlocks) String() string + func (m *ResultNumArchivedBlocks) Unmarshal(dAtA []byte) error + type ResultOrgs struct + Names []string + func (*ResultOrgs) Descriptor() ([]byte, []int) + func (*ResultOrgs) ProtoMessage() + func (m *ResultOrgs) GetNames() []string + func (m *ResultOrgs) Marshal() (dAtA []byte, err error) + func (m *ResultOrgs) MarshalTo(dAtA []byte) (int, error) + func (m *ResultOrgs) Reset() + func (m *ResultOrgs) Size() (n int) + func (m *ResultOrgs) String() string + func (m *ResultOrgs) Unmarshal(dAtA []byte) error + type ResultQuery struct + Result *types.Result + func (*ResultQuery) Descriptor() ([]byte, []int) + func (*ResultQuery) ProtoMessage() + func (m *ResultQuery) GetResult() *types.Result + func (m *ResultQuery) Marshal() (dAtA []byte, err error) + func (m *ResultQuery) MarshalTo(dAtA []byte) (int, error) + func (m *ResultQuery) Reset() + func (m *ResultQuery) Size() (n int) + func (m *ResultQuery) String() string + func (m *ResultQuery) Unmarshal(dAtA []byte) error + type ResultRefuseList struct + Result []string + func (*ResultRefuseList) Descriptor() ([]byte, []int) + func (*ResultRefuseList) ProtoMessage() + func (m *ResultRefuseList) GetResult() []string + func (m *ResultRefuseList) Marshal() (dAtA []byte, err error) + func (m *ResultRefuseList) MarshalTo(dAtA []byte) (int, error) + func (m *ResultRefuseList) Reset() + func (m *ResultRefuseList) Size() (n int) + func (m *ResultRefuseList) String() string + func (m *ResultRefuseList) Unmarshal(dAtA []byte) error + type ResultRequestSpecialOP struct + Result *types.Result + func (*ResultRequestSpecialOP) Descriptor() ([]byte, []int) + func (*ResultRequestSpecialOP) ProtoMessage() + func (m *ResultRequestSpecialOP) GetResult() *types.Result + func (m *ResultRequestSpecialOP) Marshal() (dAtA []byte, err error) + func (m *ResultRequestSpecialOP) MarshalTo(dAtA []byte) (int, error) + func (m *ResultRequestSpecialOP) Reset() + func (m *ResultRequestSpecialOP) Size() (n int) + func (m *ResultRequestSpecialOP) String() string + func (m *ResultRequestSpecialOP) Unmarshal(dAtA []byte) error + type ResultStatus struct + LatestAppHash []byte + LatestBlockHash []byte + LatestBlockHeight int64 + LatestBlockTime int64 + NodeInfoJSON []byte + Pubkey *types.PubKey + func (*ResultStatus) Descriptor() ([]byte, []int) + func (*ResultStatus) ProtoMessage() + func (m *ResultStatus) GetLatestAppHash() []byte + func (m *ResultStatus) GetLatestBlockHash() []byte + func (m *ResultStatus) GetLatestBlockHeight() int64 + func (m *ResultStatus) GetLatestBlockTime() int64 + func (m *ResultStatus) GetNodeInfoJSON() []byte + func (m *ResultStatus) GetPubkey() *types.PubKey + func (m *ResultStatus) Marshal() (dAtA []byte, err error) + func (m *ResultStatus) MarshalTo(dAtA []byte) (int, error) + func (m *ResultStatus) Reset() + func (m *ResultStatus) Size() (n int) + func (m *ResultStatus) String() string + func (m *ResultStatus) Unmarshal(dAtA []byte) error + type ResultSubscribe struct + func (*ResultSubscribe) Descriptor() ([]byte, []int) + func (*ResultSubscribe) ProtoMessage() + func (m *ResultSubscribe) Marshal() (dAtA []byte, err error) + func (m *ResultSubscribe) MarshalTo(dAtA []byte) (int, error) + func (m *ResultSubscribe) Reset() + func (m *ResultSubscribe) Size() (n int) + func (m *ResultSubscribe) String() string + func (m *ResultSubscribe) Unmarshal(dAtA []byte) error + type ResultSurveillance struct + Addr string + Height int64 + IsValidators bool + NanoSecsPerTx int64 + NumPeers int64 + NumValidators int64 + PubKey string + RunningTime int64 + func (*ResultSurveillance) Descriptor() ([]byte, []int) + func (*ResultSurveillance) ProtoMessage() + func (m *ResultSurveillance) GetAddr() string + func (m *ResultSurveillance) GetHeight() int64 + func (m *ResultSurveillance) GetIsValidators() bool + func (m *ResultSurveillance) GetNanoSecsPerTx() int64 + func (m *ResultSurveillance) GetNumPeers() int64 + func (m *ResultSurveillance) GetNumValidators() int64 + func (m *ResultSurveillance) GetPubKey() string + func (m *ResultSurveillance) GetRunningTime() int64 + func (m *ResultSurveillance) Marshal() (dAtA []byte, err error) + func (m *ResultSurveillance) MarshalTo(dAtA []byte) (int, error) + func (m *ResultSurveillance) Reset() + func (m *ResultSurveillance) Size() (n int) + func (m *ResultSurveillance) String() string + func (m *ResultSurveillance) Unmarshal(dAtA []byte) error + type ResultUnconfirmedTxs struct + N int64 + Txs [][]byte + func (*ResultUnconfirmedTxs) Descriptor() ([]byte, []int) + func (*ResultUnconfirmedTxs) ProtoMessage() + func (m *ResultUnconfirmedTxs) GetN() int64 + func (m *ResultUnconfirmedTxs) GetTxs() [][]byte + func (m *ResultUnconfirmedTxs) Marshal() (dAtA []byte, err error) + func (m *ResultUnconfirmedTxs) MarshalTo(dAtA []byte) (int, error) + func (m *ResultUnconfirmedTxs) Reset() + func (m *ResultUnconfirmedTxs) Size() (n int) + func (m *ResultUnconfirmedTxs) String() string + func (m *ResultUnconfirmedTxs) Unmarshal(dAtA []byte) error + type ResultUnsafeFlushMempool struct + func (*ResultUnsafeFlushMempool) Descriptor() ([]byte, []int) + func (*ResultUnsafeFlushMempool) ProtoMessage() + func (m *ResultUnsafeFlushMempool) Marshal() (dAtA []byte, err error) + func (m *ResultUnsafeFlushMempool) MarshalTo(dAtA []byte) (int, error) + func (m *ResultUnsafeFlushMempool) Reset() + func (m *ResultUnsafeFlushMempool) Size() (n int) + func (m *ResultUnsafeFlushMempool) String() string + func (m *ResultUnsafeFlushMempool) Unmarshal(dAtA []byte) error + type ResultUnsafeProfile struct + func (*ResultUnsafeProfile) Descriptor() ([]byte, []int) + func (*ResultUnsafeProfile) ProtoMessage() + func (m *ResultUnsafeProfile) Marshal() (dAtA []byte, err error) + func (m *ResultUnsafeProfile) MarshalTo(dAtA []byte) (int, error) + func (m *ResultUnsafeProfile) Reset() + func (m *ResultUnsafeProfile) Size() (n int) + func (m *ResultUnsafeProfile) String() string + func (m *ResultUnsafeProfile) Unmarshal(dAtA []byte) error + type ResultUnsafeSetConfig struct + func (*ResultUnsafeSetConfig) Descriptor() ([]byte, []int) + func (*ResultUnsafeSetConfig) ProtoMessage() + func (m *ResultUnsafeSetConfig) Marshal() (dAtA []byte, err error) + func (m *ResultUnsafeSetConfig) MarshalTo(dAtA []byte) (int, error) + func (m *ResultUnsafeSetConfig) Reset() + func (m *ResultUnsafeSetConfig) Size() (n int) + func (m *ResultUnsafeSetConfig) String() string + func (m *ResultUnsafeSetConfig) Unmarshal(dAtA []byte) error + type ResultUnsubscribe struct + func (*ResultUnsubscribe) Descriptor() ([]byte, []int) + func (*ResultUnsubscribe) ProtoMessage() + func (m *ResultUnsubscribe) Marshal() (dAtA []byte, err error) + func (m *ResultUnsubscribe) MarshalTo(dAtA []byte) (int, error) + func (m *ResultUnsubscribe) Reset() + func (m *ResultUnsubscribe) Size() (n int) + func (m *ResultUnsubscribe) String() string + func (m *ResultUnsubscribe) Unmarshal(dAtA []byte) error + type ResultValidators struct + BlockHeight int64 + ValidatorsJSON [][]byte + func (*ResultValidators) Descriptor() ([]byte, []int) + func (*ResultValidators) ProtoMessage() + func (m *ResultValidators) GetBlockHeight() int64 + func (m *ResultValidators) GetValidatorsJSON() [][]byte + func (m *ResultValidators) Marshal() (dAtA []byte, err error) + func (m *ResultValidators) MarshalTo(dAtA []byte) (int, error) + func (m *ResultValidators) Reset() + func (m *ResultValidators) Size() (n int) + func (m *ResultValidators) String() string + func (m *ResultValidators) Unmarshal(dAtA []byte) error + type Type int32 + const Type_RpcBlock + const Type_RpcBlockchainInfo + const Type_RpcBroadcastTx + const Type_RpcBroadcastTxCommit + const Type_RpcCoreVersion + const Type_RpcDialSeeds + const Type_RpcDumpConsensusState + const Type_RpcEvent + const Type_RpcGenesis + const Type_RpcInfo + const Type_RpcNetInfo + const Type_RpcNonEmptyHeights + const Type_RpcNone + const Type_RpcNumArchivedBlocks + const Type_RpcOrgs + const Type_RpcQuery + const Type_RpcRefuseList + const Type_RpcRequestSpecialOP + const Type_RpcStatus + const Type_RpcSubscribe + const Type_RpcSurveillance + const Type_RpcUnconfirmedTxs + const Type_RpcUnsafeFlushMempool + const Type_RpcUnsafeSetConfig + const Type_RpcUnsafeStartCPUProfiler + const Type_RpcUnsafeStopCPUProfiler + const Type_RpcUnsafeWriteHeapProfile + const Type_RpcUnsubscribe + const Type_RpcValidators + func (Type) EnumDescriptor() ([]byte, []int) + func (x Type) String() string