encservicev1

package
v0.0.0-...-2bb17a6 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ChainService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "encservice.v1.ChainService",
	HandlerType: (*ChainServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetBlock",
			Handler:    _ChainService_GetBlock_Handler,
		},
		{
			MethodName: "GetBalance",
			Handler:    _ChainService_GetBalance_Handler,
		},
		{
			MethodName: "GetNonce",
			Handler:    _ChainService_GetNonce_Handler,
		},
		{
			MethodName: "CurrentBlock",
			Handler:    _ChainService_CurrentBlock_Handler,
		},
		{
			MethodName: "LatestHeader",
			Handler:    _ChainService_LatestHeader_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "ChainHeadEvent",
			Handler:       _ChainService_ChainHeadEvent_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "encservice/v1/service.proto",
}

ChainService_ServiceDesc is the grpc.ServiceDesc for ChainService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var EncService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "encservice.v1.EncService",
	HandlerType: (*EncServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "HealthCheck",
			Handler:    _EncService_HealthCheck_Handler,
		},
		{
			MethodName: "AddTx",
			Handler:    _EncService_AddTx_Handler,
		},
		{
			MethodName: "Status",
			Handler:    _EncService_Status_Handler,
		},
		{
			MethodName: "Reset",
			Handler:    _EncService_Reset_Handler,
		},
		{
			MethodName: "Pending",
			Handler:    _EncService_Pending_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "encservice/v1/service.proto",
}

EncService_ServiceDesc is the grpc.ServiceDesc for EncService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterChainServiceServer

func RegisterChainServiceServer(s grpc.ServiceRegistrar, srv ChainServiceServer)

func RegisterEncServiceServer

func RegisterEncServiceServer(s grpc.ServiceRegistrar, srv EncServiceServer)

Types

type AddTxRequest

type AddTxRequest struct {
	Txdata               []byte   `protobuf:"bytes,1,opt,name=txdata,proto3" json:"txdata,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddTxRequest) Descriptor

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

func (*AddTxRequest) GetTxdata

func (m *AddTxRequest) GetTxdata() []byte

func (*AddTxRequest) ProtoMessage

func (*AddTxRequest) ProtoMessage()

func (*AddTxRequest) Reset

func (m *AddTxRequest) Reset()

func (*AddTxRequest) String

func (m *AddTxRequest) String() string

func (*AddTxRequest) XXX_DiscardUnknown

func (m *AddTxRequest) XXX_DiscardUnknown()

func (*AddTxRequest) XXX_Marshal

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

func (*AddTxRequest) XXX_Merge

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

func (*AddTxRequest) XXX_Size

func (m *AddTxRequest) XXX_Size() int

func (*AddTxRequest) XXX_Unmarshal

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

type AddTxResponse

type AddTxResponse struct {
	Txhash               []byte   `protobuf:"bytes,1,opt,name=txhash,proto3" json:"txhash,omitempty"`
	Error                string   `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddTxResponse) Descriptor

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

func (*AddTxResponse) GetError

func (m *AddTxResponse) GetError() string

func (*AddTxResponse) GetTxhash

func (m *AddTxResponse) GetTxhash() []byte

func (*AddTxResponse) ProtoMessage

func (*AddTxResponse) ProtoMessage()

func (*AddTxResponse) Reset

func (m *AddTxResponse) Reset()

func (*AddTxResponse) String

func (m *AddTxResponse) String() string

func (*AddTxResponse) XXX_DiscardUnknown

func (m *AddTxResponse) XXX_DiscardUnknown()

func (*AddTxResponse) XXX_Marshal

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

func (*AddTxResponse) XXX_Merge

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

func (*AddTxResponse) XXX_Size

func (m *AddTxResponse) XXX_Size() int

func (*AddTxResponse) XXX_Unmarshal

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

type BalanceRequest

