proto

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var File_aobjs_proto protoreflect.FileDescriptor
View Source
var File_bootnode_proto protoreflect.FileDescriptor
View Source
var File_cobjs_proto protoreflect.FileDescriptor
View Source
var File_localstate_proto protoreflect.FileDescriptor
View Source
var File_localstatetypes_proto protoreflect.FileDescriptor

Functions

func NewInboundRPCDispatch

func NewInboundRPCDispatch() *inboundRPCDispatch

NewInboundRPCDispatch will construct a new inboundRPCDispatcher with all fields properly initialized.

func RegisterBootNodeServer

func RegisterBootNodeServer(s *grpc.Server, srv BootNodeServer)

func RegisterDiscoveryServer

func RegisterDiscoveryServer(s *grpc.Server, srv DiscoveryServer)

func RegisterLocalStateHandler

func RegisterLocalStateHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterLocalStateHandler registers the http handlers for service LocalState to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterLocalStateHandlerClient

func RegisterLocalStateHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LocalStateClient) error

RegisterLocalStateHandlerClient registers the http handlers for service LocalState to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "LocalStateClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "LocalStateClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "LocalStateClient" to call the correct interceptors.

func RegisterLocalStateHandlerFromEndpoint

func RegisterLocalStateHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterLocalStateHandlerFromEndpoint is same as RegisterLocalStateHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterLocalStateHandlerServer

func RegisterLocalStateHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LocalStateServer) error

RegisterLocalStateHandlerServer registers the http handlers for service LocalState to "mux". UnaryRPC :call LocalStateServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterLocalStateHandlerFromEndpoint instead.

func RegisterLocalStateServer

func RegisterLocalStateServer(s *grpc.Server, srv LocalStateServer)

func RegisterP2PServer

func RegisterP2PServer(s *grpc.Server, srv P2PServer)

Types

type ASPreImage

type ASPreImage struct {
	ChainID  uint32 `protobuf:"varint,1,opt,name=ChainID,proto3" json:"ChainID,omitempty"`
	Value    string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
	TXOutIdx uint32 `protobuf:"varint,3,opt,name=TXOutIdx,proto3" json:"TXOutIdx,omitempty"`
	IssuedAt uint32 `protobuf:"varint,4,opt,name=IssuedAt,proto3" json:"IssuedAt,omitempty"`
	Exp      uint32 `protobuf:"varint,5,opt,name=Exp,proto3" json:"Exp,omitempty"`
	Owner    string `protobuf:"bytes,6,opt,name=Owner,proto3" json:"Owner,omitempty"`
	// contains filtered or unexported fields
}

Protobuf message implementation for struct ASPreImage

func (*ASPreImage) Descriptor deprecated

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

Deprecated: Use ASPreImage.ProtoReflect.Descriptor instead.

func (*ASPreImage) GetChainID

func (x *ASPreImage) GetChainID() uint32

func (*ASPreImage) GetExp

func (x *ASPreImage) GetExp() uint32

func (*ASPreImage) GetIssuedAt

func (x *ASPreImage) GetIssuedAt() uint32

func (*ASPreImage) GetOwner

func (x *ASPreImage) GetOwner() string

func (*ASPreImage) GetTXOutIdx

func (x *ASPreImage) GetTXOutIdx() uint32

func (*ASPreImage) GetValue

func (x *ASPreImage) GetValue() string

func (*ASPreImage) ProtoMessage

func (*ASPreImage) ProtoMessage()

func (*ASPreImage) ProtoReflect

func (x *ASPreImage) ProtoReflect() protoreflect.Message

func (*ASPreImage) Reset

func (x *ASPreImage) Reset()

func (*ASPreImage) String

func (x *ASPreImage) String() string

type AtomicSwap

type AtomicSwap struct {
	ASPreImage *ASPreImage `protobuf:"bytes,1,opt,name=ASPreImage,proto3" json:"ASPreImage,omitempty"`
	TxHash     string      `protobuf:"bytes,2,opt,name=TxHash,proto3" json:"TxHash,omitempty"`
	// contains filtered or unexported fields
}

Protobuf message implementation for struct AtomicSwap

func (*AtomicSwap) Descriptor deprecated

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

Deprecated: Use AtomicSwap.ProtoReflect.Descriptor instead.

func (*AtomicSwap) GetASPreImage

func (x *AtomicSwap) GetASPreImage() *ASPreImage

func (*AtomicSwap) GetTxHash

func (x *AtomicSwap) GetTxHash() string

func (*AtomicSwap) ProtoMessage

func (*AtomicSwap) ProtoMessage()

func (*AtomicSwap) ProtoReflect

func (x *AtomicSwap) ProtoReflect() protoreflect.Message

func (*AtomicSwap) Reset

func (x *AtomicSwap) Reset()

func (*AtomicSwap) String

func (x *AtomicSwap) String() string

type BClaims

type BClaims struct {
	ChainID    uint32 `protobuf:"varint,1,opt,name=ChainID,proto3" json:"ChainID,omitempty"`
	Height     uint32 `protobuf:"varint,2,opt,name=Height,proto3" json:"Height,omitempty"`
	TxCount    uint32 `protobuf:"varint,3,opt,name=TxCount,proto3" json:"TxCount,omitempty"`
	PrevBlock  string `protobuf:"bytes,4,opt,name=PrevBlock,proto3" json:"PrevBlock,omitempty"`
	TxRoot     string `protobuf:"bytes,5,opt,name=TxRoot,proto3" json:"TxRoot,omitempty"`
	StateRoot  string `protobuf:"bytes,6,opt,name=StateRoot,proto3" json:"StateRoot,omitempty"`
	HeaderRoot string `protobuf:"bytes,7,opt,name=HeaderRoot,proto3" json:"HeaderRoot,omitempty"`
	// contains filtered or unexported fields
}

Protobuf message implementation for struct BClaims

func (*BClaims) Descriptor deprecated

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

Deprecated: Use BClaims.ProtoReflect.Descriptor instead.

func (*BClaims) GetChainID

func (x *BClaims) GetChainID() uint32

func (*BClaims) GetHeaderRoot

func (x *BClaims) GetHeaderRoot() string

func (*BClaims) GetHeight

func (x *BClaims) GetHeight() uint32

func (*BClaims) GetPrevBlock

func (x *BClaims) GetPrevBlock() string

func (*BClaims) GetStateRoot

func (x *BClaims) GetStateRoot() string

func (*BClaims) GetTxCount

func (x *BClaims) GetTxCount() uint32

func (*BClaims) GetTxRoot

func (x *BClaims) GetTxRoot() string

func (*BClaims) ProtoMessage

func (*BClaims) ProtoMessage()

func (*BClaims) ProtoReflect

func (x *BClaims) ProtoReflect() protoreflect.Message

func (*BClaims) Reset

func (x *BClaims) Reset()

func (*BClaims) String

func (x *BClaims) String() string

type BlockHeader

type BlockHeader struct {
	BClaims  *BClaims `protobuf:"bytes,1,opt,name=BClaims,proto3" json:"BClaims,omitempty"`
	SigGroup string   `protobuf:"bytes,2,opt,name=SigGroup,proto3" json:"SigGroup,omitempty"`
	TxHshLst []string `protobuf:"bytes,3,rep,name=TxHshLst,proto3" json:"TxHshLst,omitempty"`
	// contains filtered or unexported fields
}

Protobuf message implementation for struct BlockHeader

func (*BlockHeader) Descriptor deprecated

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

Deprecated: Use BlockHeader.ProtoReflect.Descriptor instead.

func (*BlockHeader) GetBClaims

func (x *BlockHeader) GetBClaims() *BClaims

func (*BlockHeader) GetSigGroup

func (x *BlockHeader) GetSigGroup() string

func (*BlockHeader) GetTxHshLst

func (x *BlockHeader) GetTxHshLst() []string

func (*BlockHeader) ProtoMessage

func (*BlockHeader) ProtoMessage()

func (*BlockHeader) ProtoReflect

func (x *BlockHeader) ProtoReflect() protoreflect.Message

func (*BlockHeader) Reset

func (x *BlockHeader) Reset()

func (*BlockHeader) String

func (x *BlockHeader) String() string

type BlockHeaderRequest

type BlockHeaderRequest struct {
	Height uint32 `protobuf:"varint,1,opt,name=Height,proto3" json:"Height,omitempty"` // must not be zero
	// contains filtered or unexported fields
}

func (*BlockHeaderRequest) Descriptor deprecated

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

Deprecated: Use BlockHeaderRequest.ProtoReflect.Descriptor instead.

func (*BlockHeaderRequest) GetHeight

func (x *BlockHeaderRequest) GetHeight() uint32

func (*BlockHeaderRequest) ProtoMessage

func (*BlockHeaderRequest) ProtoMessage()

func (*BlockHeaderRequest) ProtoReflect

func (x *BlockHeaderRequest) ProtoReflect() protoreflect.Message

func (*BlockHeaderRequest) Reset

func (x *BlockHeaderRequest) Reset()

func (*BlockHeaderRequest) String

func (x *BlockHeaderRequest) String() string

type BlockHeaderResponse