type BalanceRequest struct {
	Address              []byte   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	BlockNum             []byte   `protobuf:"bytes,2,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BalanceRequest) Descriptor

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

func (*BalanceRequest) GetAddress

func (m *BalanceRequest) GetAddress() []byte

func (*BalanceRequest) GetBlockNum

func (m *BalanceRequest) GetBlockNum() []byte

func (*BalanceRequest) ProtoMessage

func (*BalanceRequest) ProtoMessage()

func (*BalanceRequest) Reset

func (m *BalanceRequest) Reset()

func (*BalanceRequest) String

func (m *BalanceRequest) String() string

func (*BalanceRequest) XXX_DiscardUnknown

func (m *BalanceRequest) XXX_DiscardUnknown()

func (*BalanceRequest) XXX_Marshal

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

func (*BalanceRequest) XXX_Merge

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

func (*BalanceRequest) XXX_Size

func (m *BalanceRequest) XXX_Size() int

func (*BalanceRequest) XXX_Unmarshal

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

type BalanceResponse

type BalanceResponse struct {
	Balance              []byte   `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BalanceResponse) Descriptor

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

func (*BalanceResponse) GetBalance

func (m *BalanceResponse) GetBalance() []byte

func (*BalanceResponse) ProtoMessage

func (*BalanceResponse) ProtoMessage()

func (*BalanceResponse) Reset

func (m *BalanceResponse) Reset()

func (*BalanceResponse) String

func (m *BalanceResponse) String() string

func (*BalanceResponse) XXX_DiscardUnknown

func (m *BalanceResponse) XXX_DiscardUnknown()

func (*BalanceResponse) XXX_Marshal

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

func (*BalanceResponse) XXX_Merge

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

func (*BalanceResponse) XXX_Size

func (m *BalanceResponse) XXX_Size() int

func (*BalanceResponse) XXX_Unmarshal

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

type BlockRequest

type BlockRequest struct {
	BlockHash            []byte   `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	BlockNum             uint64   `protobuf:"varint,2,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BlockRequest) Descriptor

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

func (*BlockRequest) GetBlockHash

func (m *BlockRequest) GetBlockHash() []byte

func (*BlockRequest) GetBlockNum

func (m *BlockRequest) GetBlockNum() uint64

func (*BlockRequest) ProtoMessage

func (*BlockRequest) ProtoMessage()

func (*BlockRequest) Reset

func (m *BlockRequest) Reset()

func (*BlockRequest) String

func (m *BlockRequest) String() string

func (*BlockRequest) XXX_DiscardUnknown

func (m *BlockRequest) XXX_DiscardUnknown()

func (*BlockRequest) XXX_Marshal

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

func (*BlockRequest) XXX_Merge

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

func (*BlockRequest) XXX_Size

func (m *BlockRequest) XXX_Size() int

func (*BlockRequest) XXX_Unmarshal

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

type BlockResponse

type BlockResponse struct {
	BlockData            []byte   `protobuf:"bytes,1,opt,name=block_data,json=blockData,proto3" json:"block_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BlockResponse) Descriptor

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

func (*BlockResponse) GetBlockData

func (m *BlockResponse) GetBlockData() []byte

func (*BlockResponse) ProtoMessage

func (*BlockResponse) ProtoMessage()

func (*BlockResponse) Reset

func (m *BlockResponse) Reset()

func (*BlockResponse) String

func (m *BlockResponse) String() string

func (*BlockResponse) XXX_DiscardUnknown

func (m *BlockResponse) XXX_DiscardUnknown()

func (*BlockResponse) XXX_Marshal

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

func (*BlockResponse) XXX_Merge

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

func (*BlockResponse) XXX_Size

func (m *BlockResponse) XXX_Size() int

func (*BlockResponse) XXX_Unmarshal

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

type ChainHeadEventRequest

type ChainHeadEventRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChainHeadEventRequest) Descriptor

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

func (*ChainHeadEventRequest) ProtoMessage

func (*ChainHeadEventRequest) ProtoMessage()

func (*ChainHeadEventRequest) Reset

func (m *ChainHeadEventRequest) Reset()

func (*ChainHeadEventRequest) String

func (m *ChainHeadEventRequest) String() string

func (*ChainHeadEventRequest) XXX_DiscardUnknown

func (m *ChainHeadEventRequest) XXX_DiscardUnknown()

func (*ChainHeadEventRequest) XXX_Marshal

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

func (*ChainHeadEventRequest) XXX_Merge

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

func (*ChainHeadEventRequest) XXX_Size

func (m *ChainHeadEventRequest) XXX_Size() int

func (*ChainHeadEventRequest) XXX_Unmarshal

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

type ChainHeadEventResponse

type ChainHeadEventResponse struct {
	BlockData            []byte   `protobuf:"bytes,1,opt,name=block_data,json=blockData,proto3" json:"block_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChainHeadEventResponse) Descriptor

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

func (*ChainHeadEventResponse) GetBlockData

func (m *ChainHeadEventResponse) GetBlockData() []byte

func (*ChainHeadEventResponse) ProtoMessage

func (*ChainHeadEventResponse) ProtoMessage()

func (*ChainHeadEventResponse) Reset

func (m *ChainHeadEventResponse) Reset()

func (*ChainHeadEventResponse) String

func (m *ChainHeadEventResponse) String() string

func (*ChainHeadEventResponse) XXX_DiscardUnknown

func (m *ChainHeadEventResponse) XXX_DiscardUnknown()

func (*ChainHeadEventResponse) XXX_Marshal

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

func (*ChainHeadEventResponse) XXX_Merge

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

func (*ChainHeadEventResponse) XXX_Size

func (m *ChainHeadEventResponse) XXX_Size() int

func (*ChainHeadEventResponse) XXX_Unmarshal

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

type ChainServiceClient

type ChainServiceClient interface {
	GetBlock(ctx context.Context, in *BlockRequest, opts ...grpc.CallOption) (*BlockResponse, error)
	GetBalance(ctx context.Context, in *BalanceRequest, opts ...grpc.CallOption) (*BalanceResponse, error)
	GetNonce(ctx context.Context, in *NonceRequest, opts ...grpc.CallOption) (*NonceResponse, error)
	CurrentBlock(ctx context.Context, in *CurrentBlockRequest, opts ...grpc.CallOption) (*CurrentBlockResponse, error)
	LatestHeader(ctx context.Context, in *LatestHeaderRequest, opts ...grpc.CallOption) (*LatestHeaderResponse, error)
	ChainHeadEvent(ctx context.Context, in *ChainHeadEventRequest, opts ...grpc.CallOption) (ChainService_ChainHeadEventClient, error)
}

ChainServiceClient is the client API for ChainService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ChainServiceServer

type ChainServiceServer interface {
	GetBlock(context.Context, *BlockRequest) (*BlockResponse, error)
	GetBalance(context.Context, *BalanceRequest) (*BalanceResponse, error)
	GetNonce(context.Context, *NonceRequest) (*NonceResponse, error)
	CurrentBlock(context.Context, *CurrentBlockRequest) (*CurrentBlockResponse, error)
	LatestHeader(context.Context, *LatestHeaderRequest) (*LatestHeaderResponse, error)
	ChainHeadEvent(*ChainHeadEventRequest, ChainService_ChainHeadEventServer) error
	// contains filtered or unexported methods
}

ChainServiceServer is the server API for ChainService service. All implementations must embed UnimplementedChainServiceServer for forward compatibility

type ChainService_ChainHeadEventClient

type ChainService_ChainHeadEventClient interface {
	Recv() (*ChainHeadEventResponse, error)
	grpc.ClientStream
}

type ChainService_ChainHeadEventServer

type ChainService_ChainHeadEventServer interface {
	Send(*ChainHeadEventResponse) error
	grpc.ServerStream
}

type CurrentBlockRequest

type CurrentBlockRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CurrentBlockRequest) Descriptor

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

func (*CurrentBlockRequest) ProtoMessage

func (*CurrentBlockRequest) ProtoMessage()

func (*CurrentBlockRequest) Reset

func (m *CurrentBlockRequest) Reset()

func (*CurrentBlockRequest) String

func (m *CurrentBlockRequest) String() string

func (*CurrentBlockRequest) XXX_DiscardUnknown

func (m *CurrentBlockRequest) XXX_DiscardUnknown()

func (*CurrentBlockRequest) XXX_Marshal

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

func (*CurrentBlockRequest) XXX_Merge

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

func (*CurrentBlockRequest) XXX_Size

func (m *CurrentBlockRequest) XXX_Size() int

func (*CurrentBlockRequest) XXX_Unmarshal

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

type CurrentBlockResponse

type CurrentBlockResponse struct {
	BlockData            []byte   `protobuf:"bytes,1,opt,name=block_data,json=blockData,proto3" json:"block_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CurrentBlockResponse) Descriptor

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

func (*CurrentBlockResponse) GetBlockData

func (m *CurrentBlockResponse) GetBlockData() []byte

func (*CurrentBlockResponse) ProtoMessage

func (*CurrentBlockResponse) ProtoMessage()

func (*CurrentBlockResponse) Reset

func (m *CurrentBlockResponse) Reset()

func (*CurrentBlockResponse) String

func (m *CurrentBlockResponse) String() string

func (*CurrentBlockResponse) XXX_DiscardUnknown

func (m *CurrentBlockResponse) XXX_DiscardUnknown()

func (*CurrentBlockResponse) XXX_Marshal

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

func (*CurrentBlockResponse) XXX_Merge

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

func (*CurrentBlockResponse) XXX_Size

func (m *CurrentBlockResponse) XXX_Size() int

func (*CurrentBlockResponse) XXX_Unmarshal

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

type EncServiceClient

type EncServiceClient interface {
	HealthCheck(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*HealthCheckResponse, error)
	AddTx(ctx context.Context, in *AddTxRequest, opts ...grpc.CallOption) (*AddTxResponse, error)
	Status(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error)
	Reset(ctx context.Context, in *ResetRequest, opts ...grpc.CallOption) (*ResetResponse, error)
	Pending(ctx context.Context, in *PendingRequest, opts ...grpc.CallOption) (*PendingResponse, error)
}

EncServiceClient is the client API for EncService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewEncServiceClient

func NewEncServiceClient(cc grpc.ClientConnInterface) EncServiceClient

type EncServiceServer

type EncServiceServer interface {
	HealthCheck(context.Context, *emptypb.Empty) (*HealthCheckResponse, error)
	AddTx(context.Context, *AddTxRequest) (*AddTxResponse, error)
	Status(context.Context, *StatusRequest) (*StatusResponse, error)
	Reset(context.Context, *ResetRequest) (*ResetResponse, error)
	Pending(context.Context, *PendingRequest) (*PendingResponse, error)
	// contains filtered or unexported methods
}

EncServiceServer is the server API for EncService service. All implementations must embed UnimplementedEncServiceServer for forward compatibility

type HealthCheckResponse

type HealthCheckResponse struct {
	Status               bool     `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	Error                []byte   `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HealthCheckResponse) Descriptor

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

func (*HealthCheckResponse) GetError

func (m *HealthCheckResponse) GetError() []byte

func (*HealthCheckResponse) GetStatus

func (m *HealthCheckResponse) GetStatus() bool

func (*HealthCheckResponse) ProtoMessage

func (*HealthCheckResponse) ProtoMessage()

func (*HealthCheckResponse) Reset

func (m *HealthCheckResponse) Reset()

func (*HealthCheckResponse) String

func (m *HealthCheckResponse) String() string

func (*HealthCheckResponse) XXX_DiscardUnknown

func (m *HealthCheckResponse) XXX_DiscardUnknown()

func (*HealthCheckResponse) XXX_Marshal

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

func (*HealthCheckResponse) XXX_Merge

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

func (*HealthCheckResponse) XXX_Size

func (m *HealthCheckResponse) XXX_Size() int

func (*HealthCheckResponse) XXX_Unmarshal

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

type LatestHeaderRequest

type LatestHeaderRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LatestHeaderRequest) Descriptor

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

func (*LatestHeaderRequest) ProtoMessage

func (*LatestHeaderRequest) ProtoMessage()

func (*LatestHeaderRequest) Reset

func (m *LatestHeaderRequest) Reset()

func (*LatestHeaderRequest) String

func (m *LatestHeaderRequest) String() string

func (*LatestHeaderRequest) XXX_DiscardUnknown

func (m *LatestHeaderRequest) XXX_DiscardUnknown()

func (*LatestHeaderRequest) XXX_Marshal

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

func (*LatestHeaderRequest) XXX_Merge

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

func (*LatestHeaderRequest) XXX_Size

func (m *LatestHeaderRequest) XXX_Size() int

func (*LatestHeaderRequest) XXX_Unmarshal

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

type LatestHeaderResponse

type LatestHeaderResponse struct {
	BlockNum             []byte   `protobuf:"bytes,1,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
	HeaderJson           []byte   `protobuf:"bytes,2,opt,name=header_json,json=headerJson,proto3" json:"header_json,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LatestHeaderResponse) Descriptor

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

func (*LatestHeaderResponse) GetBlockNum

func (m *LatestHeaderResponse) GetBlockNum() []byte

func (*LatestHeaderResponse) GetHeaderJson

func (m *LatestHeaderResponse) GetHeaderJson() []byte

func (*LatestHeaderResponse) ProtoMessage

func (*LatestHeaderResponse) ProtoMessage()

func (*LatestHeaderResponse) Reset

func (m *LatestHeaderResponse) Reset()

func (*LatestHeaderResponse) String

func (m *LatestHeaderResponse) String() string

func (*LatestHeaderResponse) XXX_DiscardUnknown

func (m *LatestHeaderResponse) XXX_DiscardUnknown()

func (*LatestHeaderResponse) XXX_Marshal

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

func (*LatestHeaderResponse) XXX_Merge

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

func (*LatestHeaderResponse) XXX_Size

func (m *LatestHeaderResponse) XXX_Size() int

func (*LatestHeaderResponse) XXX_Unmarshal

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

type NonceRequest

type NonceRequest struct {
	Address              []byte   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	BlockNum             []byte   `protobuf:"bytes,2,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NonceRequest) Descriptor

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

func (*NonceRequest) GetAddress

func (m *NonceRequest) GetAddress() []byte

func (*NonceRequest) GetBlockNum

func (m *NonceRequest) GetBlockNum() []byte

func (*NonceRequest) ProtoMessage

func (*NonceRequest) ProtoMessage()

func (*NonceRequest) Reset

func (m *NonceRequest) Reset()

func (*NonceRequest) String

func (m *NonceRequest) String() string

func (*NonceRequest) XXX_DiscardUnknown

func (m *NonceRequest) XXX_DiscardUnknown()

func (*NonceRequest) XXX_Marshal

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

func (*NonceRequest) XXX_Merge

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

func (*NonceRequest) XXX_Size

func (m *NonceRequest) XXX_Size() int

func (*NonceRequest) XXX_Unmarshal

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

type NonceResponse

type NonceResponse struct {
	Nonce                uint64   `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NonceResponse) Descriptor

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

func (*NonceResponse) GetNonce

func (m *NonceResponse) GetNonce() uint64

func (*NonceResponse) ProtoMessage

func (*NonceResponse) ProtoMessage()

func (*NonceResponse) Reset

func (m *NonceResponse) Reset()

func (*NonceResponse) String

func (m *NonceResponse) String() string

func (*NonceResponse) XXX_DiscardUnknown

func (m *NonceResponse) XXX_DiscardUnknown()

func (*NonceResponse) XXX_Marshal

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

func (*NonceResponse) XXX_Merge

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

func (*NonceResponse) XXX_Size

func (m *NonceResponse) XXX_Size() int

func (*NonceResponse) XXX_Unmarshal

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

type PendingRequest

type PendingRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PendingRequest) Descriptor

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

func (*PendingRequest) ProtoMessage

func (*PendingRequest) ProtoMessage()

func (*PendingRequest) Reset

func (m *PendingRequest) Reset()

func (*PendingRequest) String

func (m *PendingRequest) String() string

func (*PendingRequest) XXX_DiscardUnknown

func (m *PendingRequest) XXX_DiscardUnknown()

func (*PendingRequest) XXX_Marshal

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

func (*PendingRequest) XXX_Merge

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

func (*PendingRequest) XXX_Size

func (m *PendingRequest) XXX_Size() int

func (*PendingRequest) XXX_Unmarshal

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

type PendingResponse

type PendingResponse struct {
	Txs                  [][]byte `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PendingResponse) Descriptor

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

func (*PendingResponse) GetTxs

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

func (*PendingResponse) ProtoMessage

func (*PendingResponse) ProtoMessage()

func (*PendingResponse) Reset

func (m *PendingResponse) Reset()

func (*PendingResponse) String

func (m *PendingResponse) String() string

func (*PendingResponse) XXX_DiscardUnknown

func (m *PendingResponse) XXX_DiscardUnknown()

func (*PendingResponse) XXX_Marshal

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

func (*PendingResponse) XXX_Merge

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

func (*PendingResponse) XXX_Size

func (m *PendingResponse) XXX_Size() int

func (*PendingResponse) XXX_Unmarshal

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

type ResetRequest

type ResetRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ResetRequest) Descriptor

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

func (*ResetRequest) ProtoMessage

func (*ResetRequest) ProtoMessage()

func (*ResetRequest) Reset

func (m *ResetRequest) Reset()

func (*ResetRequest) String

func (m *ResetRequest) String() string

func (*ResetRequest) XXX_DiscardUnknown

func (m *ResetRequest) XXX_DiscardUnknown()

func (*ResetRequest) XXX_Marshal

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

func (*ResetRequest) XXX_Merge

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

func (*ResetRequest) XXX_Size

func (m *ResetRequest) XXX_Size() int

func (*ResetRequest) XXX_Unmarshal

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

type ResetResponse

type ResetResponse struct {
	Error                string   `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ResetResponse) Descriptor

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

func (*ResetResponse) GetError

func (m *ResetResponse) GetError() string

func (*ResetResponse) ProtoMessage

func (*ResetResponse) ProtoMessage()

func (*ResetResponse) Reset

func (m *ResetResponse) Reset()

func (*ResetResponse) String

func (m *ResetResponse) String() string

func (*ResetResponse) XXX_DiscardUnknown

func (m *ResetResponse) XXX_DiscardUnknown()

func (*ResetResponse) XXX_Marshal

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

func (*ResetResponse) XXX_Merge

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

func (*ResetResponse) XXX_Size

func (m *ResetResponse) XXX_Size() int

func (*ResetResponse) XXX_Unmarshal

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

type StatusRequest

type StatusRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StatusRequest) Descriptor

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

func (*StatusRequest) ProtoMessage

func (*StatusRequest) ProtoMessage()

func (*StatusRequest) Reset

func (m *StatusRequest) Reset()

func (*StatusRequest) String

func (m *StatusRequest) String() string

func (*StatusRequest) XXX_DiscardUnknown

func (m *StatusRequest) XXX_DiscardUnknown()

func (*StatusRequest) XXX_Marshal

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

func (*StatusRequest) XXX_Merge

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

func (*StatusRequest) XXX_Size

func (m *StatusRequest) XXX_Size() int

func (*StatusRequest) XXX_Unmarshal

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

type StatusResponse

type StatusResponse struct {
	Pending              uint64   `protobuf:"varint,1,opt,name=pending,proto3" json:"pending,omitempty"`
	Queue                uint64   `protobuf:"varint,2,opt,name=queue,proto3" json:"queue,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StatusResponse) Descriptor

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

func (*StatusResponse) GetPending

func (m *StatusResponse) GetPending() uint64

func (*StatusResponse) GetQueue

func (m *StatusResponse) GetQueue() uint64

func (*StatusResponse) ProtoMessage

func (*StatusResponse) ProtoMessage()

func (*StatusResponse) Reset

func (m *StatusResponse) Reset()

func (*StatusResponse) String

func (m *StatusResponse) String() string

func (*StatusResponse) XXX_DiscardUnknown

func (m *StatusResponse) XXX_DiscardUnknown()

func (*StatusResponse) XXX_Marshal

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

func (*StatusResponse) XXX_Merge

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

func (*StatusResponse) XXX_Size

func (m *StatusResponse) XXX_Size() int

func (*StatusResponse) XXX_Unmarshal

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

type UnimplementedChainServiceServer

type UnimplementedChainServiceServer struct {
}

UnimplementedChainServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedChainServiceServer) ChainHeadEvent

func (UnimplementedChainServiceServer) CurrentBlock

func (UnimplementedChainServiceServer) GetBalance

func (UnimplementedChainServiceServer) GetBlock

func (UnimplementedChainServiceServer) GetNonce

func (UnimplementedChainServiceServer) LatestHeader

type UnimplementedEncServiceServer

type UnimplementedEncServiceServer struct {
}

UnimplementedEncServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedEncServiceServer) AddTx

func (UnimplementedEncServiceServer) HealthCheck

func (UnimplementedEncServiceServer) Pending

func (UnimplementedEncServiceServer) Reset

func (UnimplementedEncServiceServer) Status

type UnsafeChainServiceServer

type UnsafeChainServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeChainServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ChainServiceServer will result in compilation errors.

type UnsafeEncServiceServer

type UnsafeEncServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeEncServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EncServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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