type BlockHeaderResponse struct {
	BlockHeader *BlockHeader `protobuf:"bytes,1,opt,name=BlockHeader,proto3" json:"BlockHeader,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockHeaderResponse) Descriptor deprecated

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

Deprecated: Use BlockHeaderResponse.ProtoReflect.Descriptor instead.

func (*BlockHeaderResponse) GetBlockHeader

func (x *BlockHeaderResponse) GetBlockHeader() *BlockHeader

func (*BlockHeaderResponse) ProtoMessage

func (*BlockHeaderResponse) ProtoMessage()

func (*BlockHeaderResponse) ProtoReflect

func (x *BlockHeaderResponse) ProtoReflect() protoreflect.Message

func (*BlockHeaderResponse) Reset

func (x *BlockHeaderResponse) Reset()

func (*BlockHeaderResponse) String

func (x *BlockHeaderResponse) String() string

type BlockNumberRequest

type BlockNumberRequest struct {
	// contains filtered or unexported fields
}

func (*BlockNumberRequest) Descriptor deprecated

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

Deprecated: Use BlockNumberRequest.ProtoReflect.Descriptor instead.

func (*BlockNumberRequest) ProtoMessage

func (*BlockNumberRequest) ProtoMessage()

func (*BlockNumberRequest) ProtoReflect

func (x *BlockNumberRequest) ProtoReflect() protoreflect.Message

func (*BlockNumberRequest) Reset

func (x *BlockNumberRequest) Reset()

func (*BlockNumberRequest) String

func (x *BlockNumberRequest) String() string

type BlockNumberResponse

type BlockNumberResponse struct {
	BlockHeight uint32 `protobuf:"varint,1,opt,name=BlockHeight,proto3" json:"BlockHeight,omitempty"` // must not be zero
	// contains filtered or unexported fields
}

func (*BlockNumberResponse) Descriptor deprecated

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

Deprecated: Use BlockNumberResponse.ProtoReflect.Descriptor instead.

func (*BlockNumberResponse) GetBlockHeight

func (x *BlockNumberResponse) GetBlockHeight() uint32

func (*BlockNumberResponse) ProtoMessage

func (*BlockNumberResponse) ProtoMessage()

func (*BlockNumberResponse) ProtoReflect

func (x *BlockNumberResponse) ProtoReflect() protoreflect.Message

func (*BlockNumberResponse) Reset

func (x *BlockNumberResponse) Reset()

func (*BlockNumberResponse) String

func (x *BlockNumberResponse) String() string

type BootNodeClient

type BootNodeClient interface {
	KnownNodes(ctx context.Context, in *BootNodeRequest, opts ...grpc.CallOption) (*BootNodeResponse, error)
}

BootNodeClient is the client API for BootNode service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewBootNodeClient

func NewBootNodeClient(cc grpc.ClientConnInterface) BootNodeClient

type BootNodeRequest

type BootNodeRequest struct {
	// contains filtered or unexported fields
}

func (*BootNodeRequest) Descriptor deprecated

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

Deprecated: Use BootNodeRequest.ProtoReflect.Descriptor instead.

func (*BootNodeRequest) ProtoMessage

func (*BootNodeRequest) ProtoMessage()

func (*BootNodeRequest) ProtoReflect

func (x *BootNodeRequest) ProtoReflect() protoreflect.Message

func (*BootNodeRequest) Reset

func (x *BootNodeRequest) Reset()

func (*BootNodeRequest) String

func (x *BootNodeRequest) String() string

type BootNodeResponse

type BootNodeResponse struct {
	Peers []string `protobuf:"bytes,1,rep,name=Peers,proto3" json:"Peers,omitempty"`
	// contains filtered or unexported fields
}

func (*BootNodeResponse) Descriptor deprecated

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

Deprecated: Use BootNodeResponse.ProtoReflect.Descriptor instead.

func (*BootNodeResponse) GetPeers

func (x *BootNodeResponse) GetPeers() []string

func (*BootNodeResponse) ProtoMessage

func (*BootNodeResponse) ProtoMessage()

func (*BootNodeResponse) ProtoReflect

func (x *BootNodeResponse) ProtoReflect() protoreflect.Message

func (*BootNodeResponse) Reset

func (x *BootNodeResponse) Reset()

func (*BootNodeResponse) String

func (x *BootNodeResponse) String() string

type BootNodeServer

type BootNodeServer interface {
	KnownNodes(context.Context, *BootNodeRequest) (*BootNodeResponse, error)
}

BootNodeServer is the server API for BootNode service.

type ChainIDRequest

type ChainIDRequest struct {
	// contains filtered or unexported fields
}

func (*ChainIDRequest) Descriptor deprecated

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

Deprecated: Use ChainIDRequest.ProtoReflect.Descriptor instead.

func (*ChainIDRequest) ProtoMessage

func (*ChainIDRequest) ProtoMessage()

func (*ChainIDRequest) ProtoReflect

func (x *ChainIDRequest) ProtoReflect() protoreflect.Message

func (*ChainIDRequest) Reset

func (x *ChainIDRequest) Reset()

func (*ChainIDRequest) String

func (x *ChainIDRequest) String() string

type ChainIDResponse

type ChainIDResponse struct {
	ChainID uint32 `protobuf:"varint,1,opt,name=ChainID,proto3" json:"ChainID,omitempty"` // must not be zero
	// contains filtered or unexported fields
}

func (*ChainIDResponse) Descriptor deprecated

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

Deprecated: Use ChainIDResponse.ProtoReflect.Descriptor instead.

func (*ChainIDResponse) GetChainID

func (x *ChainIDResponse) GetChainID() uint32

func (*ChainIDResponse) ProtoMessage

func (*ChainIDResponse) ProtoMessage()

func (*ChainIDResponse) ProtoReflect

func (x *ChainIDResponse) ProtoReflect() protoreflect.Message

func (*ChainIDResponse) Reset

func (x *ChainIDResponse) Reset()

func (*ChainIDResponse) String

func (x *ChainIDResponse) String() string

type DSLinker

type DSLinker struct {
	DSPreImage *DSPreImage `protobuf:"bytes,1,opt,name=DSPreImage,proto3" json:"DSPreImage,omitempty"`
	TxHash     string      `protobuf:"bytes,2,opt,name=TxHash,proto3" json:"TxHash,omitempty"`
	// contains filtered or unexported fields
}

Protobuf message implementation for struct DSLinker

func (*DSLinker) Descriptor deprecated

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

Deprecated: Use DSLinker.ProtoReflect.Descriptor instead.

func (*DSLinker) GetDSPreImage

func (x *DSLinker) GetDSPreImage() *DSPreImage

func (*DSLinker) GetTxHash

func (x *DSLinker) GetTxHash() string

func (*DSLinker) ProtoMessage

func (*DSLinker) ProtoMessage()

func (*DSLinker) ProtoReflect

func (x *DSLinker) ProtoReflect() protoreflect.Message

func (*DSLinker) Reset

func (x *DSLinker) Reset()

func (*DSLinker) String

func (x *DSLinker) String() string

type DSPreImage

type DSPreImage struct {
	ChainID  uint32 `protobuf:"varint,1,opt,name=ChainID,proto3" json:"ChainID,omitempty"`
	Index    string `protobuf:"bytes,2,opt,name=Index,proto3" json:"Index,omitempty"`
	IssuedAt uint32 `protobuf:"varint,3,opt,name=IssuedAt,proto3" json:"IssuedAt,omitempty"`
	Deposit  string `protobuf:"bytes,4,opt,name=Deposit,proto3" json:"Deposit,omitempty"`
	RawData  string `protobuf:"bytes,5,opt,name=RawData,proto3" json:"RawData,omitempty"`
	TXOutIdx uint32 `protobuf:"varint,6,opt,name=TXOutIdx,proto3" json:"TXOutIdx,omitempty"`
	Owner    string `protobuf:"bytes,7,opt,name=Owner,proto3" json:"Owner,omitempty"`
	// contains filtered or unexported fields
}

Protobuf message implementation for struct DSPreImage

func (*DSPreImage) Descriptor deprecated

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

Deprecated: Use DSPreImage.ProtoReflect.Descriptor instead.

func (*DSPreImage) GetChainID

func (x *DSPreImage) GetChainID() uint32

func (*DSPreImage) GetDeposit

func (x *DSPreImage) GetDeposit() string

func (*DSPreImage) GetIndex

func (x *DSPreImage) GetIndex() string

func (*DSPreImage) GetIssuedAt

func (x *DSPreImage) GetIssuedAt() uint32

func (*DSPreImage) GetOwner

func (x *DSPreImage) GetOwner() string

func (*DSPreImage) GetRawData

func (x *DSPreImage) GetRawData() string

func (*DSPreImage) GetTXOutIdx

func (x *DSPreImage) GetTXOutIdx() uint32

func (*DSPreImage) ProtoMessage

func (*DSPreImage) ProtoMessage()

func (*DSPreImage) ProtoReflect

func (x *DSPreImage) ProtoReflect() protoreflect.Message

func (*DSPreImage) Reset

func (x *DSPreImage) Reset()

func (*DSPreImage) String

func (x *DSPreImage) String() string

type DataStore

type DataStore struct {
	DSLinker  *DSLinker `protobuf:"bytes,1,opt,name=DSLinker,proto3" json:"DSLinker,omitempty"`
	Signature string    `protobuf:"bytes,2,opt,name=Signature,proto3" json:"Signature,omitempty"`
	// contains filtered or unexported fields
}

Protobuf message implementation for struct DataStore

func (*DataStore) Descriptor deprecated

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

Deprecated: Use DataStore.ProtoReflect.Descriptor instead.

func (*DataStore) GetDSLinker

func (x *DataStore) GetDSLinker() *DSLinker

func (*DataStore) GetSignature

func (x *DataStore) GetSignature() string

func (*DataStore) ProtoMessage

func (*DataStore) ProtoMessage()

func (*DataStore) ProtoReflect

func (x *DataStore) ProtoReflect() protoreflect.Message

func (*DataStore) Reset

func (x *DataStore) Reset()

func (*DataStore) String

func (x *DataStore) String() string

type DiscoveryClient

type DiscoveryClient interface {
	GetPeers(ctx context.Context, in *GetPeersRequest, opts ...grpc.CallOption) (*GetPeersResponse, error)
}

DiscoveryClient is the client API for Discovery service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewDiscoveryClient

func NewDiscoveryClient(cc grpc.ClientConnInterface) DiscoveryClient

type DiscoveryGetPeersHandler

type DiscoveryGetPeersHandler interface {
	HandleDiscoveryGetPeers(context.Context, *GetPeersRequest) (*GetPeersResponse, error)
}

DiscoveryGetPeersHandler is an interface class that only contains the method HandleDiscoveryGetPeers The class that implements this method MUST handle the RPC call for the method GetPeers of the RPC service Discovery

type DiscoveryServer

type DiscoveryServer interface {
	GetPeers(context.Context, *GetPeersRequest) (*GetPeersResponse, error)
}

DiscoveryServer is the server API for Discovery service.

type EpochNumberRequest

type EpochNumberRequest struct {
	// contains filtered or unexported fields
}

func (*EpochNumberRequest) Descriptor deprecated

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

Deprecated: Use EpochNumberRequest.ProtoReflect.Descriptor instead.

func (*EpochNumberRequest) ProtoMessage

func (*EpochNumberRequest) ProtoMessage()

func (*EpochNumberRequest) ProtoReflect

func (x *EpochNumberRequest) ProtoReflect() protoreflect.Message

func (*EpochNumberRequest) Reset

func (x *EpochNumberRequest) Reset()

func (*EpochNumberRequest) String

func (x *EpochNumberRequest) String() string

type EpochNumberResponse

type EpochNumberResponse struct {
	Epoch uint32 `protobuf:"varint,1,opt,name=Epoch,proto3" json:"Epoch,omitempty"` // must not be zero
	// contains filtered or unexported fields
}

func (*EpochNumberResponse) Descriptor deprecated

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

Deprecated: Use EpochNumberResponse.ProtoReflect.Descriptor instead.

func (*EpochNumberResponse) GetEpoch

func (x *EpochNumberResponse) GetEpoch() uint32

func (*EpochNumberResponse) ProtoMessage

func (*EpochNumberResponse) ProtoMessage()

func (*EpochNumberResponse) ProtoReflect

func (x *EpochNumberResponse) ProtoReflect() protoreflect.Message

func (*EpochNumberResponse) Reset

func (x *EpochNumberResponse) Reset()

func (*EpochNumberResponse) String

func (x *EpochNumberResponse) String() string

type GeneratedDiscoveryServer

type GeneratedDiscoveryServer struct {
	// contains filtered or unexported fields
}

GeneratedDiscoveryServer implements the Discovery service as a gRPC server. GeneratedDiscoveryServer invokes methods on the services through the inboundRPCDispatch handlers.

func NewGeneratedDiscoveryServer

func NewGeneratedDiscoveryServer(dispatch *inboundRPCDispatch) *GeneratedDiscoveryServer

NewGeneratedDiscoveryServer constructs a new server for the service.

func (*GeneratedDiscoveryServer) GetPeers

GetPeers will invoke the method GetPeers on the RPC service Discovery using the inboundRPCDispatch handler.

type GeneratedLocalStateServer

type GeneratedLocalStateServer struct {
	// contains filtered or unexported fields
}

GeneratedLocalStateServer implements the LocalState service as a gRPC server. GeneratedLocalStateServer invokes methods on the services through the LocalStateDispatch handlers.

func NewGeneratedLocalStateServer

func NewGeneratedLocalStateServer(dispatch *LocalStateDispatch) *GeneratedLocalStateServer

NewGeneratedLocalStateServer constructs a new server for the service.

func (*GeneratedLocalStateServer) GetBlockHeader

GetBlockHeader will invoke the method GetBlockHeader on the RPC service LocalState using the LocalStateDispatch handler.

func (*GeneratedLocalStateServer) GetBlockNumber

GetBlockNumber will invoke the method GetBlockNumber on the RPC service LocalState using the LocalStateDispatch handler.

func (*GeneratedLocalStateServer) GetChainID

GetChainID will invoke the method GetChainID on the RPC service LocalState using the LocalStateDispatch handler.

func (*GeneratedLocalStateServer) GetData

GetData will invoke the method GetData on the RPC service LocalState using the LocalStateDispatch handler.

func (*GeneratedLocalStateServer) GetEpochNumber

GetEpochNumber will invoke the method GetEpochNumber on the RPC service LocalState using the LocalStateDispatch handler.

func (*GeneratedLocalStateServer) GetMinedTransaction

GetMinedTransaction will invoke the method GetMinedTransaction on the RPC service LocalState using the LocalStateDispatch handler.

func (*GeneratedLocalStateServer) GetPendingTransaction

GetPendingTransaction will invoke the method GetPendingTransaction on the RPC service LocalState using the LocalStateDispatch handler.

func (*GeneratedLocalStateServer) GetRoundStateForValidator

GetRoundStateForValidator will invoke the method GetRoundStateForValidator on the RPC service LocalState using the LocalStateDispatch handler.

func (*GeneratedLocalStateServer) GetTxBlockNumber

GetTxBlockNumber will invoke the method GetTxBlockNumber on the RPC service LocalState using the LocalStateDispatch handler.

func (*GeneratedLocalStateServer) GetUTXO

GetUTXO will invoke the method GetUTXO on the RPC service LocalState using the LocalStateDispatch handler.

func (*GeneratedLocalStateServer) GetValidatorSet

GetValidatorSet will invoke the method GetValidatorSet on the RPC service LocalState using the LocalStateDispatch handler.

func (*GeneratedLocalStateServer) GetValueForOwner

GetValueForOwner will invoke the method GetValueForOwner on the RPC service LocalState using the LocalStateDispatch handler.

func (*GeneratedLocalStateServer) IterateNameSpace

IterateNameSpace will invoke the method IterateNameSpace on the RPC service LocalState using the LocalStateDispatch handler.

func (*GeneratedLocalStateServer) SendTransaction

SendTransaction will invoke the method SendTransaction on the RPC service LocalState using the LocalStateDispatch handler.

type GeneratedP2PServer

type GeneratedP2PServer struct {
	// contains filtered or unexported fields
}

GeneratedP2PServer implements the P2P service as a gRPC server. GeneratedP2PServer invokes methods on the services through the inboundRPCDispatch handlers.

func NewGeneratedP2PServer

func NewGeneratedP2PServer(dispatch *inboundRPCDispatch) *GeneratedP2PServer

NewGeneratedP2PServer constructs a new server for the service.

func (*GeneratedP2PServer) GetBlockHeaders

GetBlockHeaders will invoke the method GetBlockHeaders on the RPC service P2P using the inboundRPCDispatch handler.

func (*GeneratedP2PServer) GetMinedTxs

GetMinedTxs will invoke the method GetMinedTxs on the RPC service P2P using the inboundRPCDispatch handler.

func (*GeneratedP2PServer) GetPeers

GetPeers will invoke the method GetPeers on the RPC service P2P using the inboundRPCDispatch handler.

func (*GeneratedP2PServer) GetPendingTxs

GetPendingTxs will invoke the method GetPendingTxs on the RPC service P2P using the inboundRPCDispatch handler.

func (*GeneratedP2PServer) GetSnapShotHdrNode

GetSnapShotHdrNode will invoke the method GetSnapShotHdrNode on the RPC service P2P using the inboundRPCDispatch handler.

func (*GeneratedP2PServer) GetSnapShotNode

GetSnapShotNode will invoke the method GetSnapShotNode on the RPC service P2P using the inboundRPCDispatch handler.

func (*GeneratedP2PServer) GetSnapShotStateData

GetSnapShotStateData will invoke the method GetSnapShotStateData on the RPC service P2P using the inboundRPCDispatch handler.

func (*GeneratedP2PServer) GossipBlockHeader

GossipBlockHeader will invoke the method GossipBlockHeader on the RPC service P2P using the inboundRPCDispatch handler.

func (*GeneratedP2PServer) GossipNextHeight

GossipNextHeight will invoke the method GossipNextHeight on the RPC service P2P using the inboundRPCDispatch handler.

func (*GeneratedP2PServer) GossipNextRound

GossipNextRound will invoke the method GossipNextRound on the RPC service P2P using the inboundRPCDispatch handler.

func (*GeneratedP2PServer) GossipPreCommit

GossipPreCommit will invoke the method GossipPreCommit on the RPC service P2P using the inboundRPCDispatch handler.

func (*GeneratedP2PServer) GossipPreCommitNil

GossipPreCommitNil will invoke the method GossipPreCommitNil on the RPC service P2P using the inboundRPCDispatch handler.

func (*GeneratedP2PServer) GossipPreVote

GossipPreVote will invoke the method GossipPreVote on the RPC service P2P using the inboundRPCDispatch handler.

func (*GeneratedP2PServer) GossipPreVoteNil

GossipPreVoteNil will invoke the method GossipPreVoteNil on the RPC service P2P using the inboundRPCDispatch handler.

func (*GeneratedP2PServer) GossipProposal

GossipProposal will invoke the method GossipProposal on the RPC service P2P using the inboundRPCDispatch handler.

func (*GeneratedP2PServer) GossipTransaction

GossipTransaction will invoke the method GossipTransaction on the RPC service P2P using the inboundRPCDispatch handler.

func (*GeneratedP2PServer) Status

Status will invoke the method Status on the RPC service P2P using the inboundRPCDispatch handler.

type GetBlockHeadersRequest

type GetBlockHeadersRequest struct {
	BlockNumbers []uint32 `protobuf:"varint,1,rep,packed,name=BlockNumbers,proto3" json:"BlockNumbers,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlockHeadersRequest) Descriptor deprecated

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

Deprecated: Use GetBlockHeadersRequest.ProtoReflect.Descriptor instead.

func (*GetBlockHeadersRequest) GetBlockNumbers

func (x *GetBlockHeadersRequest) GetBlockNumbers() []uint32

func (*GetBlockHeadersRequest) ProtoMessage

func (*GetBlockHeadersRequest) ProtoMessage()

func (*GetBlockHeadersRequest) ProtoReflect

func (x *GetBlockHeadersRequest) ProtoReflect() protoreflect.Message

func (*GetBlockHeadersRequest) Reset

func (x *GetBlockHeadersRequest) Reset()

func (*GetBlockHeadersRequest) String

func (x *GetBlockHeadersRequest) String() string

type GetBlockHeadersResponse

type GetBlockHeadersResponse struct {
	BlockHeaders [][]byte `protobuf:"bytes,1,rep,name=BlockHeaders,proto3" json:"BlockHeaders,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlockHeadersResponse) Descriptor deprecated

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

Deprecated: Use GetBlockHeadersResponse.ProtoReflect.Descriptor instead.

func (*GetBlockHeadersResponse) GetBlockHeaders

func (x *GetBlockHeadersResponse) GetBlockHeaders() [][]byte

func (*GetBlockHeadersResponse) ProtoMessage

func (*GetBlockHeadersResponse) ProtoMessage()

func (*GetBlockHeadersResponse) ProtoReflect

func (x *GetBlockHeadersResponse) ProtoReflect() protoreflect.Message

func (*GetBlockHeadersResponse) Reset

func (x *GetBlockHeadersResponse) Reset()

func (*GetBlockHeadersResponse) String

func (x *GetBlockHeadersResponse) String() string

type GetDataRequest

type GetDataRequest struct {
	CurveSpec uint32 `protobuf:"varint,1,opt,name=CurveSpec,proto3" json:"CurveSpec,omitempty"`
	Account   string `protobuf:"bytes,2,opt,name=Account,proto3" json:"Account,omitempty"` // must be 20 bytes or 40 hex chars
	Index     string `protobuf:"bytes,3,opt,name=Index,proto3" json:"Index,omitempty"`     // must be 32 bytes or 64 hex chars
	// contains filtered or unexported fields
}

func (*GetDataRequest) Descriptor deprecated

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

Deprecated: Use GetDataRequest.ProtoReflect.Descriptor instead.

func (*GetDataRequest) GetAccount

func (x *GetDataRequest) GetAccount() string

func (*GetDataRequest) GetCurveSpec

func (x *GetDataRequest) GetCurveSpec() uint32

func (*GetDataRequest) GetIndex

func (x *GetDataRequest) GetIndex() string

func (*GetDataRequest) ProtoMessage

func (*GetDataRequest) ProtoMessage()

func (*GetDataRequest) ProtoReflect

func (x *GetDataRequest) ProtoReflect() protoreflect.Message

func (*GetDataRequest) Reset

func (x *GetDataRequest) Reset()

func (*GetDataRequest) String

func (x *GetDataRequest) String() string

type GetDataResponse

type GetDataResponse struct {
	Rawdata string `protobuf:"bytes,1,opt,name=Rawdata,proto3" json:"Rawdata,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDataResponse) Descriptor deprecated

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

Deprecated: Use GetDataResponse.ProtoReflect.Descriptor instead.

func (*GetDataResponse) GetRawdata

func (x *GetDataResponse) GetRawdata() string

func (*GetDataResponse) ProtoMessage

func (*GetDataResponse) ProtoMessage()

func (*GetDataResponse) ProtoReflect

func (x *GetDataResponse) ProtoReflect() protoreflect.Message

func (*GetDataResponse) Reset

func (x *GetDataResponse) Reset()

func (*GetDataResponse) String

func (x *GetDataResponse) String() string

type GetMinedTxsRequest

type GetMinedTxsRequest struct {
	TxHashes [][]byte `protobuf:"bytes,1,rep,name=TxHashes,proto3" json:"TxHashes,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMinedTxsRequest) Descriptor deprecated

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

Deprecated: Use GetMinedTxsRequest.ProtoReflect.Descriptor instead.

func (*GetMinedTxsRequest) GetTxHashes

func (x *GetMinedTxsRequest) GetTxHashes() [][]byte

func (*GetMinedTxsRequest) ProtoMessage

func (*GetMinedTxsRequest) ProtoMessage()

func (*GetMinedTxsRequest) ProtoReflect

func (x *GetMinedTxsRequest) ProtoReflect() protoreflect.Message

func (*GetMinedTxsRequest) Reset

func (x *GetMinedTxsRequest) Reset()

func (*GetMinedTxsRequest) String

func (x *GetMinedTxsRequest) String() string

type GetMinedTxsResponse

type GetMinedTxsResponse struct {
	Txs [][]byte `protobuf:"bytes,1,rep,name=Txs,proto3" json:"Txs,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMinedTxsResponse) Descriptor deprecated

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

Deprecated: Use GetMinedTxsResponse.ProtoReflect.Descriptor instead.

func (*GetMinedTxsResponse) GetTxs

func (x *GetMinedTxsResponse) GetTxs() [][]byte

func (*GetMinedTxsResponse) ProtoMessage

func (*GetMinedTxsResponse) ProtoMessage()

func (*GetMinedTxsResponse) ProtoReflect

func (x *GetMinedTxsResponse) ProtoReflect() protoreflect.Message

func (*GetMinedTxsResponse) Reset

func (x *GetMinedTxsResponse) Reset()

func (*GetMinedTxsResponse) String

func (x *GetMinedTxsResponse) String() string

type GetPeersRequest

type GetPeersRequest struct {
	Target string `protobuf:"bytes,1,opt,name=Target,proto3" json:"Target,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPeersRequest) Descriptor deprecated

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

Deprecated: Use GetPeersRequest.ProtoReflect.Descriptor instead.

func (*GetPeersRequest) GetTarget

func (x *GetPeersRequest) GetTarget() string

func (*GetPeersRequest) ProtoMessage

func (*GetPeersRequest) ProtoMessage()

func (*GetPeersRequest) ProtoReflect

func (x *GetPeersRequest) ProtoReflect() protoreflect.Message

func (*GetPeersRequest) Reset

func (x *GetPeersRequest) Reset()

func (*GetPeersRequest) String

func (x *GetPeersRequest) String() string

type GetPeersResponse

type GetPeersResponse struct {
	Peers []string `protobuf:"bytes,1,rep,name=Peers,proto3" json:"Peers,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPeersResponse) Descriptor deprecated

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

Deprecated: Use GetPeersResponse.ProtoReflect.Descriptor instead.

func (*GetPeersResponse) GetPeers

func (x *GetPeersResponse) GetPeers() []string

func (*GetPeersResponse) ProtoMessage

func (*GetPeersResponse) ProtoMessage()

func (*GetPeersResponse) ProtoReflect

func (x *GetPeersResponse) ProtoReflect() protoreflect.Message

func (*GetPeersResponse) Reset

func (x *GetPeersResponse) Reset()

func (*GetPeersResponse) String

func (x *GetPeersResponse) String() string

type GetPendingTxsRequest

type GetPendingTxsRequest struct {
	TxHashes [][]byte `protobuf:"bytes,1,rep,name=TxHashes,proto3" json:"TxHashes,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPendingTxsRequest) Descriptor deprecated

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

Deprecated: Use GetPendingTxsRequest.ProtoReflect.Descriptor instead.

func (*GetPendingTxsRequest) GetTxHashes

func (x *GetPendingTxsRequest) GetTxHashes() [][]byte

func (*GetPendingTxsRequest) ProtoMessage

func (*GetPendingTxsRequest) ProtoMessage()

func (*GetPendingTxsRequest) ProtoReflect

func (x *GetPendingTxsRequest) ProtoReflect() protoreflect.Message

func (*GetPendingTxsRequest) Reset

func (x *GetPendingTxsRequest) Reset()

func (*GetPendingTxsRequest) String

func (x *GetPendingTxsRequest) String() string

type GetPendingTxsResponse

type GetPendingTxsResponse struct {
	Txs [][]byte `protobuf:"bytes,1,rep,name=Txs,proto3" json:"Txs,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPendingTxsResponse) Descriptor deprecated

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

Deprecated: Use GetPendingTxsResponse.ProtoReflect.Descriptor instead.

func (*GetPendingTxsResponse) GetTxs

func (x *GetPendingTxsResponse) GetTxs() [][]byte

func (*GetPendingTxsResponse) ProtoMessage

func (*GetPendingTxsResponse) ProtoMessage()

func (*GetPendingTxsResponse) ProtoReflect

func (x *GetPendingTxsResponse) ProtoReflect() protoreflect.Message

func (*GetPendingTxsResponse) Reset

func (x *GetPendingTxsResponse) Reset()

func (*GetPendingTxsResponse) String

func (x *GetPendingTxsResponse) String() string

type GetSnapShotHdrNodeRequest

type GetSnapShotHdrNodeRequest struct {
	NodeHash []byte `protobuf:"bytes,2,opt,name=NodeHash,proto3" json:"NodeHash,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSnapShotHdrNodeRequest) Descriptor deprecated

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

Deprecated: Use GetSnapShotHdrNodeRequest.ProtoReflect.Descriptor instead.

func (*GetSnapShotHdrNodeRequest) GetNodeHash

func (x *GetSnapShotHdrNodeRequest) GetNodeHash() []byte

func (*GetSnapShotHdrNodeRequest) ProtoMessage

func (*GetSnapShotHdrNodeRequest) ProtoMessage()

func (*GetSnapShotHdrNodeRequest) ProtoReflect

func (*GetSnapShotHdrNodeRequest) Reset

func (x *GetSnapShotHdrNodeRequest) Reset()

func (*GetSnapShotHdrNodeRequest) String

func (x *GetSnapShotHdrNodeRequest) String() string

type GetSnapShotHdrNodeResponse

type GetSnapShotHdrNodeResponse struct {
	Node []byte `protobuf:"bytes,1,opt,name=Node,proto3" json:"Node,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSnapShotHdrNodeResponse) Descriptor deprecated

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

Deprecated: Use GetSnapShotHdrNodeResponse.ProtoReflect.Descriptor instead.

func (*GetSnapShotHdrNodeResponse) GetNode

func (x *GetSnapShotHdrNodeResponse) GetNode() []byte

func (*GetSnapShotHdrNodeResponse) ProtoMessage

func (*GetSnapShotHdrNodeResponse) ProtoMessage()

func (*GetSnapShotHdrNodeResponse) ProtoReflect

func (*GetSnapShotHdrNodeResponse) Reset

func (x *GetSnapShotHdrNodeResponse) Reset()

func (*GetSnapShotHdrNodeResponse) String

func (x *GetSnapShotHdrNodeResponse) String() string

type GetSnapShotNodeRequest

type GetSnapShotNodeRequest struct {
	Height   uint32 `protobuf:"varint,1,opt,name=Height,proto3" json:"Height,omitempty"`
	NodeHash []byte `protobuf:"bytes,2,opt,name=NodeHash,proto3" json:"NodeHash,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSnapShotNodeRequest) Descriptor deprecated

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

Deprecated: Use GetSnapShotNodeRequest.ProtoReflect.Descriptor instead.

func (*GetSnapShotNodeRequest) GetHeight

func (x *GetSnapShotNodeRequest) GetHeight() uint32

func (*GetSnapShotNodeRequest) GetNodeHash

func (x *GetSnapShotNodeRequest) GetNodeHash() []byte

func (*GetSnapShotNodeRequest) ProtoMessage

func (*GetSnapShotNodeRequest) ProtoMessage()

func (*GetSnapShotNodeRequest) ProtoReflect

func (x *GetSnapShotNodeRequest) ProtoReflect() protoreflect.Message

func (*GetSnapShotNodeRequest) Reset

func (x *GetSnapShotNodeRequest) Reset()

func (*GetSnapShotNodeRequest) String

func (x *GetSnapShotNodeRequest) String() string

type GetSnapShotNodeResponse

type GetSnapShotNodeResponse struct {
	Node []byte `protobuf:"bytes,1,opt,name=Node,proto3" json:"Node,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSnapShotNodeResponse) Descriptor deprecated

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

Deprecated: Use GetSnapShotNodeResponse.ProtoReflect.Descriptor instead.

func (*GetSnapShotNodeResponse) GetNode

func (x *GetSnapShotNodeResponse) GetNode() []byte

func (*GetSnapShotNodeResponse) ProtoMessage

func (*GetSnapShotNodeResponse) ProtoMessage()

func (*GetSnapShotNodeResponse) ProtoReflect

func (x *GetSnapShotNodeResponse) ProtoReflect() protoreflect.Message

func (*GetSnapShotNodeResponse) Reset

func (x *GetSnapShotNodeResponse) Reset()

func (*GetSnapShotNodeResponse) String

func (x *GetSnapShotNodeResponse) String() string

type GetSnapShotStateDataRequest

type GetSnapShotStateDataRequest struct {
	Key []byte `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSnapShotStateDataRequest) Descriptor deprecated

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

Deprecated: Use GetSnapShotStateDataRequest.ProtoReflect.Descriptor instead.

func (*GetSnapShotStateDataRequest) GetKey

func (x *GetSnapShotStateDataRequest) GetKey() []byte

func (*GetSnapShotStateDataRequest) ProtoMessage

func (*GetSnapShotStateDataRequest) ProtoMessage()

func (*GetSnapShotStateDataRequest) ProtoReflect

func (*GetSnapShotStateDataRequest) Reset

func (x *GetSnapShotStateDataRequest) Reset()

func (*GetSnapShotStateDataRequest) String

func (x *GetSnapShotStateDataRequest) String() string

type GetSnapShotStateDataResponse

type GetSnapShotStateDataResponse struct {
	Data []byte `protobuf:"bytes,1,opt,name=Data,proto3" json:"Data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSnapShotStateDataResponse) Descriptor deprecated

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

Deprecated: Use GetSnapShotStateDataResponse.ProtoReflect.Descriptor instead.

func (*GetSnapShotStateDataResponse) GetData

func (x *GetSnapShotStateDataResponse) GetData() []byte

func (*GetSnapShotStateDataResponse) ProtoMessage

func (*GetSnapShotStateDataResponse) ProtoMessage()

func (*GetSnapShotStateDataResponse) ProtoReflect

func (*GetSnapShotStateDataResponse) Reset

func (x *GetSnapShotStateDataResponse) Reset()

func (*GetSnapShotStateDataResponse) String

type GetValueRequest

type GetValueRequest struct {
	CurveSpec uint32 `protobuf:"varint,1,opt,name=CurveSpec,proto3" json:"CurveSpec,omitempty"`
	Account   string `protobuf:"bytes,2,opt,name=Account,proto3" json:"Account,omitempty"` // 20 bytes
	Minvalue  string `protobuf:"bytes,3,opt,name=Minvalue,proto3" json:"Minvalue,omitempty"`
	// contains filtered or unexported fields
}

func (*GetValueRequest) Descriptor deprecated

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

Deprecated: Use GetValueRequest.ProtoReflect.Descriptor instead.

func (*GetValueRequest) GetAccount

func (x *GetValueRequest) GetAccount() string

func (*GetValueRequest) GetCurveSpec

func (x *GetValueRequest) GetCurveSpec() uint32

func (*GetValueRequest) GetMinvalue

func (x *GetValueRequest) GetMinvalue() string

func (*GetValueRequest) ProtoMessage

func (*GetValueRequest) ProtoMessage()

func (*GetValueRequest) ProtoReflect

func (x *GetValueRequest) ProtoReflect() protoreflect.Message

func (*GetValueRequest) Reset

func (x *GetValueRequest) Reset()

func (*GetValueRequest) String

func (x *GetValueRequest) String() string

type GetValueResponse

type GetValueResponse struct {
	UTXOIDs    []string `protobuf:"bytes,1,rep,name=UTXOIDs,proto3" json:"UTXOIDs,omitempty"` // []string of hashes
	TotalValue string   `protobuf:"bytes,2,opt,name=TotalValue,proto3" json:"TotalValue,omitempty"`
	// contains filtered or unexported fields
}

func (*GetValueResponse) Descriptor deprecated

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

Deprecated: Use GetValueResponse.ProtoReflect.Descriptor instead.

func (*GetValueResponse) GetTotalValue

func (x *GetValueResponse) GetTotalValue() string

func (*GetValueResponse) GetUTXOIDs

func (x *GetValueResponse) GetUTXOIDs() []string

func (*GetValueResponse) ProtoMessage

func (*GetValueResponse) ProtoMessage()

func (*GetValueResponse) ProtoReflect

func (x *GetValueResponse) ProtoReflect() protoreflect.Message

func (*GetValueResponse) Reset

func (x *GetValueResponse) Reset()

func (*GetValueResponse) String

func (x *GetValueResponse) String() string

type GossipBlockHeaderAck

type GossipBlockHeaderAck struct {
	// contains filtered or unexported fields
}

func (*GossipBlockHeaderAck) Descriptor deprecated

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

Deprecated: Use GossipBlockHeaderAck.ProtoReflect.Descriptor instead.

func (*GossipBlockHeaderAck) ProtoMessage

func (*GossipBlockHeaderAck) ProtoMessage()

func (*GossipBlockHeaderAck) ProtoReflect

func (x *GossipBlockHeaderAck) ProtoReflect() protoreflect.Message

func (*GossipBlockHeaderAck) Reset

func (x *GossipBlockHeaderAck) Reset()

func (*GossipBlockHeaderAck) String

func (x *GossipBlockHeaderAck) String() string

type GossipBlockHeaderMessage

type GossipBlockHeaderMessage struct {
	BlockHeader []byte `protobuf:"bytes,1,opt,name=BlockHeader,proto3" json:"BlockHeader,omitempty"`
	// contains filtered or unexported fields
}

func (*GossipBlockHeaderMessage) Descriptor deprecated

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

Deprecated: Use GossipBlockHeaderMessage.ProtoReflect.Descriptor instead.

func (*GossipBlockHeaderMessage) GetBlockHeader

func (x *GossipBlockHeaderMessage) GetBlockHeader() []byte

func (*GossipBlockHeaderMessage) ProtoMessage

func (*GossipBlockHeaderMessage) ProtoMessage()

func (*GossipBlockHeaderMessage) ProtoReflect

func (x *GossipBlockHeaderMessage) ProtoReflect() protoreflect.Message

func (*GossipBlockHeaderMessage) Reset

func (x *GossipBlockHeaderMessage) Reset()

func (*GossipBlockHeaderMessage) String

func (x *GossipBlockHeaderMessage) String() string

type GossipNextHeightAck

type GossipNextHeightAck struct {
	// contains filtered or unexported fields
}

func (*GossipNextHeightAck) Descriptor deprecated

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

Deprecated: Use GossipNextHeightAck.ProtoReflect.Descriptor instead.

func (*GossipNextHeightAck) ProtoMessage

func (*GossipNextHeightAck) ProtoMessage()

func (*GossipNextHeightAck) ProtoReflect

func (x *GossipNextHeightAck) ProtoReflect() protoreflect.Message

func (*GossipNextHeightAck) Reset

func (x *GossipNextHeightAck) Reset()

func (*GossipNextHeightAck) String

func (x *GossipNextHeightAck) String() string

type GossipNextHeightMessage

type GossipNextHeightMessage struct {
	NextHeight []byte `protobuf:"bytes,1,opt,name=NextHeight,proto3" json:"NextHeight,omitempty"`
	// contains filtered or unexported fields
}

func (*GossipNextHeightMessage) Descriptor deprecated

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

Deprecated: Use GossipNextHeightMessage.ProtoReflect.Descriptor instead.

func (*GossipNextHeightMessage) GetNextHeight

func (x *GossipNextHeightMessage) GetNextHeight() []byte

func (*GossipNextHeightMessage) ProtoMessage

func (*GossipNextHeightMessage) ProtoMessage()

func (*GossipNextHeightMessage) ProtoReflect

func (x *GossipNextHeightMessage) ProtoReflect() protoreflect.Message

func (*GossipNextHeightMessage) Reset

func (x *GossipNextHeightMessage) Reset()

func (*GossipNextHeightMessage) String

func (x *GossipNextHeightMessage) String() string

type GossipNextRoundAck

type GossipNextRoundAck struct {
	// contains filtered or unexported fields
}

func (*GossipNextRoundAck) Descriptor deprecated

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

Deprecated: Use GossipNextRoundAck.ProtoReflect.Descriptor instead.

func (*GossipNextRoundAck) ProtoMessage

func (*GossipNextRoundAck) ProtoMessage()

func (*GossipNextRoundAck) ProtoReflect

func (x *GossipNextRoundAck) ProtoReflect() protoreflect.Message

func (*GossipNextRoundAck) Reset

func (x *GossipNextRoundAck) Reset()

func (*GossipNextRoundAck) String

func (x *GossipNextRoundAck) String() string

type GossipNextRoundMessage

type GossipNextRoundMessage struct {
	NextRound []byte `protobuf:"bytes,1,opt,name=NextRound,proto3" json:"NextRound,omitempty"`
	// contains filtered or unexported fields
}

func (*GossipNextRoundMessage) Descriptor deprecated

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

Deprecated: Use GossipNextRoundMessage.ProtoReflect.Descriptor instead.

func (*GossipNextRoundMessage) GetNextRound

func (x *GossipNextRoundMessage) GetNextRound() []byte

func (*GossipNextRoundMessage) ProtoMessage

func (*GossipNextRoundMessage) ProtoMessage()

func (*GossipNextRoundMessage) ProtoReflect

func (x *GossipNextRoundMessage) ProtoReflect() protoreflect.Message

func (*GossipNextRoundMessage) Reset

func (x *GossipNextRoundMessage) Reset()

func (*GossipNextRoundMessage) String

func (x *GossipNextRoundMessage) String() string

type GossipPreCommitAck

type GossipPreCommitAck struct {
	// contains filtered or unexported fields
}

func (*GossipPreCommitAck) Descriptor deprecated

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

Deprecated: Use GossipPreCommitAck.ProtoReflect.Descriptor instead.

func (*GossipPreCommitAck) ProtoMessage

func (*GossipPreCommitAck) ProtoMessage()

func (*GossipPreCommitAck) ProtoReflect

func (x *GossipPreCommitAck) ProtoReflect() protoreflect.Message

func (*GossipPreCommitAck) Reset

func (x *GossipPreCommitAck) Reset()

func (*GossipPreCommitAck) String

func (x *GossipPreCommitAck) String() string

type GossipPreCommitMessage

type GossipPreCommitMessage struct {
	PreCommit []byte `protobuf:"bytes,1,opt,name=PreCommit,proto3" json:"PreCommit,omitempty"`
	// contains filtered or unexported fields
}

func (*GossipPreCommitMessage) Descriptor deprecated

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

Deprecated: Use GossipPreCommitMessage.ProtoReflect.Descriptor instead.

func (*GossipPreCommitMessage) GetPreCommit

func (x *GossipPreCommitMessage) GetPreCommit() []byte

func (*GossipPreCommitMessage) ProtoMessage

func (*GossipPreCommitMessage) ProtoMessage()

func (*GossipPreCommitMessage) ProtoReflect

func (x *GossipPreCommitMessage) ProtoReflect() protoreflect.Message

func (*GossipPreCommitMessage) Reset

func (x *GossipPreCommitMessage) Reset()

func (*GossipPreCommitMessage) String

func (x *GossipPreCommitMessage) String() string

type GossipPreCommitNilAck

type GossipPreCommitNilAck struct {
	// contains filtered or unexported fields
}

func (*GossipPreCommitNilAck) Descriptor deprecated

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

Deprecated: Use GossipPreCommitNilAck.ProtoReflect.Descriptor instead.

func (*GossipPreCommitNilAck) ProtoMessage

func (*GossipPreCommitNilAck) ProtoMessage()

func (*GossipPreCommitNilAck) ProtoReflect

func (x *GossipPreCommitNilAck) ProtoReflect() protoreflect.Message

func (*GossipPreCommitNilAck) Reset

func (x *GossipPreCommitNilAck) Reset()

func (*GossipPreCommitNilAck) String

func (x *GossipPreCommitNilAck) String() string

type GossipPreCommitNilMessage

type GossipPreCommitNilMessage struct {
	PreCommitNil []byte `protobuf:"bytes,1,opt,name=PreCommitNil,proto3" json:"PreCommitNil,omitempty"`
	// contains filtered or unexported fields
}

func (*GossipPreCommitNilMessage) Descriptor deprecated

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

Deprecated: Use GossipPreCommitNilMessage.ProtoReflect.Descriptor instead.

func (*GossipPreCommitNilMessage) GetPreCommitNil

func (x *GossipPreCommitNilMessage) GetPreCommitNil() []byte

func (*GossipPreCommitNilMessage) ProtoMessage

func (*GossipPreCommitNilMessage) ProtoMessage()

func (*GossipPreCommitNilMessage) ProtoReflect

func (*GossipPreCommitNilMessage) Reset

func (x *GossipPreCommitNilMessage) Reset()

func (*GossipPreCommitNilMessage) String

func (x *GossipPreCommitNilMessage) String() string

type GossipPreVoteAck

type GossipPreVoteAck struct {
	// contains filtered or unexported fields
}

func (*GossipPreVoteAck) Descriptor deprecated

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

Deprecated: Use GossipPreVoteAck.ProtoReflect.Descriptor instead.

func (*GossipPreVoteAck) ProtoMessage

func (*GossipPreVoteAck) ProtoMessage()

func (*GossipPreVoteAck) ProtoReflect

func (x *GossipPreVoteAck) ProtoReflect() protoreflect.Message

func (*GossipPreVoteAck) Reset

func (x *GossipPreVoteAck) Reset()

func (*GossipPreVoteAck) String

func (x *GossipPreVoteAck) String() string

type GossipPreVoteMessage

type GossipPreVoteMessage struct {
	PreVote []byte `protobuf:"bytes,1,opt,name=PreVote,proto3" json:"PreVote,omitempty"`
	// contains filtered or unexported fields
}

func (*GossipPreVoteMessage) Descriptor deprecated

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

Deprecated: Use GossipPreVoteMessage.ProtoReflect.Descriptor instead.

func (*GossipPreVoteMessage) GetPreVote

func (x *GossipPreVoteMessage) GetPreVote() []byte

func (*GossipPreVoteMessage) ProtoMessage

func (*GossipPreVoteMessage) ProtoMessage()

func (*GossipPreVoteMessage) ProtoReflect

func (x *GossipPreVoteMessage) ProtoReflect() protoreflect.Message

func (*GossipPreVoteMessage) Reset

func (x *GossipPreVoteMessage) Reset()

func (*GossipPreVoteMessage) String

func (x *GossipPreVoteMessage) String() string

type GossipPreVoteNilAck

type GossipPreVoteNilAck struct {
	// contains filtered or unexported fields
}

func (*GossipPreVoteNilAck) Descriptor deprecated

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

Deprecated: Use GossipPreVoteNilAck.ProtoReflect.Descriptor instead.

func (*GossipPreVoteNilAck) ProtoMessage

func (*GossipPreVoteNilAck) ProtoMessage()

func (*GossipPreVoteNilAck) ProtoReflect

func (x *GossipPreVoteNilAck) ProtoReflect() protoreflect.Message

func (*GossipPreVoteNilAck) Reset

func (x *GossipPreVoteNilAck) Reset()

func (*GossipPreVoteNilAck) String

func (x *GossipPreVoteNilAck) String() string

type GossipPreVoteNilMessage

type GossipPreVoteNilMessage struct {
	PreVoteNil []byte `protobuf:"bytes,1,opt,name=PreVoteNil,proto3" json:"PreVoteNil,omitempty"`
	// contains filtered or unexported fields
}

func (*GossipPreVoteNilMessage) Descriptor deprecated

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

Deprecated: Use GossipPreVoteNilMessage.ProtoReflect.Descriptor instead.

func (*GossipPreVoteNilMessage) GetPreVoteNil

func (x *GossipPreVoteNilMessage) GetPreVoteNil() []byte

func (*GossipPreVoteNilMessage) ProtoMessage

func (*GossipPreVoteNilMessage) ProtoMessage()

func (*GossipPreVoteNilMessage) ProtoReflect

func (x *GossipPreVoteNilMessage) ProtoReflect() protoreflect.Message

func (*GossipPreVoteNilMessage) Reset

func (x *GossipPreVoteNilMessage) Reset()

func (*GossipPreVoteNilMessage) String

func (x *GossipPreVoteNilMessage) String() string

type GossipProposalAck

type GossipProposalAck struct {
	// contains filtered or unexported fields
}

func (*GossipProposalAck) Descriptor deprecated

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

Deprecated: Use GossipProposalAck.ProtoReflect.Descriptor instead.

func (*GossipProposalAck) ProtoMessage

func (*GossipProposalAck) ProtoMessage()

func (*GossipProposalAck) ProtoReflect

func (x *GossipProposalAck) ProtoReflect() protoreflect.Message

func (*GossipProposalAck) Reset

func (x *GossipProposalAck) Reset()

func (*GossipProposalAck) String

func (x *GossipProposalAck) String() string

type GossipProposalMessage

type GossipProposalMessage struct {
	Proposal []byte `protobuf:"bytes,1,opt,name=Proposal,proto3" json:"Proposal,omitempty"`
	// contains filtered or unexported fields
}

func (*GossipProposalMessage) Descriptor deprecated

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

Deprecated: Use GossipProposalMessage.ProtoReflect.Descriptor instead.

func (*GossipProposalMessage) GetProposal

func (x *GossipProposalMessage) GetProposal() []byte

func (*GossipProposalMessage) ProtoMessage

func (*GossipProposalMessage) ProtoMessage()

func (*GossipProposalMessage) ProtoReflect

func (x *GossipProposalMessage) ProtoReflect() protoreflect.Message

func (*GossipProposalMessage) Reset

func (x *GossipProposalMessage) Reset()

func (*GossipProposalMessage) String

func (x *GossipProposalMessage) String() string

type GossipTransactionAck

type GossipTransactionAck struct {
	// contains filtered or unexported fields
}

func (*GossipTransactionAck) Descriptor deprecated

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

Deprecated: Use GossipTransactionAck.ProtoReflect.Descriptor instead.

func (*GossipTransactionAck) ProtoMessage

func (*GossipTransactionAck) ProtoMessage()

func (*GossipTransactionAck) ProtoReflect

func (x *GossipTransactionAck) ProtoReflect() protoreflect.Message

func (*GossipTransactionAck) Reset

func (x *GossipTransactionAck) Reset()

func (*GossipTransactionAck) String

func (x *GossipTransactionAck) String() string

type GossipTransactionMessage

type GossipTransactionMessage struct {
	Transaction []byte `protobuf:"bytes,1,opt,name=Transaction,proto3" json:"Transaction,omitempty"`
	// contains filtered or unexported fields
}

func (*GossipTransactionMessage) Descriptor deprecated

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

Deprecated: Use GossipTransactionMessage.ProtoReflect.Descriptor instead.

func (*GossipTransactionMessage) GetTransaction

func (x *GossipTransactionMessage) GetTransaction() []byte

func (*GossipTransactionMessage) ProtoMessage

func (*GossipTransactionMessage) ProtoMessage()

func (*GossipTransactionMessage) ProtoReflect

func (x *GossipTransactionMessage) ProtoReflect() protoreflect.Message

func (*GossipTransactionMessage) Reset

func (x *GossipTransactionMessage) Reset()

func (*GossipTransactionMessage) String

func (x *GossipTransactionMessage) String() string

type IterateNameSpaceRequest

type IterateNameSpaceRequest struct {
	CurveSpec  uint32 `protobuf:"varint,1,opt,name=CurveSpec,proto3" json:"CurveSpec,omitempty"`
	Account    string `protobuf:"bytes,2,opt,name=Account,proto3" json:"Account,omitempty"`       // 20 bytes
	Number     uint32 `protobuf:"varint,3,opt,name=Number,proto3" json:"Number,omitempty"`        // not more than 256
	StartIndex string `protobuf:"bytes,4,opt,name=StartIndex,proto3" json:"StartIndex,omitempty"` // 32 bytes
	// contains filtered or unexported fields
}

func (*IterateNameSpaceRequest) Descriptor deprecated

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

Deprecated: Use IterateNameSpaceRequest.ProtoReflect.Descriptor instead.

func (*IterateNameSpaceRequest) GetAccount

func (x *IterateNameSpaceRequest) GetAccount() string

func (*IterateNameSpaceRequest) GetCurveSpec

func (x *IterateNameSpaceRequest) GetCurveSpec() uint32

func (*IterateNameSpaceRequest) GetNumber

func (x *IterateNameSpaceRequest) GetNumber() uint32

func (*IterateNameSpaceRequest) GetStartIndex

func (x *IterateNameSpaceRequest) GetStartIndex() string

func (*IterateNameSpaceRequest) ProtoMessage

func (*IterateNameSpaceRequest) ProtoMessage()

func (*IterateNameSpaceRequest) ProtoReflect

func (x *IterateNameSpaceRequest) ProtoReflect() protoreflect.Message

func (*IterateNameSpaceRequest) Reset

func (x *IterateNameSpaceRequest) Reset()

func (*IterateNameSpaceRequest) String

func (x *IterateNameSpaceRequest) String() string

type IterateNameSpaceResponse

type IterateNameSpaceResponse struct {
	Results []*IterateNameSpaceResponse_Result `protobuf:"bytes,1,rep,name=Results,proto3" json:"Results,omitempty"`
	// contains filtered or unexported fields
}

func (*IterateNameSpaceResponse) Descriptor deprecated

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

Deprecated: Use IterateNameSpaceResponse.ProtoReflect.Descriptor instead.

func (*IterateNameSpaceResponse) GetResults

func (*IterateNameSpaceResponse) ProtoMessage

func (*IterateNameSpaceResponse) ProtoMessage()

func (*IterateNameSpaceResponse) ProtoReflect

func (x *IterateNameSpaceResponse) ProtoReflect() protoreflect.Message

func (*IterateNameSpaceResponse) Reset

func (x *IterateNameSpaceResponse) Reset()

func (*IterateNameSpaceResponse) String

func (x *IterateNameSpaceResponse) String() string

type IterateNameSpaceResponse_Result

type IterateNameSpaceResponse_Result struct {
	UTXOID string `protobuf:"bytes,1,opt,name=UTXOID,proto3" json:"UTXOID,omitempty"`
	Index  string `protobuf:"bytes,2,opt,name=Index,proto3" json:"Index,omitempty"`
	// contains filtered or unexported fields
}

func (*IterateNameSpaceResponse_Result) Descriptor deprecated

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

Deprecated: Use IterateNameSpaceResponse_Result.ProtoReflect.Descriptor instead.

func (*IterateNameSpaceResponse_Result) GetIndex

func (*IterateNameSpaceResponse_Result) GetUTXOID

func (x *IterateNameSpaceResponse_Result) GetUTXOID() string

func (*IterateNameSpaceResponse_Result) ProtoMessage

func (*IterateNameSpaceResponse_Result) ProtoMessage()

func (*IterateNameSpaceResponse_Result) ProtoReflect

func (*IterateNameSpaceResponse_Result) Reset

func (*IterateNameSpaceResponse_Result) String

type LocalStateClient

type LocalStateClient interface {
	// Get only the raw data from a datastore UTXO that has been mined into chain
	GetData(ctx context.Context, in *GetDataRequest, opts ...grpc.CallOption) (*GetDataResponse, error)
	// Get a list of UTXOs that sum to at least a minimum of some value where each
	// UTXO has a common owner
	GetValueForOwner(ctx context.Context, in *GetValueRequest, opts ...grpc.CallOption) (*GetValueResponse, error)
	// Iterate all datastores in a namespace defined by an owner
	IterateNameSpace(ctx context.Context, in *IterateNameSpaceRequest, opts ...grpc.CallOption) (*IterateNameSpaceResponse, error)
	// Get a mined transaction by hash
	GetMinedTransaction(ctx context.Context, in *MinedTransactionRequest, opts ...grpc.CallOption) (*MinedTransactionResponse, error)
	// Get blockheader by hash or blocknumber
	GetBlockHeader(ctx context.Context, in *BlockHeaderRequest, opts ...grpc.CallOption) (*BlockHeaderResponse, error)
	// Get a raw UTXO by TxHash and index or by UTXOID
	GetUTXO(ctx context.Context, in *UTXORequest, opts ...grpc.CallOption) (*UTXOResponse, error)
	// Get a pending transaction by hash
	GetPendingTransaction(ctx context.Context, in *PendingTransactionRequest, opts ...grpc.CallOption) (*PendingTransactionResponse, error)
	// Get the round state object for a specified round for a specified validator
	// This allows tracing the consensus flow.
	GetRoundStateForValidator(ctx context.Context, in *RoundStateForValidatorRequest, opts ...grpc.CallOption) (*RoundStateForValidatorResponse, error)
	// Get the set of validators for a specified block height
	GetValidatorSet(ctx context.Context, in *ValidatorSetRequest, opts ...grpc.CallOption) (*ValidatorSetResponse, error)
	// Get the current block number
	GetBlockNumber(ctx context.Context, in *BlockNumberRequest, opts ...grpc.CallOption) (*BlockNumberResponse, error)
	// Get the current ChainID of the node
	GetChainID(ctx context.Context, in *ChainIDRequest, opts ...grpc.CallOption) (*ChainIDResponse, error)
	// Send a transaction to the node
	SendTransaction(ctx context.Context, in *TransactionData, opts ...grpc.CallOption) (*TransactionDetails, error)
	// Get the current block number
	GetEpochNumber(ctx context.Context, in *EpochNumberRequest, opts ...grpc.CallOption) (*EpochNumberResponse, error)
	// Get the current block number
	GetTxBlockNumber(ctx context.Context, in *TxBlockNumberRequest, opts ...grpc.CallOption) (*TxBlockNumberResponse, error)
}

LocalStateClient is the client API for LocalState service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewLocalStateClient

func NewLocalStateClient(cc grpc.ClientConnInterface) LocalStateClient

type LocalStateDispatch

type LocalStateDispatch struct {
	sync.Mutex
	// contains filtered or unexported fields
}

LocalStateDispatch allows handlers to be registered for all RPC methods using the Register<Service><Name> methods. After registration, the LocalStateDispatch struct will dispatch calls to an rpc method via the methods named as <Service><Name>(...)

func NewLocalStateDispatch

func NewLocalStateDispatch() *LocalStateDispatch

NewLocalStateDispatch will construct a new LocalStateDispatcher with all fields properly initialized.

func (*LocalStateDispatch) LocalStateGetBlockHeader

func (d *LocalStateDispatch) LocalStateGetBlockHeader(ctx context.Context, r *BlockHeaderRequest) (*BlockHeaderResponse, error)

LocalStateGetBlockHeader will invoke the handler for the RPC method GetBlockHeader from service LocalState

func (*LocalStateDispatch) LocalStateGetBlockNumber

func (d *LocalStateDispatch) LocalStateGetBlockNumber(ctx context.Context, r *BlockNumberRequest) (*BlockNumberResponse, error)

LocalStateGetBlockNumber will invoke the handler for the RPC method GetBlockNumber from service LocalState

func (*LocalStateDispatch) LocalStateGetChainID

func (d *LocalStateDispatch) LocalStateGetChainID(ctx context.Context, r *ChainIDRequest) (*ChainIDResponse, error)

LocalStateGetChainID will invoke the handler for the RPC method GetChainID from service LocalState

func (*LocalStateDispatch) LocalStateGetData

func (d *LocalStateDispatch) LocalStateGetData(ctx context.Context, r *GetDataRequest) (*GetDataResponse, error)

LocalStateGetData will invoke the handler for the RPC method GetData from service LocalState

func (*LocalStateDispatch) LocalStateGetEpochNumber

func (d *LocalStateDispatch) LocalStateGetEpochNumber(ctx context.Context, r *EpochNumberRequest) (*EpochNumberResponse, error)

LocalStateGetEpochNumber will invoke the handler for the RPC method GetEpochNumber from service LocalState

func (*LocalStateDispatch) LocalStateGetMinedTransaction

func (d *LocalStateDispatch) LocalStateGetMinedTransaction(ctx context.Context, r *MinedTransactionRequest) (*MinedTransactionResponse, error)

LocalStateGetMinedTransaction will invoke the handler for the RPC method GetMinedTransaction from service LocalState

func (*LocalStateDispatch) LocalStateGetPendingTransaction

func (d *LocalStateDispatch) LocalStateGetPendingTransaction(ctx context.Context, r *PendingTransactionRequest) (*PendingTransactionResponse, error)

LocalStateGetPendingTransaction will invoke the handler for the RPC method GetPendingTransaction from service LocalState

func (*LocalStateDispatch) LocalStateGetRoundStateForValidator

func (d *LocalStateDispatch) LocalStateGetRoundStateForValidator(ctx context.Context, r *RoundStateForValidatorRequest) (*RoundStateForValidatorResponse, error)

LocalStateGetRoundStateForValidator will invoke the handler for the RPC method GetRoundStateForValidator from service LocalState

func (*LocalStateDispatch) LocalStateGetTxBlockNumber

func (d *LocalStateDispatch) LocalStateGetTxBlockNumber(ctx context.Context, r *TxBlockNumberRequest) (*TxBlockNumberResponse, error)

LocalStateGetTxBlockNumber will invoke the handler for the RPC method GetTxBlockNumber from service LocalState

func (*LocalStateDispatch) LocalStateGetUTXO

func (d *LocalStateDispatch) LocalStateGetUTXO(ctx context.Context, r *UTXORequest) (*UTXOResponse, error)

LocalStateGetUTXO will invoke the handler for the RPC method GetUTXO from service LocalState

func (*LocalStateDispatch) LocalStateGetValidatorSet

func (d *LocalStateDispatch) LocalStateGetValidatorSet(ctx context.Context, r *ValidatorSetRequest) (*ValidatorSetResponse, error)

LocalStateGetValidatorSet will invoke the handler for the RPC method GetValidatorSet from service LocalState

func (*LocalStateDispatch) LocalStateGetValueForOwner

func (d *LocalStateDispatch) LocalStateGetValueForOwner(ctx context.Context, r *GetValueRequest) (*GetValueResponse, error)

LocalStateGetValueForOwner will invoke the handler for the RPC method GetValueForOwner from service LocalState

func (*LocalStateDispatch) LocalStateIterateNameSpace

func (d *LocalStateDispatch) LocalStateIterateNameSpace(ctx context.Context, r *IterateNameSpaceRequest) (*IterateNameSpaceResponse, error)

LocalStateIterateNameSpace will invoke the handler for the RPC method IterateNameSpace from service LocalState

func (*LocalStateDispatch) LocalStateSendTransaction

func (d *LocalStateDispatch) LocalStateSendTransaction(ctx context.Context, r *TransactionData) (*TransactionDetails, error)

LocalStateSendTransaction will invoke the handler for the RPC method SendTransaction from service LocalState

func (*LocalStateDispatch) RegisterLocalStateGetBlockHeader

func (d *LocalStateDispatch) RegisterLocalStateGetBlockHeader(t LocalStateGetBlockHeaderHandler)

RegisterLocalStateGetBlockHeader will register the object 't' as the service handler for the RPC method GetBlockHeader from service LocalState

func (*LocalStateDispatch) RegisterLocalStateGetBlockNumber

func (d *LocalStateDispatch) RegisterLocalStateGetBlockNumber(t LocalStateGetBlockNumberHandler)

RegisterLocalStateGetBlockNumber will register the object 't' as the service handler for the RPC method GetBlockNumber from service LocalState

func (*LocalStateDispatch) RegisterLocalStateGetChainID

func (d *LocalStateDispatch) RegisterLocalStateGetChainID(t LocalStateGetChainIDHandler)

RegisterLocalStateGetChainID will register the object 't' as the service handler for the RPC method GetChainID from service LocalState

func (*LocalStateDispatch) RegisterLocalStateGetData

func (d *LocalStateDispatch) RegisterLocalStateGetData(t LocalStateGetDataHandler)

RegisterLocalStateGetData will register the object 't' as the service handler for the RPC method GetData from service LocalState

func (*LocalStateDispatch) RegisterLocalStateGetEpochNumber

func (d *LocalStateDispatch) RegisterLocalStateGetEpochNumber(t LocalStateGetEpochNumberHandler)

RegisterLocalStateGetEpochNumber will register the object 't' as the service handler for the RPC method GetEpochNumber from service LocalState

func (*LocalStateDispatch) RegisterLocalStateGetMinedTransaction

func (d *LocalStateDispatch) RegisterLocalStateGetMinedTransaction(t LocalStateGetMinedTransactionHandler)

RegisterLocalStateGetMinedTransaction will register the object 't' as the service handler for the RPC method GetMinedTransaction from service LocalState

func (*LocalStateDispatch) RegisterLocalStateGetPendingTransaction

func (d *LocalStateDispatch) RegisterLocalStateGetPendingTransaction(t LocalStateGetPendingTransactionHandler)

RegisterLocalStateGetPendingTransaction will register the object 't' as the service handler for the RPC method GetPendingTransaction from service LocalState

func (*LocalStateDispatch) RegisterLocalStateGetRoundStateForValidator

func (d *LocalStateDispatch) RegisterLocalStateGetRoundStateForValidator(t LocalStateGetRoundStateForValidatorHandler)

RegisterLocalStateGetRoundStateForValidator will register the object 't' as the service handler for the RPC method GetRoundStateForValidator from service LocalState

func (*LocalStateDispatch) RegisterLocalStateGetTxBlockNumber

func (d *LocalStateDispatch) RegisterLocalStateGetTxBlockNumber(t LocalStateGetTxBlockNumberHandler)

RegisterLocalStateGetTxBlockNumber will register the object 't' as the service handler for the RPC method GetTxBlockNumber from service LocalState

func (*LocalStateDispatch) RegisterLocalStateGetUTXO

func (d *LocalStateDispatch) RegisterLocalStateGetUTXO(t LocalStateGetUTXOHandler)

RegisterLocalStateGetUTXO will register the object 't' as the service handler for the RPC method GetUTXO from service LocalState

func (*LocalStateDispatch) RegisterLocalStateGetValidatorSet

func (d *LocalStateDispatch) RegisterLocalStateGetValidatorSet(t LocalStateGetValidatorSetHandler)

RegisterLocalStateGetValidatorSet will register the object 't' as the service handler for the RPC method GetValidatorSet from service LocalState

func (*LocalStateDispatch) RegisterLocalStateGetValueForOwner

func (d *LocalStateDispatch) RegisterLocalStateGetValueForOwner(t LocalStateGetValueForOwnerHandler)

RegisterLocalStateGetValueForOwner will register the object 't' as the service handler for the RPC method GetValueForOwner from service LocalState

func (*LocalStateDispatch) RegisterLocalStateIterateNameSpace

func (d *LocalStateDispatch) RegisterLocalStateIterateNameSpace(t LocalStateIterateNameSpaceHandler)

RegisterLocalStateIterateNameSpace will register the object 't' as the service handler for the RPC method IterateNameSpace from service LocalState

func (*LocalStateDispatch) RegisterLocalStateSendTransaction

func (d *LocalStateDispatch) RegisterLocalStateSendTransaction(t LocalStateSendTransactionHandler)

RegisterLocalStateSendTransaction will register the object 't' as the service handler for the RPC method SendTransaction from service LocalState

type LocalStateGetBlockHeaderHandler

type LocalStateGetBlockHeaderHandler interface {
	HandleLocalStateGetBlockHeader(context.Context, *BlockHeaderRequest) (*BlockHeaderResponse, error)
}

LocalStateGetBlockHeaderHandler is an interface class that only contains the method HandleLocalStateGetBlockHeader The class that implements this method MUST handle the RPC call for the method GetBlockHeader of the RPC service LocalState

type LocalStateGetBlockNumberHandler

type LocalStateGetBlockNumberHandler interface {
	HandleLocalStateGetBlockNumber(context.Context, *BlockNumberRequest) (*BlockNumberResponse, error)
}

LocalStateGetBlockNumberHandler is an interface class that only contains the method HandleLocalStateGetBlockNumber The class that implements this method MUST handle the RPC call for the method GetBlockNumber of the RPC service LocalState

type LocalStateGetChainIDHandler

type LocalStateGetChainIDHandler interface {
	HandleLocalStateGetChainID(context.Context, *ChainIDRequest) (*ChainIDResponse, error)
}

LocalStateGetChainIDHandler is an interface class that only contains the method HandleLocalStateGetChainID The class that implements this method MUST handle the RPC call for the method GetChainID of the RPC service LocalState

type LocalStateGetDataHandler

type LocalStateGetDataHandler interface {
	HandleLocalStateGetData(context.Context, *GetDataRequest) (*GetDataResponse, error)
}

LocalStateGetDataHandler is an interface class that only contains the method HandleLocalStateGetData The class that implements this method MUST handle the RPC call for the method GetData of the RPC service LocalState

type LocalStateGetEpochNumberHandler

type LocalStateGetEpochNumberHandler interface {
	HandleLocalStateGetEpochNumber(context.Context, *EpochNumberRequest) (*EpochNumberResponse, error)
}

LocalStateGetEpochNumberHandler is an interface class that only contains the method HandleLocalStateGetEpochNumber The class that implements this method MUST handle the RPC call for the method GetEpochNumber of the RPC service LocalState

type LocalStateGetMinedTransactionHandler

type LocalStateGetMinedTransactionHandler interface {
	HandleLocalStateGetMinedTransaction(context.Context, *MinedTransactionRequest) (*MinedTransactionResponse, error)
}

LocalStateGetMinedTransactionHandler is an interface class that only contains the method HandleLocalStateGetMinedTransaction The class that implements this method MUST handle the RPC call for the method GetMinedTransaction of the RPC service LocalState

type LocalStateGetPendingTransactionHandler

type LocalStateGetPendingTransactionHandler interface {
	HandleLocalStateGetPendingTransaction(context.Context, *PendingTransactionRequest) (*PendingTransactionResponse, error)
}

LocalStateGetPendingTransactionHandler is an interface class that only contains the method HandleLocalStateGetPendingTransaction The class that implements this method MUST handle the RPC call for the method GetPendingTransaction of the RPC service LocalState

type LocalStateGetRoundStateForValidatorHandler

type LocalStateGetRoundStateForValidatorHandler interface {
	HandleLocalStateGetRoundStateForValidator(context.Context, *RoundStateForValidatorRequest) (*RoundStateForValidatorResponse, error)
}

LocalStateGetRoundStateForValidatorHandler is an interface class that only contains the method HandleLocalStateGetRoundStateForValidator The class that implements this method MUST handle the RPC call for the method GetRoundStateForValidator of the RPC service LocalState

type LocalStateGetTxBlockNumberHandler

type LocalStateGetTxBlockNumberHandler interface {
	HandleLocalStateGetTxBlockNumber(context.Context, *TxBlockNumberRequest) (*TxBlockNumberResponse, error)
}

LocalStateGetTxBlockNumberHandler is an interface class that only contains the method HandleLocalStateGetTxBlockNumber The class that implements this method MUST handle the RPC call for the method GetTxBlockNumber of the RPC service LocalState

type LocalStateGetUTXOHandler

type LocalStateGetUTXOHandler interface {
	HandleLocalStateGetUTXO(context.Context, *UTXORequest) (*UTXOResponse, error)
}

LocalStateGetUTXOHandler is an interface class that only contains the method HandleLocalStateGetUTXO The class that implements this method MUST handle the RPC call for the method GetUTXO of the RPC service LocalState

type LocalStateGetValidatorSetHandler

type LocalStateGetValidatorSetHandler interface {
	HandleLocalStateGetValidatorSet(context.Context, *ValidatorSetRequest) (*ValidatorSetResponse, error)
}

LocalStateGetValidatorSetHandler is an interface class that only contains the method HandleLocalStateGetValidatorSet The class that implements this method MUST handle the RPC call for the method GetValidatorSet of the RPC service LocalState

type LocalStateGetValueForOwnerHandler

type LocalStateGetValueForOwnerHandler interface {
	HandleLocalStateGetValueForOwner(context.Context, *GetValueRequest) (*GetValueResponse, error)
}

LocalStateGetValueForOwnerHandler is an interface class that only contains the method HandleLocalStateGetValueForOwner The class that implements this method MUST handle the RPC call for the method GetValueForOwner of the RPC service LocalState

type LocalStateIterateNameSpaceHandler

type LocalStateIterateNameSpaceHandler interface {
	HandleLocalStateIterateNameSpace(context.Context, *IterateNameSpaceRequest) (*IterateNameSpaceResponse, error)
}

LocalStateIterateNameSpaceHandler is an interface class that only contains the method HandleLocalStateIterateNameSpace The class that implements this method MUST handle the RPC call for the method IterateNameSpace of the RPC service LocalState

type LocalStateSendTransactionHandler

type LocalStateSendTransactionHandler interface {
	HandleLocalStateSendTransaction(context.Context, *TransactionData) (*TransactionDetails, error)
}

LocalStateSendTransactionHandler is an interface class that only contains the method HandleLocalStateSendTransaction The class that implements this method MUST handle the RPC call for the method SendTransaction of the RPC service LocalState

type LocalStateServer

type LocalStateServer interface {
	// Get only the raw data from a datastore UTXO that has been mined into chain
	GetData(context.Context, *GetDataRequest) (*GetDataResponse, error)
	// Get a list of UTXOs that sum to at least a minimum of some value where each
	// UTXO has a common owner
	GetValueForOwner(context.Context, *GetValueRequest) (*GetValueResponse, error)
	// Iterate all datastores in a namespace defined by an owner
	IterateNameSpace(context.Context, *IterateNameSpaceRequest) (*IterateNameSpaceResponse, error)
	// Get a mined transaction by hash
	GetMinedTransaction(context.Context, *MinedTransactionRequest) (*MinedTransactionResponse, error)
	// Get blockheader by hash or blocknumber
	GetBlockHeader(context.Context, *BlockHeaderRequest) (*BlockHeaderResponse, error)
	// Get a raw UTXO by TxHash and index or by UTXOID
	GetUTXO(context.Context, *UTXORequest) (*UTXOResponse, error)
	// Get a pending transaction by hash
	GetPendingTransaction(context.Context, *PendingTransactionRequest) (*PendingTransactionResponse, error)
	// Get the round state object for a specified round for a specified validator
	// This allows tracing the consensus flow.
	GetRoundStateForValidator(context.Context, *RoundStateForValidatorRequest) (*RoundStateForValidatorResponse, error)
	// Get the set of validators for a specified block height
	GetValidatorSet(context.Context, *ValidatorSetRequest) (*ValidatorSetResponse, error)
	// Get the current block number
	GetBlockNumber(context.Context, *BlockNumberRequest) (*BlockNumberResponse, error)
	// Get the current ChainID of the node
	GetChainID(context.Context, *ChainIDRequest) (*ChainIDResponse, error)
	// Send a transaction to the node
	SendTransaction(context.Context, *TransactionData) (*TransactionDetails, error)
	// Get the current block number
	GetEpochNumber(context.Context, *EpochNumberRequest) (*EpochNumberResponse, error)
	// Get the current block number
	GetTxBlockNumber(context.Context, *TxBlockNumberRequest) (*TxBlockNumberResponse, error)
}

LocalStateServer is the server API for LocalState service.

type MinedTransactionRequest

type MinedTransactionRequest struct {
	TxHash string `protobuf:"bytes,1,opt,name=TxHash,proto3" json:"TxHash,omitempty"` // 32 bytes
	// contains filtered or unexported fields
}

func (*MinedTransactionRequest) Descriptor deprecated

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

Deprecated: Use MinedTransactionRequest.ProtoReflect.Descriptor instead.

func (*MinedTransactionRequest) GetTxHash

func (x *MinedTransactionRequest) GetTxHash() string

func (*MinedTransactionRequest) ProtoMessage

func (*MinedTransactionRequest) ProtoMessage()

func (*MinedTransactionRequest) ProtoReflect

func (x *MinedTransactionRequest) ProtoReflect() protoreflect.Message

func (*MinedTransactionRequest) Reset

func (x *MinedTransactionRequest) Reset()

func (*MinedTransactionRequest) String

func (x *MinedTransactionRequest) String() string

type MinedTransactionResponse

type MinedTransactionResponse struct {
	Tx *Tx `protobuf:"bytes,1,opt,name=Tx,proto3" json:"Tx,omitempty"`
	// contains filtered or unexported fields
}

func (*MinedTransactionResponse) Descriptor deprecated

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

Deprecated: Use MinedTransactionResponse.ProtoReflect.Descriptor instead.

func (*MinedTransactionResponse) GetTx

func (x *MinedTransactionResponse) GetTx() *Tx

func (*MinedTransactionResponse) ProtoMessage

func (*MinedTransactionResponse) ProtoMessage()

func (*MinedTransactionResponse) ProtoReflect

func (x *MinedTransactionResponse) ProtoReflect() protoreflect.Message

func (*MinedTransactionResponse) Reset

func (x *MinedTransactionResponse) Reset()

func (*MinedTransactionResponse) String

func (x *MinedTransactionResponse) String() string

type NHClaims

type NHClaims struct {
	Proposal *Proposal `protobuf:"bytes,1,opt,name=Proposal,proto3" json:"Proposal,omitempty"`
	SigShare string    `protobuf:"bytes,2,opt,name=SigShare,proto3" json:"SigShare,omitempty"`
	// contains filtered or unexported fields
}

Protobuf message implementation for struct NHClaims

func (*NHClaims) Descriptor deprecated

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

Deprecated: Use NHClaims.ProtoReflect.Descriptor instead.

func (*NHClaims) GetProposal

func (x *NHClaims) GetProposal() *Proposal

func (*NHClaims) GetSigShare

func (x *NHClaims) GetSigShare() string

func (*NHClaims) ProtoMessage

func (*NHClaims) ProtoMessage()

func (*NHClaims) ProtoReflect

func (x *NHClaims) ProtoReflect() protoreflect.Message

func (*NHClaims) Reset

func (x *NHClaims) Reset()

func (*NHClaims) String

func (x *NHClaims) String() string

type NRClaims

type NRClaims struct {
	RCert      *RCert   `protobuf:"bytes,1,opt,name=RCert,proto3" json:"RCert,omitempty"`
	RClaims    *RClaims `protobuf:"bytes,2,opt,name=RClaims,proto3" json:"RClaims,omitempty"`
	SigShare   string   `protobuf:"bytes,3,opt,name=SigShare,proto3" json:"SigShare,omitempty"`
	GroupShare string   `protobuf:"bytes,4,opt,name=GroupShare,proto3" json:"GroupShare,omitempty"`
	// contains filtered or unexported fields
}

Protobuf message implementation for struct NRClaims

func (*NRClaims) Descriptor deprecated

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

Deprecated: Use NRClaims.ProtoReflect.Descriptor instead.

func (*NRClaims) GetGroupShare

func (x *NRClaims) GetGroupShare() string

func (*NRClaims) GetRCert

func (x *NRClaims) GetRCert() *RCert

func (*NRClaims) GetRClaims

func (x *NRClaims) GetRClaims() *RClaims

func (*NRClaims) GetSigShare

func (x *NRClaims) GetSigShare() string

func (*NRClaims) ProtoMessage

func (*NRClaims) ProtoMessage()

func (*NRClaims) ProtoReflect

func (x *NRClaims) ProtoReflect() protoreflect.Message

func (*NRClaims) Reset

func (x *NRClaims) Reset()

func (*NRClaims) String

func (x *NRClaims) String() string

type NextHeight

type NextHeight struct {
	NHClaims   *NHClaims `protobuf:"bytes,1,opt,name=NHClaims,proto3" json:"NHClaims,omitempty"`
	Signature  string    `protobuf:"bytes,2,opt,name=Signature,proto3" json:"Signature,omitempty"`
	PreCommits []string  `protobuf:"bytes,3,rep,name=PreCommits,proto3" json:"PreCommits,omitempty"`
	// contains filtered or unexported fields
}

Protobuf message implementation for struct NextHeight

func (*NextHeight) Descriptor deprecated

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

Deprecated: Use NextHeight.ProtoReflect.Descriptor instead.

func (*NextHeight) GetNHClaims

func (x *NextHeight) GetNHClaims() *NHClaims

func (*NextHeight) GetPreCommits

func (x *NextHeight) GetPreCommits() []string

func (*NextHeight) GetSignature

func (x *NextHeight) GetSignature() string

func (*NextHeight) ProtoMessage

func (*NextHeight) ProtoMessage()

func (*NextHeight) ProtoReflect

func (x *NextHeight) ProtoReflect() protoreflect.Message

func (*NextHeight) Reset

func (x *NextHeight) Reset()

func (*NextHeight) String

func (x *NextHeight) String() string

type NextRound

type NextRound struct {
	NRClaims  *NRClaims `protobuf:"bytes,1,opt,name=NRClaims,proto3" json:"NRClaims,omitempty"`
	Signature string    `protobuf:"bytes,2,opt,name=Signature,proto3" json:"Signature,omitempty"`
	// contains filtered or unexported fields
}

Protobuf message implementation for struct NextRound

func (*NextRound) Descriptor deprecated

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

Deprecated: Use NextRound.ProtoReflect.Descriptor instead.

func (*NextRound) GetNRClaims

func (x *NextRound) GetNRClaims() *NRClaims

func (*NextRound) GetSignature

func (x *NextRound) GetSignature() string

func (*NextRound) ProtoMessage

func (*NextRound) ProtoMessage()

func (*NextRound) ProtoReflect

func (x *NextRound) ProtoReflect() protoreflect.Message

func (*NextRound) Reset

func (x *NextRound) Reset()

func (*NextRound) String

func (x *NextRound) String() string

type P2PClient

type P2PClient interface {
	Status(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error)
	GetBlockHeaders(ctx context.Context, in *GetBlockHeadersRequest, opts ...grpc.CallOption) (*GetBlockHeadersResponse, error)
	GetMinedTxs(ctx context.Context, in *GetMinedTxsRequest, opts ...grpc.CallOption) (*GetMinedTxsResponse, error)
	GetPendingTxs(ctx context.Context, in *GetPendingTxsRequest, opts ...grpc.CallOption) (*GetPendingTxsResponse, error)
	GetSnapShotNode(ctx context.Context, in *GetSnapShotNodeRequest, opts ...grpc.CallOption) (*GetSnapShotNodeResponse, error)
	GetSnapShotStateData(ctx context.Context, in *GetSnapShotStateDataRequest, opts ...grpc.CallOption) (*GetSnapShotStateDataResponse, error)
	GetSnapShotHdrNode(ctx context.Context, in *GetSnapShotHdrNodeRequest, opts ...grpc.CallOption) (*GetSnapShotHdrNodeResponse, error)
	GossipTransaction(ctx context.Context, in *GossipTransactionMessage, opts ...grpc.CallOption) (*GossipTransactionAck, error)
	GossipProposal(ctx context.Context, in *GossipProposalMessage, opts ...grpc.CallOption) (*GossipProposalAck, error)
	GossipPreVote(ctx context.Context, in *GossipPreVoteMessage, opts ...grpc.CallOption) (*GossipPreVoteAck, error)
	GossipPreVoteNil(ctx context.Context, in *GossipPreVoteNilMessage, opts ...grpc.CallOption) (*GossipPreVoteNilAck, error)
	GossipPreCommit(ctx context.Context, in *GossipPreCommitMessage, opts ...grpc.CallOption) (*GossipPreCommitAck, error)
	GossipPreCommitNil(ctx context.Context, in *GossipPreCommitNilMessage, opts ...grpc.CallOption) (*GossipPreCommitNilAck, error)
	GossipNextRound(ctx context.Context, in *GossipNextRoundMessage, opts ...grpc.CallOption) (*GossipNextRoundAck, error)
	GossipNextHeight(ctx context.Context, in *GossipNextHeightMessage, opts ...grpc.CallOption) (*GossipNextHeightAck, error)
	GossipBlockHeader(ctx context.Context, in *GossipBlockHeaderMessage, opts ...grpc.CallOption) (*GossipBlockHeaderAck, error)
	GetPeers(ctx context.Context, in *GetPeersRequest, opts ...grpc.CallOption) (*GetPeersResponse, error)
}

P2PClient is the client API for P2P service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewP2PClient

func NewP2PClient(cc grpc.ClientConnInterface) P2PClient

type P2PGetBlockHeadersHandler

type P2PGetBlockHeadersHandler interface {
	HandleP2PGetBlockHeaders(context.Context, *GetBlockHeadersRequest) (*GetBlockHeadersResponse, error)
}

P2PGetBlockHeadersHandler is an interface class that only contains the method HandleP2PGetBlockHeaders The class that implements this method MUST handle the RPC call for the method GetBlockHeaders of the RPC service P2P

type P2PGetMinedTxsHandler

type P2PGetMinedTxsHandler interface {
	HandleP2PGetMinedTxs(context.Context, *GetMinedTxsRequest) (*GetMinedTxsResponse, error)
}

P2PGetMinedTxsHandler is an interface class that only contains the method HandleP2PGetMinedTxs The class that implements this method MUST handle the RPC call for the method GetMinedTxs of the RPC service P2P

type P2PGetPeersHandler

type P2PGetPeersHandler interface {
	HandleP2PGetPeers(context.Context, *GetPeersRequest) (*GetPeersResponse, error)
}

P2PGetPeersHandler is an interface class that only contains the method HandleP2PGetPeers The class that implements this method MUST handle the RPC call for the method GetPeers of the RPC service P2P

type P2PGetPendingTxsHandler

type P2PGetPendingTxsHandler interface {
	HandleP2PGetPendingTxs(context.Context, *GetPendingTxsRequest) (*GetPendingTxsResponse, error)
}

P2PGetPendingTxsHandler is an interface class that only contains the method HandleP2PGetPendingTxs The class that implements this method MUST handle the RPC call for the method GetPendingTxs of the RPC service P2P

type P2PGetSnapShotHdrNodeHandler

type P2PGetSnapShotHdrNodeHandler interface {
	HandleP2PGetSnapShotHdrNode(context.Context, *GetSnapShotHdrNodeRequest) (*GetSnapShotHdrNodeResponse, error)
}

P2PGetSnapShotHdrNodeHandler is an interface class that only contains the method HandleP2PGetSnapShotHdrNode The class that implements this method MUST handle the RPC call for the method GetSnapShotHdrNode of the RPC service P2P

type P2PGetSnapShotNodeHandler

type P2PGetSnapShotNodeHandler interface {
	HandleP2PGetSnapShotNode(context.Context, *GetSnapShotNodeRequest) (*GetSnapShotNodeResponse, error)
}

P2PGetSnapShotNodeHandler is an interface class that only contains the method HandleP2PGetSnapShotNode The class that implements this method MUST handle the RPC call for the method GetSnapShotNode of the RPC service P2P

type P2PGetSnapShotStateDataHandler

type P2PGetSnapShotStateDataHandler interface {
	HandleP2PGetSnapShotStateData(context.Context, *GetSnapShotStateDataRequest) (*GetSnapShotStateDataResponse, error)
}

P2PGetSnapShotStateDataHandler is an interface class that only contains the method HandleP2PGetSnapShotStateData The class that implements this method MUST handle the RPC call for the method GetSnapShotStateData of the RPC service P2P

type P2PGossipBlockHeaderHandler

type P2PGossipBlockHeaderHandler interface {
	HandleP2PGossipBlockHeader(context.Context, *GossipBlockHeaderMessage) (*GossipBlockHeaderAck, error)
}

P2PGossipBlockHeaderHandler is an interface class that only contains the method HandleP2PGossipBlockHeader The class that implements this method MUST handle the RPC call for the method GossipBlockHeader of the RPC service P2P

type P2PGossipNextHeightHandler

type P2PGossipNextHeightHandler interface {
	HandleP2PGossipNextHeight(context.Context, *GossipNextHeightMessage) (*GossipNextHeightAck, error)
}

P2PGossipNextHeightHandler is an interface class that only contains the method HandleP2PGossipNextHeight The class that implements this method MUST handle the RPC call for the method GossipNextHeight of the RPC service P2P

type P2PGossipNextRoundHandler

type P2PGossipNextRoundHandler interface {
	HandleP2PGossipNextRound(context.Context, *GossipNextRoundMessage) (*GossipNextRoundAck, error)
}

P2PGossipNextRoundHandler is an interface class that only contains the method HandleP2PGossipNextRound The class that implements this method MUST handle the RPC call for the method GossipNextRound of the RPC service P2P

type P2PGossipPreCommitHandler

type P2PGossipPreCommitHandler interface {
	HandleP2PGossipPreCommit(context.Context, *GossipPreCommitMessage) (*GossipPreCommitAck, error)
}

P2PGossipPreCommitHandler is an interface class that only contains the method HandleP2PGossipPreCommit The class that implements this method MUST handle the RPC call for the method GossipPreCommit of the RPC service P2P

type P2PGossipPreCommitNilHandler

type P2PGossipPreCommitNilHandler interface {
	HandleP2PGossipPreCommitNil(context.Context, *GossipPreCommitNilMessage) (*GossipPreCommitNilAck, error)
}

P2PGossipPreCommitNilHandler is an interface class that only contains the method HandleP2PGossipPreCommitNil The class that implements this method MUST handle the RPC call for the method GossipPreCommitNil of the RPC service P2P

type P2PGossipPreVoteHandler

type P2PGossipPreVoteHandler interface {
	HandleP2PGossipPreVote(context.Context, *GossipPreVoteMessage) (*GossipPreVoteAck, error)
}

P2PGossipPreVoteHandler is an interface class that only contains the method HandleP2PGossipPreVote The class that implements this method MUST handle the RPC call for the method GossipPreVote of the RPC service P2P

type P2PGossipPreVoteNilHandler

type P2PGossipPreVoteNilHandler interface {
	HandleP2PGossipPreVoteNil(context.Context, *GossipPreVoteNilMessage) (*GossipPreVoteNilAck, error)
}

P2PGossipPreVoteNilHandler is an interface class that only contains the method HandleP2PGossipPreVoteNil The class that implements this method MUST handle the RPC call for the method GossipPreVoteNil of the RPC service P2P

type P2PGossipProposalHandler

type P2PGossipProposalHandler interface {
	HandleP2PGossipProposal(context.Context, *GossipProposalMessage) (*GossipProposalAck, error)
}

P2PGossipProposalHandler is an interface class that only contains the method HandleP2PGossipProposal The class that implements this method MUST handle the RPC call for the method GossipProposal of the RPC service P2P

type P2PGossipTransactionHandler

type P2PGossipTransactionHandler interface {
	HandleP2PGossipTransaction(context.Context, *GossipTransactionMessage) (*GossipTransactionAck, error)
}

P2PGossipTransactionHandler is an interface class that only contains the method HandleP2PGossipTransaction The class that implements this method MUST handle the RPC call for the method GossipTransaction of the RPC service P2P

type P2PServer

type P2PServer interface {
	Status(context.Context, *StatusRequest) (*StatusResponse, error)
	GetBlockHeaders(context.Context, *GetBlockHeadersRequest) (*GetBlockHeadersResponse, error)
	GetMinedTxs(context.Context, *GetMinedTxsRequest) (*GetMinedTxsResponse, error)
	GetPendingTxs(context.Context, *GetPendingTxsRequest) (*GetPendingTxsResponse, error)
	GetSnapShotNode(context.Context, *GetSnapShotNodeRequest) (*GetSnapShotNodeResponse, error)
	GetSnapShotStateData(context.Context, *GetSnapShotStateDataRequest) (*GetSnapShotStateDataResponse, error)
	GetSnapShotHdrNode(context.Context, *GetSnapShotHdrNodeRequest) (*GetSnapShotHdrNodeResponse, error)
	GossipTransaction(context.Context, *GossipTransactionMessage) (*GossipTransactionAck, error)
	GossipProposal(context.Context, *GossipProposalMessage) (*GossipProposalAck, error)
	GossipPreVote(context.Context, *GossipPreVoteMessage) (*GossipPreVoteAck, error)
	GossipPreVoteNil(context.Context, *GossipPreVoteNilMessage) (*GossipPreVoteNilAck, error)
	GossipPreCommit(context.Context, *GossipPreCommitMessage) (*GossipPreCommitAck, error)
	GossipPreCommitNil(context.Context, *GossipPreCommitNilMessage) (*GossipPreCommitNilAck, error)
	GossipNextRound(context.Context, *GossipNextRoundMessage) (*GossipNextRoundAck, error)
	GossipNextHeight(context.Context, *GossipNextHeightMessage) (*GossipNextHeightAck, error)
	GossipBlockHeader(context.Context, *GossipBlockHeaderMessage) (*GossipBlockHeaderAck, error)
	GetPeers(context.Context, *GetPeersRequest) (*GetPeersResponse, error)
}

P2PServer is the server API for P2P service.

type P2PStatusHandler

type P2PStatusHandler interface {
	HandleP2PStatus(context.Context, *StatusRequest) (*StatusResponse, error)
}

P2PStatusHandler is an interface class that only contains the method HandleP2PStatus The class that implements this method MUST handle the RPC call for the method Status of the RPC service P2P

type PClaims

type PClaims struct {
	BClaims *BClaims `protobuf:"bytes,1,opt,name=BClaims,proto3" json:"BClaims,omitempty"`
	RCert   *RCert   `protobuf:"bytes,2,opt,name=RCert,proto3" json:"RCert,omitempty"`
	// contains filtered or unexported fields
}

Protobuf message implementation for struct PClaims

func (*PClaims) Descriptor deprecated

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

Deprecated: Use PClaims.ProtoReflect.Descriptor instead.

func (*PClaims) GetBClaims

func (x *PClaims) GetBClaims() *BClaims

func (*PClaims) GetRCert

func (x *PClaims) GetRCert() *RCert

func (*PClaims) ProtoMessage

func (*PClaims) ProtoMessage()

func (*PClaims) ProtoReflect

func (x *PClaims) ProtoReflect() protoreflect.Message

func (*PClaims) Reset

func (x *PClaims) Reset()

func (*PClaims) String

func (x *PClaims) String() string

type PendingTransactionRequest

type PendingTransactionRequest struct {
	TxHash string `protobuf:"bytes,1,opt,name=TxHash,proto3" json:"TxHash,omitempty"` // 32 bytes
	// contains filtered or unexported fields
}

func (*PendingTransactionRequest) Descriptor deprecated

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

Deprecated: Use PendingTransactionRequest.ProtoReflect.Descriptor instead.

func (*PendingTransactionRequest) GetTxHash

func (x *PendingTransactionRequest) GetTxHash() string

func (*PendingTransactionRequest) ProtoMessage

func (*PendingTransactionRequest) ProtoMessage()

func (*PendingTransactionRequest) ProtoReflect

func (*PendingTransactionRequest) Reset

func (x *PendingTransactionRequest) Reset()

func (*PendingTransactionRequest) String

func (x *PendingTransactionRequest) String() string

type PendingTransactionResponse

type PendingTransactionResponse struct {
	Tx *Tx `protobuf:"bytes,1,opt,name=Tx,proto3" json:"Tx,omitempty"`
	// contains filtered or unexported fields
}

func (*PendingTransactionResponse) Descriptor deprecated

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

Deprecated: Use PendingTransactionResponse.ProtoReflect.Descriptor instead.

func (*PendingTransactionResponse) GetTx

func (x *PendingTransactionResponse) GetTx() *Tx

func (*PendingTransactionResponse) ProtoMessage

func (*PendingTransactionResponse) ProtoMessage()

func (*PendingTransactionResponse) ProtoReflect

func (*PendingTransactionResponse) Reset

func (x *PendingTransactionResponse) Reset()

func (*PendingTransactionResponse) String

func (x *PendingTransactionResponse) String() string

type PreCommit

type PreCommit struct {
	Proposal  *Proposal `protobuf:"bytes,1,opt,name=Proposal,proto3" json:"Proposal,omitempty"`
	Signature string    `protobuf:"bytes,2,opt,name=Signature,proto3" json:"Signature,omitempty"`
	PreVotes  []string  `protobuf:"bytes,3,rep,name=PreVotes,proto3" json:"PreVotes,omitempty"`
	// contains filtered or unexported fields
}

Protobuf message implementation for struct PreCommit

func (*PreCommit) Descriptor deprecated

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

Deprecated: Use PreCommit.ProtoReflect.Descriptor instead.

func (*PreCommit) GetPreVotes

func (x *PreCommit) GetPreVotes() []string

func (*PreCommit) GetProposal

func (x *PreCommit) GetProposal() *Proposal

func (*PreCommit) GetSignature

func (x *PreCommit) GetSignature() string

func (*PreCommit) ProtoMessage

func (*PreCommit) ProtoMessage()

func (*PreCommit) ProtoReflect

func (x *PreCommit) ProtoReflect() protoreflect.Message

func (*PreCommit) Reset

func (x *PreCommit) Reset()

func (*PreCommit) String

func (x *PreCommit) String() string

type PreCommitNil

type PreCommitNil struct {
	RCert     *RCert `protobuf:"bytes,1,opt,name=RCert,proto3" json:"RCert,omitempty"`
	Signature string `protobuf:"bytes,2,opt,name=Signature,proto3" json:"Signature,omitempty"`
	// contains filtered or unexported fields
}

Protobuf message implementation for struct PreCommitNil

func (*PreCommitNil) Descriptor deprecated

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

Deprecated: Use PreCommitNil.ProtoReflect.Descriptor instead.

func (*PreCommitNil) GetRCert

func (x *PreCommitNil) GetRCert() *RCert

func (*PreCommitNil) GetSignature

func (x *PreCommitNil) GetSignature() string

func (*PreCommitNil) ProtoMessage

func (*PreCommitNil) ProtoMessage()

func (*PreCommitNil) ProtoReflect

func (x *PreCommitNil) ProtoReflect() protoreflect.Message

func (*PreCommitNil) Reset

func (x *PreCommitNil) Reset()

func (*PreCommitNil) String

func (x *PreCommitNil) String() string

type PreVote

type PreVote struct {
	Proposal  *Proposal `protobuf:"bytes,1,opt,name=Proposal,proto3" json:"Proposal,omitempty"`
	Signature string    `protobuf:"bytes,2,opt,name=Signature,proto3" json:"Signature,omitempty"`
	// contains filtered or unexported fields
}

Protobuf message implementation for struct PreVote

func (*PreVote) Descriptor deprecated

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

Deprecated: Use PreVote.ProtoReflect.Descriptor instead.

func (*PreVote) GetProposal

func (x *PreVote) GetProposal() *Proposal

func (*PreVote) GetSignature

func (x *PreVote) GetSignature() string

func (*PreVote) ProtoMessage

func (*PreVote) ProtoMessage()

func (*PreVote) ProtoReflect

func (x *PreVote) ProtoReflect() protoreflect.Message

func (*PreVote) Reset

func (x *PreVote) Reset()

func (*PreVote) String

func (x *PreVote) String() string

type PreVoteNil

type PreVoteNil struct {
	RCert     *RCert `protobuf:"bytes,1,opt,name=RCert,proto3" json:"RCert,omitempty"`
	Signature string `protobuf:"bytes,2,opt,name=Signature,proto3" json:"Signature,omitempty"`
	// contains filtered or unexported fields
}

Protobuf message implementation for struct PreVoteNil

func (*PreVoteNil) Descriptor deprecated

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

Deprecated: Use PreVoteNil.ProtoReflect.Descriptor instead.

func (*PreVoteNil) GetRCert

func (x *PreVoteNil) GetRCert() *RCert

func (*PreVoteNil) GetSignature

func (x *PreVoteNil) GetSignature() string

func (*PreVoteNil) ProtoMessage

func (*PreVoteNil) ProtoMessage()

func (*PreVoteNil) ProtoReflect

func (x *PreVoteNil) ProtoReflect() protoreflect.Message

func (*PreVoteNil) Reset

func (x *PreVoteNil) Reset()

func (*PreVoteNil) String

func (x *PreVoteNil) String() string

type Proposal

type Proposal struct {
	PClaims   *PClaims `protobuf:"bytes,1,opt,name=PClaims,proto3" json:"PClaims,omitempty"`
	Signature string   `protobuf:"bytes,2,opt,name=Signature,proto3" json:"Signature,omitempty"`
	TxHshLst  []string `protobuf:"bytes,3,rep,name=TxHshLst,proto3" json:"TxHshLst,omitempty"`
	// contains filtered or unexported fields
}

Protobuf message implementation for struct Proposal

func (*Proposal) Descriptor deprecated

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

Deprecated: Use Proposal.ProtoReflect.Descriptor instead.

func (*Proposal) GetPClaims

func (x *Proposal) GetPClaims() *PClaims

func (*Proposal) GetSignature

func (x *Proposal) GetSignature() string

func (*Proposal) GetTxHshLst

func (x *Proposal) GetTxHshLst() []string

func (*Proposal) ProtoMessage

func (*Proposal) ProtoMessage()

func (*Proposal) ProtoReflect

func (x *Proposal) ProtoReflect() protoreflect.Message

func (*Proposal) Reset

func (x *Proposal) Reset()

func (*Proposal) String

func (x *Proposal) String() string

type RCert

type RCert struct {
	RClaims  *RClaims `protobuf:"bytes,1,opt,name=RClaims,proto3" json:"RClaims,omitempty"`
	SigGroup string   `protobuf:"bytes,2,opt,name=SigGroup,proto3" json:"SigGroup,omitempty"`
	// contains filtered or unexported fields
}

Protobuf message implementation for struct RCert

func (*RCert) Descriptor deprecated

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

Deprecated: Use RCert.ProtoReflect.Descriptor instead.

func (*RCert) GetRClaims

func (x *RCert) GetRClaims() *RClaims

func (*RCert) GetSigGroup

func (x *RCert) GetSigGroup() string

func (*RCert) ProtoMessage

func (*RCert) ProtoMessage()

func (*RCert) ProtoReflect

func (x *RCert) ProtoReflect() protoreflect.Message

func (*RCert) Reset

func (x *RCert) Reset()

func (*RCert) String

func (x *RCert) String() string

type RClaims

type RClaims struct {
	ChainID   uint32 `protobuf:"varint,1,opt,name=ChainID,proto3" json:"ChainID,omitempty"`
	Height    uint32 `protobuf:"varint,2,opt,name=Height,proto3" json:"Height,omitempty"`
	Round     uint32 `protobuf:"varint,3,opt,name=Round,proto3" json:"Round,omitempty"`
	PrevBlock string `protobuf:"bytes,4,opt,name=PrevBlock,proto3" json:"PrevBlock,omitempty"`
	// contains filtered or unexported fields
}

Protobuf message implementation for struct RClaims

func (*RClaims) Descriptor deprecated

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

Deprecated: Use RClaims.ProtoReflect.Descriptor instead.

func (*RClaims) GetChainID

func (x *RClaims) GetChainID() uint32

func (*RClaims) GetHeight

func (x *RClaims) GetHeight() uint32

func (*RClaims) GetPrevBlock

func (x *RClaims) GetPrevBlock() string

func (*RClaims) GetRound

func (x *RClaims) GetRound() uint32

func (*RClaims) ProtoMessage

func (*RClaims) ProtoMessage()

func (*RClaims) ProtoReflect

func (x *RClaims) ProtoReflect() protoreflect.Message

func (*RClaims) Reset

func (x *RClaims) Reset()

func (*RClaims) String

func (x *RClaims) String() string

type RoundStateForValidatorRequest

type RoundStateForValidatorRequest struct {
	VAddr  string `protobuf:"bytes,1,opt,name=VAddr,proto3" json:"VAddr,omitempty"`    // ignore for now
	Height uint32 `protobuf:"varint,2,opt,name=Height,proto3" json:"Height,omitempty"` // ignore for now
	Round  uint32 `protobuf:"varint,3,opt,name=Round,proto3" json:"Round,omitempty"`   // ignore for now
	// contains filtered or unexported fields
}

func (*RoundStateForValidatorRequest) Descriptor deprecated

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

Deprecated: Use RoundStateForValidatorRequest.ProtoReflect.Descriptor instead.

func (*RoundStateForValidatorRequest) GetHeight

func (x *RoundStateForValidatorRequest) GetHeight() uint32

func (*RoundStateForValidatorRequest) GetRound

func (x *RoundStateForValidatorRequest) GetRound() uint32

func (*RoundStateForValidatorRequest) GetVAddr

func (x *RoundStateForValidatorRequest) GetVAddr() string

func (*RoundStateForValidatorRequest) ProtoMessage

func (*RoundStateForValidatorRequest) ProtoMessage()

func (*RoundStateForValidatorRequest) ProtoReflect

func (*RoundStateForValidatorRequest) Reset

func (x *RoundStateForValidatorRequest) Reset()

func (*RoundStateForValidatorRequest) String

type RoundStateForValidatorResponse

type RoundStateForValidatorResponse struct {
	RoundState []byte `protobuf:"bytes,1,opt,name=RoundState,proto3" json:"RoundState,omitempty"` // ignore for now
	// contains filtered or unexported fields
}

func (*RoundStateForValidatorResponse) Descriptor deprecated

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

Deprecated: Use RoundStateForValidatorResponse.ProtoReflect.Descriptor instead.

func (*RoundStateForValidatorResponse) GetRoundState

func (x *RoundStateForValidatorResponse) GetRoundState() []byte

func (*RoundStateForValidatorResponse) ProtoMessage

func (*RoundStateForValidatorResponse) ProtoMessage()

func (*RoundStateForValidatorResponse) ProtoReflect

func (*RoundStateForValidatorResponse) Reset

func (x *RoundStateForValidatorResponse) Reset()

func (*RoundStateForValidatorResponse) String

type StatusRequest

type StatusRequest struct {
	// contains filtered or unexported fields
}

func (*StatusRequest) Descriptor deprecated

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

Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.

func (*StatusRequest) ProtoMessage

func (*StatusRequest) ProtoMessage()

func (*StatusRequest) ProtoReflect

func (x *StatusRequest) ProtoReflect() protoreflect.Message

func (*StatusRequest) Reset

func (x *StatusRequest) Reset()

func (*StatusRequest) String

func (x *StatusRequest) String() string

type StatusResponse

type StatusResponse struct {
	HighestBlockHeader []byte `protobuf:"bytes,1,opt,name=HighestBlockHeader,proto3" json:"HighestBlockHeader,omitempty"`
	// contains filtered or unexported fields
}

func (*StatusResponse) Descriptor deprecated

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

Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.

func (*StatusResponse) GetHighestBlockHeader

func (x *StatusResponse) GetHighestBlockHeader() []byte

func (*StatusResponse) ProtoMessage

func (*StatusResponse) ProtoMessage()

func (*StatusResponse) ProtoReflect

func (x *StatusResponse) ProtoReflect() protoreflect.Message

func (*StatusResponse) Reset

func (x *StatusResponse) Reset()

func (*StatusResponse) String

func (x *StatusResponse) String() string

type TXIn

type TXIn struct {
	TXInLinker *TXInLinker `protobuf:"bytes,1,opt,name=TXInLinker,proto3" json:"TXInLinker,omitempty"`
	Signature  string      `protobuf:"bytes,2,opt,name=Signature,proto3" json:"Signature,omitempty"`
	// contains filtered or unexported fields
}

Protobuf message implementation for struct TXIn

func (*TXIn) Descriptor deprecated

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

Deprecated: Use TXIn.ProtoReflect.Descriptor instead.

func (*TXIn) GetSignature

func (x *TXIn) GetSignature() string

func (*TXIn) GetTXInLinker

func (x *TXIn) GetTXInLinker() *TXInLinker

func (*TXIn) ProtoMessage

func (*TXIn) ProtoMessage()

func (*TXIn) ProtoReflect

func (x *TXIn) ProtoReflect() protoreflect.Message

func (*TXIn) Reset

func (x *TXIn) Reset()

func (*TXIn) String

func (x *TXIn) String() string

type TXInLinker

type TXInLinker struct {
	TXInPreImage *TXInPreImage `protobuf:"bytes,1,opt,name=TXInPreImage,proto3" json:"TXInPreImage,omitempty"`
	TxHash       string        `protobuf:"bytes,2,opt,name=TxHash,proto3" json:"TxHash,omitempty"`
	// contains filtered or unexported fields
}

Protobuf message implementation for struct TXInLinker

func (*TXInLinker) Descriptor deprecated

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

Deprecated: Use TXInLinker.ProtoReflect.Descriptor instead.

func (*TXInLinker) GetTXInPreImage

func (x *TXInLinker) GetTXInPreImage() *TXInPreImage

func (*TXInLinker) GetTxHash

func (x *TXInLinker) GetTxHash() string

func (*TXInLinker) ProtoMessage

func (*TXInLinker) ProtoMessage()

func (*TXInLinker) ProtoReflect

func (x *TXInLinker) ProtoReflect() protoreflect.Message

func (*TXInLinker) Reset

func (x *TXInLinker) Reset()

func (*TXInLinker) String

func (x *TXInLinker) String() string

type TXInPreImage

type TXInPreImage struct {
	ChainID        uint32 `protobuf:"varint,1,opt,name=ChainID,proto3" json:"ChainID,omitempty"`
	ConsumedTxIdx  uint32 `protobuf:"varint,2,opt,name=ConsumedTxIdx,proto3" json:"ConsumedTxIdx,omitempty"`
	ConsumedTxHash string `protobuf:"bytes,3,opt,name=ConsumedTxHash,proto3" json:"ConsumedTxHash,omitempty"`
	// contains filtered or unexported fields
}

Protobuf message implementation for struct TXInPreImage

func (*TXInPreImage) Descriptor deprecated

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

Deprecated: Use TXInPreImage.ProtoReflect.Descriptor instead.

func (*TXInPreImage) GetChainID

func (x *TXInPreImage) GetChainID() uint32

func (*TXInPreImage) GetConsumedTxHash

func (x *TXInPreImage) GetConsumedTxHash() string

func (*TXInPreImage) GetConsumedTxIdx

func (x *TXInPreImage) GetConsumedTxIdx() uint32

func (*TXInPreImage) ProtoMessage

func (*TXInPreImage) ProtoMessage()

func (*TXInPreImage) ProtoReflect

func (x *TXInPreImage) ProtoReflect() protoreflect.Message

func (*TXInPreImage) Reset

func (x *TXInPreImage) Reset()

func (*TXInPreImage) String

func (x *TXInPreImage) String() string

type TXOut

type TXOut struct {

	// Types that are assignable to Utxo:
	//	*TXOut_AtomicSwap
	//	*TXOut_ValueStore
	//	*TXOut_DataStore
	Utxo isTXOut_Utxo `protobuf_oneof:"utxo"`
	// contains filtered or unexported fields
}

Protobuf message implementation for struct TXOut

func (*TXOut) Descriptor deprecated

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

Deprecated: Use TXOut.ProtoReflect.Descriptor instead.

func (*TXOut) GetAtomicSwap

func (x *TXOut) GetAtomicSwap() *AtomicSwap

func (*TXOut) GetDataStore

func (x *TXOut) GetDataStore() *DataStore

func (*TXOut) GetUtxo

func (m *TXOut) GetUtxo() isTXOut_Utxo

func (*TXOut) GetValueStore

func (x *TXOut) GetValueStore() *ValueStore

func (*TXOut) ProtoMessage

func (*TXOut) ProtoMessage()

func (*TXOut) ProtoReflect

func (x *TXOut) ProtoReflect() protoreflect.Message

func (*TXOut) Reset

func (x *TXOut) Reset()

func (*TXOut) String

func (x *TXOut) String() string

type TXOut_AtomicSwap

type TXOut_AtomicSwap struct {
	AtomicSwap *AtomicSwap `protobuf:"bytes,1,opt,name=AtomicSwap,proto3,oneof"`
}

type TXOut_DataStore

type TXOut_DataStore struct {
	DataStore *DataStore `protobuf:"bytes,3,opt,name=DataStore,proto3,oneof"`
}

type TXOut_ValueStore

type TXOut_ValueStore struct {
	ValueStore *ValueStore `protobuf:"bytes,2,opt,name=ValueStore,proto3,oneof"`
}

type TransactionData

type TransactionData struct {
	Tx *Tx `protobuf:"bytes,1,opt,name=Tx,proto3" json:"Tx,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionData) Descriptor deprecated

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

Deprecated: Use TransactionData.ProtoReflect.Descriptor instead.

func (*TransactionData) GetTx

func (x *TransactionData) GetTx() *Tx

func (*TransactionData) ProtoMessage

func (*TransactionData) ProtoMessage()

func (*TransactionData) ProtoReflect

func (x *TransactionData) ProtoReflect() protoreflect.Message

func (*TransactionData) Reset

func (x *TransactionData) Reset()

func (*TransactionData) String

func (x *TransactionData) String() string

type TransactionDetails

type TransactionDetails struct {
	TxHash string `protobuf:"bytes,1,opt,name=TxHash,proto3" json:"TxHash,omitempty"` //32 bytes
	// contains filtered or unexported fields
}

func (*TransactionDetails) Descriptor deprecated

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

Deprecated: Use TransactionDetails.ProtoReflect.Descriptor instead.

func (*TransactionDetails) GetTxHash

func (x *TransactionDetails) GetTxHash() string

func (*TransactionDetails) ProtoMessage

func (*TransactionDetails) ProtoMessage()

func (*TransactionDetails) ProtoReflect

func (x *TransactionDetails) ProtoReflect() protoreflect.Message

func (*TransactionDetails) Reset

func (x *TransactionDetails) Reset()

func (*TransactionDetails) String

func (x *TransactionDetails) String() string

type Tx

type Tx struct {
	Vin  []*TXIn  `protobuf:"bytes,1,rep,name=Vin,proto3" json:"Vin,omitempty"`
	Vout []*TXOut `protobuf:"bytes,2,rep,name=Vout,proto3" json:"Vout,omitempty"`
	// contains filtered or unexported fields
}

Protobuf message implementation for struct Tx

func (*Tx) Descriptor deprecated

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

Deprecated: Use Tx.ProtoReflect.Descriptor instead.

func (*Tx) GetVin

func (x *Tx) GetVin() []*TXIn

func (*Tx) GetVout

func (x *Tx) GetVout() []*TXOut

func (*Tx) ProtoMessage

func (*Tx) ProtoMessage()

func (*Tx) ProtoReflect

func (x *Tx) ProtoReflect() protoreflect.Message

func (*Tx) Reset

func (x *Tx) Reset()

func (*Tx) String

func (x *Tx) String() string

type TxBlockNumberRequest

type TxBlockNumberRequest struct {
	TxHash string `protobuf:"bytes,1,opt,name=TxHash,proto3" json:"TxHash,omitempty"` //32 bytes
	// contains filtered or unexported fields
}

func (*TxBlockNumberRequest) Descriptor deprecated

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

Deprecated: Use TxBlockNumberRequest.ProtoReflect.Descriptor instead.

func (*TxBlockNumberRequest) GetTxHash

func (x *TxBlockNumberRequest) GetTxHash() string

func (*TxBlockNumberRequest) ProtoMessage

func (*TxBlockNumberRequest) ProtoMessage()

func (*TxBlockNumberRequest) ProtoReflect

func (x *TxBlockNumberRequest) ProtoReflect() protoreflect.Message

func (*TxBlockNumberRequest) Reset

func (x *TxBlockNumberRequest) Reset()

func (*TxBlockNumberRequest) String

func (x *TxBlockNumberRequest) String() string

type TxBlockNumberResponse

type TxBlockNumberResponse struct {
	BlockHeight uint32 `protobuf:"varint,1,opt,name=BlockHeight,proto3" json:"BlockHeight,omitempty"` // must not be zero
	// contains filtered or unexported fields
}

func (*TxBlockNumberResponse) Descriptor deprecated

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

Deprecated: Use TxBlockNumberResponse.ProtoReflect.Descriptor instead.

func (*TxBlockNumberResponse) GetBlockHeight

func (x *TxBlockNumberResponse) GetBlockHeight() uint32

func (*TxBlockNumberResponse) ProtoMessage

func (*TxBlockNumberResponse) ProtoMessage()

func (*TxBlockNumberResponse) ProtoReflect

func (x *TxBlockNumberResponse) ProtoReflect() protoreflect.Message

func (*TxBlockNumberResponse) Reset

func (x *TxBlockNumberResponse) Reset()

func (*TxBlockNumberResponse) String

func (x *TxBlockNumberResponse) String() string

type UTXORequest

type UTXORequest struct {
	UTXOIDs []string `protobuf:"bytes,1,rep,name=UTXOIDs,proto3" json:"UTXOIDs,omitempty"` // []string of hashes
	// contains filtered or unexported fields
}

func (*UTXORequest) Descriptor deprecated

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

Deprecated: Use UTXORequest.ProtoReflect.Descriptor instead.

func (*UTXORequest) GetUTXOIDs

func (x *UTXORequest) GetUTXOIDs() []string

func (*UTXORequest) ProtoMessage

func (*UTXORequest) ProtoMessage()

func (*UTXORequest) ProtoReflect

func (x *UTXORequest) ProtoReflect() protoreflect.Message

func (*UTXORequest) Reset

func (x *UTXORequest) Reset()

func (*UTXORequest) String

func (x *UTXORequest) String() string

type UTXOResponse

type UTXOResponse struct {
	UTXOs []*TXOut `protobuf:"bytes,1,rep,name=UTXOs,proto3" json:"UTXOs,omitempty"`
	// contains filtered or unexported fields
}

func (*UTXOResponse) Descriptor deprecated

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

Deprecated: Use UTXOResponse.ProtoReflect.Descriptor instead.

func (*UTXOResponse) GetUTXOs

func (x *UTXOResponse) GetUTXOs() []*TXOut

func (*UTXOResponse) ProtoMessage

func (*UTXOResponse) ProtoMessage()

func (*UTXOResponse) ProtoReflect

func (x *UTXOResponse) ProtoReflect() protoreflect.Message

func (*UTXOResponse) Reset

func (x *UTXOResponse) Reset()

func (*UTXOResponse) String

func (x *UTXOResponse) String() string

type UnimplementedBootNodeServer

type UnimplementedBootNodeServer struct {
}

UnimplementedBootNodeServer can be embedded to have forward compatible implementations.

func (*UnimplementedBootNodeServer) KnownNodes

type UnimplementedDiscoveryServer

type UnimplementedDiscoveryServer struct {
}

UnimplementedDiscoveryServer can be embedded to have forward compatible implementations.

func (*UnimplementedDiscoveryServer) GetPeers

type UnimplementedLocalStateServer

type UnimplementedLocalStateServer struct {
}

UnimplementedLocalStateServer can be embedded to have forward compatible implementations.

func (*UnimplementedLocalStateServer) GetBlockHeader

func (*UnimplementedLocalStateServer) GetBlockNumber

func (*UnimplementedLocalStateServer) GetChainID

func (*UnimplementedLocalStateServer) GetData

func (*UnimplementedLocalStateServer) GetEpochNumber

func (*UnimplementedLocalStateServer) GetMinedTransaction

func (*UnimplementedLocalStateServer) GetPendingTransaction

func (*UnimplementedLocalStateServer) GetTxBlockNumber

func (*UnimplementedLocalStateServer) GetUTXO

func (*UnimplementedLocalStateServer) GetValidatorSet

func (*UnimplementedLocalStateServer) GetValueForOwner

func (*UnimplementedLocalStateServer) IterateNameSpace

func (*UnimplementedLocalStateServer) SendTransaction

type UnimplementedP2PServer

type UnimplementedP2PServer struct {
}

UnimplementedP2PServer can be embedded to have forward compatible implementations.

func (*UnimplementedP2PServer) GetBlockHeaders

func (*UnimplementedP2PServer) GetMinedTxs

func (*UnimplementedP2PServer) GetPeers

func (*UnimplementedP2PServer) GetPendingTxs

func (*UnimplementedP2PServer) GetSnapShotNode

func (*UnimplementedP2PServer) GossipBlockHeader

func (*UnimplementedP2PServer) GossipNextHeight

func (*UnimplementedP2PServer) GossipNextRound

func (*UnimplementedP2PServer) GossipPreCommit

func (*UnimplementedP2PServer) GossipPreCommitNil

func (*UnimplementedP2PServer) GossipPreVote

func (*UnimplementedP2PServer) GossipPreVoteNil

func (*UnimplementedP2PServer) GossipProposal

func (*UnimplementedP2PServer) GossipTransaction

func (*UnimplementedP2PServer) Status

type VSPreImage

type VSPreImage struct {
	ChainID  uint32 `protobuf:"varint,1,opt,name=ChainID,proto3" json:"ChainID,omitempty"`
	Value    string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
	TXOutIdx uint32 `protobuf:"varint,3,opt,name=TXOutIdx,proto3" json:"TXOutIdx,omitempty"`
	Owner    string `protobuf:"bytes,4,opt,name=Owner,proto3" json:"Owner,omitempty"`
	// contains filtered or unexported fields
}

Protobuf message implementation for struct VSPreImage

func (*VSPreImage) Descriptor deprecated

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

Deprecated: Use VSPreImage.ProtoReflect.Descriptor instead.

func (*VSPreImage) GetChainID

func (x *VSPreImage) GetChainID() uint32

func (*VSPreImage) GetOwner

func (x *VSPreImage) GetOwner() string

func (*VSPreImage) GetTXOutIdx

func (x *VSPreImage) GetTXOutIdx() uint32

func (*VSPreImage) GetValue

func (x *VSPreImage) GetValue() string

func (*VSPreImage) ProtoMessage

func (*VSPreImage) ProtoMessage()

func (*VSPreImage) ProtoReflect

func (x *VSPreImage) ProtoReflect() protoreflect.Message

func (*VSPreImage) Reset

func (x *VSPreImage) Reset()

func (*VSPreImage) String

func (x *VSPreImage) String() string

type ValidatorSetRequest

type ValidatorSetRequest struct {
	Height uint32 `protobuf:"varint,1,opt,name=Height,proto3" json:"Height,omitempty"` // ignore for now
	// contains filtered or unexported fields
}

func (*ValidatorSetRequest) Descriptor deprecated

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

Deprecated: Use ValidatorSetRequest.ProtoReflect.Descriptor instead.

func (*ValidatorSetRequest) GetHeight

func (x *ValidatorSetRequest) GetHeight() uint32

func (*ValidatorSetRequest) ProtoMessage

func (*ValidatorSetRequest) ProtoMessage()

func (*ValidatorSetRequest) ProtoReflect

func (x *ValidatorSetRequest) ProtoReflect() protoreflect.Message

func (*ValidatorSetRequest) Reset

func (x *ValidatorSetRequest) Reset()

func (*ValidatorSetRequest) String

func (x *ValidatorSetRequest) String() string

type ValidatorSetResponse

type ValidatorSetResponse struct {
	ValidatorSet string `protobuf:"bytes,1,opt,name=ValidatorSet,proto3" json:"ValidatorSet,omitempty"` // ignore for now
	// contains filtered or unexported fields
}

func (*ValidatorSetResponse) Descriptor deprecated

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

Deprecated: Use ValidatorSetResponse.ProtoReflect.Descriptor instead.

func (*ValidatorSetResponse) GetValidatorSet

func (x *ValidatorSetResponse) GetValidatorSet() string

func (*ValidatorSetResponse) ProtoMessage

func (*ValidatorSetResponse) ProtoMessage()

func (*ValidatorSetResponse) ProtoReflect

func (x *ValidatorSetResponse) ProtoReflect() protoreflect.Message

func (*ValidatorSetResponse) Reset

func (x *ValidatorSetResponse) Reset()

func (*ValidatorSetResponse) String

func (x *ValidatorSetResponse) String() string

type ValueStore

type ValueStore struct {
	VSPreImage *VSPreImage `protobuf:"bytes,1,opt,name=VSPreImage,proto3" json:"VSPreImage,omitempty"`
	TxHash     string      `protobuf:"bytes,2,opt,name=TxHash,proto3" json:"TxHash,omitempty"`
	// contains filtered or unexported fields
}

Protobuf message implementation for struct ValueStore

func (*ValueStore) Descriptor deprecated

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

Deprecated: Use ValueStore.ProtoReflect.Descriptor instead.

func (*ValueStore) GetTxHash

func (x *ValueStore) GetTxHash() string

func (*ValueStore) GetVSPreImage

func (x *ValueStore) GetVSPreImage() *VSPreImage

func (*ValueStore) ProtoMessage

func (*ValueStore) ProtoMessage()

func (*ValueStore) ProtoReflect

func (x *ValueStore) ProtoReflect() protoreflect.Message

func (*ValueStore) Reset

func (x *ValueStore) Reset()

func (*ValueStore) String

func (x *ValueStore) String() string

Jump to

Keyboard shortcuts

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