rpcpb

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2018 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package rpcpb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package rpcpb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package rpcpb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package rpcpb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthCommon = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCommon   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthControl = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowControl   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthDb = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDb   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthTransaction = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTransaction   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthWallet = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowWallet   = fmt.Errorf("proto: integer overflow")
)

Functions

func RegisterContorlCommandHandler

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

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

func RegisterContorlCommandHandlerClient

func RegisterContorlCommandHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ContorlCommandClient) error

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

func RegisterContorlCommandHandlerFromEndpoint

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

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

func RegisterContorlCommandServer

func RegisterContorlCommandServer(s *grpc.Server, srv ContorlCommandServer)

func RegisterDatabaseCommandHandler

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

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

func RegisterDatabaseCommandHandlerClient

func RegisterDatabaseCommandHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DatabaseCommandClient) error

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

func RegisterDatabaseCommandHandlerFromEndpoint

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

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

func RegisterDatabaseCommandServer

func RegisterDatabaseCommandServer(s *grpc.Server, srv DatabaseCommandServer)

func RegisterTransactionCommandHandler

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

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

func RegisterTransactionCommandHandlerClient

func RegisterTransactionCommandHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TransactionCommandClient) error

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

func RegisterTransactionCommandHandlerFromEndpoint

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

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

func RegisterTransactionCommandServer

func RegisterTransactionCommandServer(s *grpc.Server, srv TransactionCommandServer)

func RegisterWalletCommandHandler

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

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

func RegisterWalletCommandHandlerClient

func RegisterWalletCommandHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WalletCommandClient) error

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

func RegisterWalletCommandHandlerFromEndpoint

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

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

func RegisterWalletCommandServer

func RegisterWalletCommandServer(s *grpc.Server, srv WalletCommandServer)

Types

type BaseResponse

type BaseResponse struct {
	Code    int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
}

func (*BaseResponse) Descriptor

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

func (*BaseResponse) GetCode

func (m *BaseResponse) GetCode() int32

func (*BaseResponse) GetMessage

func (m *BaseResponse) GetMessage() string

func (*BaseResponse) Marshal

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

func (*BaseResponse) MarshalTo

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

func (*BaseResponse) ProtoMessage

func (*BaseResponse) ProtoMessage()

func (*BaseResponse) Reset

func (m *BaseResponse) Reset()

func (*BaseResponse) Size

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

func (*BaseResponse) String

func (m *BaseResponse) String() string

func (*BaseResponse) Unmarshal

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

func (*BaseResponse) XXX_DiscardUnknown

func (m *BaseResponse) XXX_DiscardUnknown()

func (*BaseResponse) XXX_Marshal

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

func (*BaseResponse) XXX_Merge

func (dst *BaseResponse) XXX_Merge(src proto.Message)

func (*BaseResponse) XXX_Size

func (m *BaseResponse) XXX_Size() int

func (*BaseResponse) XXX_Unmarshal

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

type ContorlCommandClient

type ContorlCommandClient interface {
	// set boxd debug level
	SetDebugLevel(ctx context.Context, in *DebugLevelRequest, opts ...grpc.CallOption) (*BaseResponse, error)
	UpdateNetworkID(ctx context.Context, in *UpdateNetworkIDRequest, opts ...grpc.CallOption) (*BaseResponse, error)
	GetBlockHeight(ctx context.Context, in *GetBlockHeightRequest, opts ...grpc.CallOption) (*GetBlockHeightResponse, error)
	GetBlockHash(ctx context.Context, in *GetBlockHashRequest, opts ...grpc.CallOption) (*GetBlockHashResponse, error)
	GetBlockHeader(ctx context.Context, in *GetBlockRequest, opts ...grpc.CallOption) (*GetBlockHeaderResponse, error)
	GetBlock(ctx context.Context, in *GetBlockRequest, opts ...grpc.CallOption) (*GetBlockResponse, error)
	GetNodeInfo(ctx context.Context, in *GetNodeInfoRequest, opts ...grpc.CallOption) (*GetNodeInfoResponse, error)
}

ContorlCommandClient is the client API for ContorlCommand service.

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

func NewContorlCommandClient

func NewContorlCommandClient(cc *grpc.ClientConn) ContorlCommandClient

type ContorlCommandServer

ContorlCommandServer is the server API for ContorlCommand service.

type DatabaseCommandClient

type DatabaseCommandClient interface {
	// get all keys of database
	GetDatabaseKeys(ctx context.Context, in *GetDatabaseKeysRequest, opts ...grpc.CallOption) (*GetDatabaseKeysResponse, error)
	// get value of associate with passed key in database
	GetDatabaseValue(ctx context.Context, in *GetDatabaseValueRequest, opts ...grpc.CallOption) (*GetDatabaseValueResponse, error)
}

DatabaseCommandClient is the client API for DatabaseCommand service.

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

func NewDatabaseCommandClient

func NewDatabaseCommandClient(cc *grpc.ClientConn) DatabaseCommandClient

type DatabaseCommandServer

type DatabaseCommandServer interface {
	// get all keys of database
	GetDatabaseKeys(context.Context, *GetDatabaseKeysRequest) (*GetDatabaseKeysResponse, error)
	// get value of associate with passed key in database
	GetDatabaseValue(context.Context, *GetDatabaseValueRequest) (*GetDatabaseValueResponse, error)
}

DatabaseCommandServer is the server API for DatabaseCommand service.

type DebugLevelRequest

type DebugLevelRequest struct {
	Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"`
}

The request message containing debug level.

func (*DebugLevelRequest) Descriptor

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

func (*DebugLevelRequest) GetLevel

func (m *DebugLevelRequest) GetLevel() string

func (*DebugLevelRequest) Marshal

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

func (*DebugLevelRequest) MarshalTo

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

func (*DebugLevelRequest) ProtoMessage

func (*DebugLevelRequest) ProtoMessage()

func (*DebugLevelRequest) Reset

func (m *DebugLevelRequest) Reset()

func (*DebugLevelRequest) Size

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

func (*DebugLevelRequest) String

func (m *DebugLevelRequest) String() string

func (*DebugLevelRequest) Unmarshal

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

func (*DebugLevelRequest) XXX_DiscardUnknown

func (m *DebugLevelRequest) XXX_DiscardUnknown()

func (*DebugLevelRequest) XXX_Marshal

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

func (*DebugLevelRequest) XXX_Merge

func (dst *DebugLevelRequest) XXX_Merge(src proto.Message)

func (*DebugLevelRequest) XXX_Size

func (m *DebugLevelRequest) XXX_Size() int

func (*DebugLevelRequest) XXX_Unmarshal

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

type FundTransactionRequest

type FundTransactionRequest struct {
	Addr         string         `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	Amount       uint64         `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	TokenBudgets []*TokenAmount `protobuf:"bytes,3,rep,name=tokenBudgets" json:"tokenBudgets,omitempty"`
}

func (*FundTransactionRequest) Descriptor

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

func (*FundTransactionRequest) GetAddr

func (m *FundTransactionRequest) GetAddr() string

func (*FundTransactionRequest) GetAmount

func (m *FundTransactionRequest) GetAmount() uint64

func (*FundTransactionRequest) GetTokenBudgets

func (m *FundTransactionRequest) GetTokenBudgets() []*TokenAmount

func (*FundTransactionRequest) Marshal

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

func (*FundTransactionRequest) MarshalTo

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

func (*FundTransactionRequest) ProtoMessage

func (*FundTransactionRequest) ProtoMessage()

func (*FundTransactionRequest) Reset

func (m *FundTransactionRequest) Reset()

func (*FundTransactionRequest) Size

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

func (*FundTransactionRequest) String

func (m *FundTransactionRequest) String() string

func (*FundTransactionRequest) Unmarshal

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

func (*FundTransactionRequest) XXX_DiscardUnknown

func (m *FundTransactionRequest) XXX_DiscardUnknown()

func (*FundTransactionRequest) XXX_Marshal

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

func (*FundTransactionRequest) XXX_Merge

func (dst *FundTransactionRequest) XXX_Merge(src proto.Message)

func (*FundTransactionRequest) XXX_Size

func (m *FundTransactionRequest) XXX_Size() int

func (*FundTransactionRequest) XXX_Unmarshal

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

type GetBalanceRequest

type GetBalanceRequest struct {
	Addrs []string `protobuf:"bytes,1,rep,name=addrs" json:"addrs,omitempty"`
}

func (*GetBalanceRequest) Descriptor

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

func (*GetBalanceRequest) GetAddrs

func (m *GetBalanceRequest) GetAddrs() []string

func (*GetBalanceRequest) Marshal

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

func (*GetBalanceRequest) MarshalTo

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

func (*GetBalanceRequest) ProtoMessage

func (*GetBalanceRequest) ProtoMessage()

func (*GetBalanceRequest) Reset

func (m *GetBalanceRequest) Reset()

func (*GetBalanceRequest) Size

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

func (*GetBalanceRequest) String

func (m *GetBalanceRequest) String() string

func (*GetBalanceRequest) Unmarshal

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

func (*GetBalanceRequest) XXX_DiscardUnknown

func (m *GetBalanceRequest) XXX_DiscardUnknown()

func (*GetBalanceRequest) XXX_Marshal

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

func (*GetBalanceRequest) XXX_Merge

func (dst *GetBalanceRequest) XXX_Merge(src proto.Message)

func (*GetBalanceRequest) XXX_Size

func (m *GetBalanceRequest) XXX_Size() int

func (*GetBalanceRequest) XXX_Unmarshal

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

type GetBalanceResponse

type GetBalanceResponse struct {
	Code     int32             `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message  string            `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Balances map[string]uint64 `` /* 151-byte string literal not displayed */
}

func (*GetBalanceResponse) Descriptor

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

func (*GetBalanceResponse) GetBalances

func (m *GetBalanceResponse) GetBalances() map[string]uint64

func (*GetBalanceResponse) GetCode

func (m *GetBalanceResponse) GetCode() int32

func (*GetBalanceResponse) GetMessage

func (m *GetBalanceResponse) GetMessage() string

func (*GetBalanceResponse) Marshal

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

func (*GetBalanceResponse) MarshalTo

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

func (*GetBalanceResponse) ProtoMessage

func (*GetBalanceResponse) ProtoMessage()

func (*GetBalanceResponse) Reset

func (m *GetBalanceResponse) Reset()

func (*GetBalanceResponse) Size

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

func (*GetBalanceResponse) String

func (m *GetBalanceResponse) String() string

func (*GetBalanceResponse) Unmarshal

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

func (*GetBalanceResponse) XXX_DiscardUnknown

func (m *GetBalanceResponse) XXX_DiscardUnknown()

func (*GetBalanceResponse) XXX_Marshal

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

func (*GetBalanceResponse) XXX_Merge

func (dst *GetBalanceResponse) XXX_Merge(src proto.Message)

func (*GetBalanceResponse) XXX_Size

func (m *GetBalanceResponse) XXX_Size() int

func (*GetBalanceResponse) XXX_Unmarshal

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

type GetBlockHashRequest

type GetBlockHashRequest struct {
	Height uint32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
}

func (*GetBlockHashRequest) Descriptor

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

func (*GetBlockHashRequest) GetHeight

func (m *GetBlockHashRequest) GetHeight() uint32

func (*GetBlockHashRequest) Marshal

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

func (*GetBlockHashRequest) MarshalTo

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

func (*GetBlockHashRequest) ProtoMessage

func (*GetBlockHashRequest) ProtoMessage()

func (*GetBlockHashRequest) Reset

func (m *GetBlockHashRequest) Reset()

func (*GetBlockHashRequest) Size

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

func (*GetBlockHashRequest) String

func (m *GetBlockHashRequest) String() string

func (*GetBlockHashRequest) Unmarshal

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

func (*GetBlockHashRequest) XXX_DiscardUnknown

func (m *GetBlockHashRequest) XXX_DiscardUnknown()

func (*GetBlockHashRequest) XXX_Marshal

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

func (*GetBlockHashRequest) XXX_Merge

func (dst *GetBlockHashRequest) XXX_Merge(src proto.Message)

func (*GetBlockHashRequest) XXX_Size

func (m *GetBlockHashRequest) XXX_Size() int

func (*GetBlockHashRequest) XXX_Unmarshal

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

type GetBlockHashResponse

type GetBlockHashResponse struct {
	Code    int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Hash    string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
}

func (*GetBlockHashResponse) Descriptor

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

func (*GetBlockHashResponse) GetCode

func (m *GetBlockHashResponse) GetCode() int32

func (*GetBlockHashResponse) GetHash

func (m *GetBlockHashResponse) GetHash() string

func (*GetBlockHashResponse) GetMessage

func (m *GetBlockHashResponse) GetMessage() string

func (*GetBlockHashResponse) Marshal

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

func (*GetBlockHashResponse) MarshalTo

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

func (*GetBlockHashResponse) ProtoMessage

func (*GetBlockHashResponse) ProtoMessage()

func (*GetBlockHashResponse) Reset

func (m *GetBlockHashResponse) Reset()

func (*GetBlockHashResponse) Size

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

func (*GetBlockHashResponse) String

func (m *GetBlockHashResponse) String() string

func (*GetBlockHashResponse) Unmarshal

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

func (*GetBlockHashResponse) XXX_DiscardUnknown

func (m *GetBlockHashResponse) XXX_DiscardUnknown()

func (*GetBlockHashResponse) XXX_Marshal

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

func (*GetBlockHashResponse) XXX_Merge

func (dst *GetBlockHashResponse) XXX_Merge(src proto.Message)

func (*GetBlockHashResponse) XXX_Size

func (m *GetBlockHashResponse) XXX_Size() int

func (*GetBlockHashResponse) XXX_Unmarshal

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

type GetBlockHeaderResponse

type GetBlockHeaderResponse struct {
	Code    int32           `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string          `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Header  *pb.BlockHeader `protobuf:"bytes,3,opt,name=header" json:"header,omitempty"`
}

func (*GetBlockHeaderResponse) Descriptor

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

func (*GetBlockHeaderResponse) GetCode

func (m *GetBlockHeaderResponse) GetCode() int32

func (*GetBlockHeaderResponse) GetHeader

func (m *GetBlockHeaderResponse) GetHeader() *pb.BlockHeader

func (*GetBlockHeaderResponse) GetMessage

func (m *GetBlockHeaderResponse) GetMessage() string

func (*GetBlockHeaderResponse) Marshal

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

func (*GetBlockHeaderResponse) MarshalTo

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

func (*GetBlockHeaderResponse) ProtoMessage

func (*GetBlockHeaderResponse) ProtoMessage()

func (*GetBlockHeaderResponse) Reset

func (m *GetBlockHeaderResponse) Reset()

func (*GetBlockHeaderResponse) Size

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

func (*GetBlockHeaderResponse) String

func (m *GetBlockHeaderResponse) String() string

func (*GetBlockHeaderResponse) Unmarshal

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

func (*GetBlockHeaderResponse) XXX_DiscardUnknown

func (m *GetBlockHeaderResponse) XXX_DiscardUnknown()

func (*GetBlockHeaderResponse) XXX_Marshal

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

func (*GetBlockHeaderResponse) XXX_Merge

func (dst *GetBlockHeaderResponse) XXX_Merge(src proto.Message)

func (*GetBlockHeaderResponse) XXX_Size

func (m *GetBlockHeaderResponse) XXX_Size() int

func (*GetBlockHeaderResponse) XXX_Unmarshal

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

type GetBlockHeightRequest

type GetBlockHeightRequest struct {
}

func (*GetBlockHeightRequest) Descriptor

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

func (*GetBlockHeightRequest) Marshal

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

func (*GetBlockHeightRequest) MarshalTo

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

func (*GetBlockHeightRequest) ProtoMessage

func (*GetBlockHeightRequest) ProtoMessage()

func (*GetBlockHeightRequest) Reset

func (m *GetBlockHeightRequest) Reset()

func (*GetBlockHeightRequest) Size

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

func (*GetBlockHeightRequest) String

func (m *GetBlockHeightRequest) String() string

func (*GetBlockHeightRequest) Unmarshal

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

func (*GetBlockHeightRequest) XXX_DiscardUnknown

func (m *GetBlockHeightRequest) XXX_DiscardUnknown()

func (*GetBlockHeightRequest) XXX_Marshal

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

func (*GetBlockHeightRequest) XXX_Merge

func (dst *GetBlockHeightRequest) XXX_Merge(src proto.Message)

func (*GetBlockHeightRequest) XXX_Size

func (m *GetBlockHeightRequest) XXX_Size() int

func (*GetBlockHeightRequest) XXX_Unmarshal

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

type GetBlockHeightResponse

type GetBlockHeightResponse struct {
	Code    int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Height  uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
}

func (*GetBlockHeightResponse) Descriptor

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

func (*GetBlockHeightResponse) GetCode

func (m *GetBlockHeightResponse) GetCode() int32

func (*GetBlockHeightResponse) GetHeight

func (m *GetBlockHeightResponse) GetHeight() uint32

func (*GetBlockHeightResponse) GetMessage

func (m *GetBlockHeightResponse) GetMessage() string

func (*GetBlockHeightResponse) Marshal

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

func (*GetBlockHeightResponse) MarshalTo

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

func (*GetBlockHeightResponse) ProtoMessage

func (*GetBlockHeightResponse) ProtoMessage()

func (*GetBlockHeightResponse) Reset

func (m *GetBlockHeightResponse) Reset()

func (*GetBlockHeightResponse) Size

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

func (*GetBlockHeightResponse) String

func (m *GetBlockHeightResponse) String() string

func (*GetBlockHeightResponse) Unmarshal

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

func (*GetBlockHeightResponse) XXX_DiscardUnknown

func (m *GetBlockHeightResponse) XXX_DiscardUnknown()

func (*GetBlockHeightResponse) XXX_Marshal

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

func (*GetBlockHeightResponse) XXX_Merge

func (dst *GetBlockHeightResponse) XXX_Merge(src proto.Message)

func (*GetBlockHeightResponse) XXX_Size

func (m *GetBlockHeightResponse) XXX_Size() int

func (*GetBlockHeightResponse) XXX_Unmarshal

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

type GetBlockRequest

type GetBlockRequest struct {
	BlockHash string `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
}

func (*GetBlockRequest) Descriptor

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

func (*GetBlockRequest) GetBlockHash

func (m *GetBlockRequest) GetBlockHash() string

func (*GetBlockRequest) Marshal

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

func (*GetBlockRequest) MarshalTo

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

func (*GetBlockRequest) ProtoMessage

func (*GetBlockRequest) ProtoMessage()

func (*GetBlockRequest) Reset

func (m *GetBlockRequest) Reset()

func (*GetBlockRequest) Size

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

func (*GetBlockRequest) String

func (m *GetBlockRequest) String() string

func (*GetBlockRequest) Unmarshal

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

func (*GetBlockRequest) XXX_DiscardUnknown

func (m *GetBlockRequest) XXX_DiscardUnknown()

func (*GetBlockRequest) XXX_Marshal

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

func (*GetBlockRequest) XXX_Merge

func (dst *GetBlockRequest) XXX_Merge(src proto.Message)

func (*GetBlockRequest) XXX_Size

func (m *GetBlockRequest) XXX_Size() int

func (*GetBlockRequest) XXX_Unmarshal

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

type GetBlockResponse

type GetBlockResponse struct {
	Code    int32     `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string    `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Block   *pb.Block `protobuf:"bytes,3,opt,name=block" json:"block,omitempty"`
}

func (*GetBlockResponse) Descriptor

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

func (*GetBlockResponse) GetBlock

func (m *GetBlockResponse) GetBlock() *pb.Block

func (*GetBlockResponse) GetCode

func (m *GetBlockResponse) GetCode() int32

func (*GetBlockResponse) GetMessage

func (m *GetBlockResponse) GetMessage() string

func (*GetBlockResponse) Marshal

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

func (*GetBlockResponse) MarshalTo

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

func (*GetBlockResponse) ProtoMessage

func (*GetBlockResponse) ProtoMessage()

func (*GetBlockResponse) Reset

func (m *GetBlockResponse) Reset()

func (*GetBlockResponse) Size

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

func (*GetBlockResponse) String

func (m *GetBlockResponse) String() string

func (*GetBlockResponse) Unmarshal

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

func (*GetBlockResponse) XXX_DiscardUnknown

func (m *GetBlockResponse) XXX_DiscardUnknown()

func (*GetBlockResponse) XXX_Marshal

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

func (*GetBlockResponse) XXX_Merge

func (dst *GetBlockResponse) XXX_Merge(src proto.Message)

func (*GetBlockResponse) XXX_Size

func (m *GetBlockResponse) XXX_Size() int

func (*GetBlockResponse) XXX_Unmarshal

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

type GetDatabaseKeysRequest

type GetDatabaseKeysRequest struct {
	Table  string `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"`
	Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
	Skip   int32  `protobuf:"varint,3,opt,name=skip,proto3" json:"skip,omitempty"`
	Limit  int32  `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
}

func (*GetDatabaseKeysRequest) Descriptor

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

func (*GetDatabaseKeysRequest) GetLimit

func (m *GetDatabaseKeysRequest) GetLimit() int32

func (*GetDatabaseKeysRequest) GetPrefix

func (m *GetDatabaseKeysRequest) GetPrefix() string

func (*GetDatabaseKeysRequest) GetSkip

func (m *GetDatabaseKeysRequest) GetSkip() int32

func (*GetDatabaseKeysRequest) GetTable

func (m *GetDatabaseKeysRequest) GetTable() string

func (*GetDatabaseKeysRequest) Marshal

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

func (*GetDatabaseKeysRequest) MarshalTo

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

func (*GetDatabaseKeysRequest) ProtoMessage

func (*GetDatabaseKeysRequest) ProtoMessage()

func (*GetDatabaseKeysRequest) Reset

func (m *GetDatabaseKeysRequest) Reset()

func (*GetDatabaseKeysRequest) Size

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

func (*GetDatabaseKeysRequest) String

func (m *GetDatabaseKeysRequest) String() string

func (*GetDatabaseKeysRequest) Unmarshal

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

func (*GetDatabaseKeysRequest) XXX_DiscardUnknown

func (m *GetDatabaseKeysRequest) XXX_DiscardUnknown()

func (*GetDatabaseKeysRequest) XXX_Marshal

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

func (*GetDatabaseKeysRequest) XXX_Merge

func (dst *GetDatabaseKeysRequest) XXX_Merge(src proto.Message)

func (*GetDatabaseKeysRequest) XXX_Size

func (m *GetDatabaseKeysRequest) XXX_Size() int

func (*GetDatabaseKeysRequest) XXX_Unmarshal

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

type GetDatabaseKeysResponse

type GetDatabaseKeysResponse struct {
	Code    int32    `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Skip    int32    `protobuf:"varint,3,opt,name=skip,proto3" json:"skip,omitempty"`
	Keys    []string `protobuf:"bytes,4,rep,name=keys" json:"keys,omitempty"`
}

func (*GetDatabaseKeysResponse) Descriptor

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

func (*GetDatabaseKeysResponse) GetCode

func (m *GetDatabaseKeysResponse) GetCode() int32

func (*GetDatabaseKeysResponse) GetKeys

func (m *GetDatabaseKeysResponse) GetKeys() []string

func (*GetDatabaseKeysResponse) GetMessage

func (m *GetDatabaseKeysResponse) GetMessage() string

func (*GetDatabaseKeysResponse) GetSkip

func (m *GetDatabaseKeysResponse) GetSkip() int32

func (*GetDatabaseKeysResponse) Marshal

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

func (*GetDatabaseKeysResponse) MarshalTo

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

func (*GetDatabaseKeysResponse) ProtoMessage

func (*GetDatabaseKeysResponse) ProtoMessage()

func (*GetDatabaseKeysResponse) Reset

func (m *GetDatabaseKeysResponse) Reset()

func (*GetDatabaseKeysResponse) Size

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

func (*GetDatabaseKeysResponse) String

func (m *GetDatabaseKeysResponse) String() string

func (*GetDatabaseKeysResponse) Unmarshal

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

func (*GetDatabaseKeysResponse) XXX_DiscardUnknown

func (m *GetDatabaseKeysResponse) XXX_DiscardUnknown()

func (*GetDatabaseKeysResponse) XXX_Marshal

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

func (*GetDatabaseKeysResponse) XXX_Merge

func (dst *GetDatabaseKeysResponse) XXX_Merge(src proto.Message)

func (*GetDatabaseKeysResponse) XXX_Size

func (m *GetDatabaseKeysResponse) XXX_Size() int

func (*GetDatabaseKeysResponse) XXX_Unmarshal

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

type GetDatabaseValueRequest

type GetDatabaseValueRequest struct {
	Table string `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"`
	Key   string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
}

func (*GetDatabaseValueRequest) Descriptor

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

func (*GetDatabaseValueRequest) GetKey

func (m *GetDatabaseValueRequest) GetKey() string

func (*GetDatabaseValueRequest) GetTable

func (m *GetDatabaseValueRequest) GetTable() string

func (*GetDatabaseValueRequest) Marshal

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

func (*GetDatabaseValueRequest) MarshalTo

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

func (*GetDatabaseValueRequest) ProtoMessage

func (*GetDatabaseValueRequest) ProtoMessage()

func (*GetDatabaseValueRequest) Reset

func (m *GetDatabaseValueRequest) Reset()

func (*GetDatabaseValueRequest) Size

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

func (*GetDatabaseValueRequest) String

func (m *GetDatabaseValueRequest) String() string

func (*GetDatabaseValueRequest) Unmarshal

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

func (*GetDatabaseValueRequest) XXX_DiscardUnknown

func (m *GetDatabaseValueRequest) XXX_DiscardUnknown()

func (*GetDatabaseValueRequest) XXX_Marshal

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

func (*GetDatabaseValueRequest) XXX_Merge

func (dst *GetDatabaseValueRequest) XXX_Merge(src proto.Message)

func (*GetDatabaseValueRequest) XXX_Size

func (m *GetDatabaseValueRequest) XXX_Size() int

func (*GetDatabaseValueRequest) XXX_Unmarshal

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

type GetDatabaseValueResponse

type GetDatabaseValueResponse struct {
	Code    int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Value   []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
}

func (*GetDatabaseValueResponse) Descriptor

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

func (*GetDatabaseValueResponse) GetCode

func (m *GetDatabaseValueResponse) GetCode() int32

func (*GetDatabaseValueResponse) GetMessage

func (m *GetDatabaseValueResponse) GetMessage() string

func (*GetDatabaseValueResponse) GetValue

func (m *GetDatabaseValueResponse) GetValue() []byte

func (*GetDatabaseValueResponse) Marshal

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

func (*GetDatabaseValueResponse) MarshalTo

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

func (*GetDatabaseValueResponse) ProtoMessage

func (*GetDatabaseValueResponse) ProtoMessage()

func (*GetDatabaseValueResponse) Reset

func (m *GetDatabaseValueResponse) Reset()

func (*GetDatabaseValueResponse) Size

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

func (*GetDatabaseValueResponse) String

func (m *GetDatabaseValueResponse) String() string

func (*GetDatabaseValueResponse) Unmarshal

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

func (*GetDatabaseValueResponse) XXX_DiscardUnknown

func (m *GetDatabaseValueResponse) XXX_DiscardUnknown()

func (*GetDatabaseValueResponse) XXX_Marshal

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

func (*GetDatabaseValueResponse) XXX_Merge

func (dst *GetDatabaseValueResponse) XXX_Merge(src proto.Message)

func (*GetDatabaseValueResponse) XXX_Size

func (m *GetDatabaseValueResponse) XXX_Size() int

func (*GetDatabaseValueResponse) XXX_Unmarshal

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

type GetFeePriceRequest

type GetFeePriceRequest struct {
}

func (*GetFeePriceRequest) Descriptor

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

func (*GetFeePriceRequest) Marshal

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

func (*GetFeePriceRequest) MarshalTo

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

func (*GetFeePriceRequest) ProtoMessage

func (*GetFeePriceRequest) ProtoMessage()

func (*GetFeePriceRequest) Reset

func (m *GetFeePriceRequest) Reset()

func (*GetFeePriceRequest) Size

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

func (*GetFeePriceRequest) String

func (m *GetFeePriceRequest) String() string

func (*GetFeePriceRequest) Unmarshal

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

func (*GetFeePriceRequest) XXX_DiscardUnknown

func (m *GetFeePriceRequest) XXX_DiscardUnknown()

func (*GetFeePriceRequest) XXX_Marshal

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

func (*GetFeePriceRequest) XXX_Merge

func (dst *GetFeePriceRequest) XXX_Merge(src proto.Message)

func (*GetFeePriceRequest) XXX_Size

func (m *GetFeePriceRequest) XXX_Size() int

func (*GetFeePriceRequest) XXX_Unmarshal

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

type GetFeePriceResponse

type GetFeePriceResponse struct {
	BoxPerByte uint64 `protobuf:"varint,1,opt,name=box_per_byte,json=boxPerByte,proto3" json:"box_per_byte,omitempty"`
}

func (*GetFeePriceResponse) Descriptor

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

func (*GetFeePriceResponse) GetBoxPerByte

func (m *GetFeePriceResponse) GetBoxPerByte() uint64

func (*GetFeePriceResponse) Marshal

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

func (*GetFeePriceResponse) MarshalTo

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

func (*GetFeePriceResponse) ProtoMessage

func (*GetFeePriceResponse) ProtoMessage()

func (*GetFeePriceResponse) Reset

func (m *GetFeePriceResponse) Reset()

func (*GetFeePriceResponse) Size

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

func (*GetFeePriceResponse) String

func (m *GetFeePriceResponse) String() string

func (*GetFeePriceResponse) Unmarshal

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

func (*GetFeePriceResponse) XXX_DiscardUnknown

func (m *GetFeePriceResponse) XXX_DiscardUnknown()

func (*GetFeePriceResponse) XXX_Marshal

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

func (*GetFeePriceResponse) XXX_Merge

func (dst *GetFeePriceResponse) XXX_Merge(src proto.Message)

func (*GetFeePriceResponse) XXX_Size

func (m *GetFeePriceResponse) XXX_Size() int

func (*GetFeePriceResponse) XXX_Unmarshal

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

type GetNodeInfoRequest

type GetNodeInfoRequest struct {
}

func (*GetNodeInfoRequest) Descriptor

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

func (*GetNodeInfoRequest) Marshal

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

func (*GetNodeInfoRequest) MarshalTo

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

func (*GetNodeInfoRequest) ProtoMessage

func (*GetNodeInfoRequest) ProtoMessage()

func (*GetNodeInfoRequest) Reset

func (m *GetNodeInfoRequest) Reset()

func (*GetNodeInfoRequest) Size

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

func (*GetNodeInfoRequest) String

func (m *GetNodeInfoRequest) String() string

func (*GetNodeInfoRequest) Unmarshal

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

func (*GetNodeInfoRequest) XXX_DiscardUnknown

func (m *GetNodeInfoRequest) XXX_DiscardUnknown()

func (*GetNodeInfoRequest) XXX_Marshal

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

func (*GetNodeInfoRequest) XXX_Merge

func (dst *GetNodeInfoRequest) XXX_Merge(src proto.Message)

func (*GetNodeInfoRequest) XXX_Size

func (m *GetNodeInfoRequest) XXX_Size() int

func (*GetNodeInfoRequest) XXX_Unmarshal

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

type GetNodeInfoResponse

type GetNodeInfoResponse struct {
	Nodes []*Node `protobuf:"bytes,1,rep,name=nodes" json:"nodes,omitempty"`
}

func (*GetNodeInfoResponse) Descriptor

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

func (*GetNodeInfoResponse) GetNodes

func (m *GetNodeInfoResponse) GetNodes() []*Node

func (*GetNodeInfoResponse) Marshal

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

func (*GetNodeInfoResponse) MarshalTo

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

func (*GetNodeInfoResponse) ProtoMessage

func (*GetNodeInfoResponse) ProtoMessage()

func (*GetNodeInfoResponse) Reset

func (m *GetNodeInfoResponse) Reset()

func (*GetNodeInfoResponse) Size

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

func (*GetNodeInfoResponse) String

func (m *GetNodeInfoResponse) String() string

func (*GetNodeInfoResponse) Unmarshal

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

func (*GetNodeInfoResponse) XXX_DiscardUnknown

func (m *GetNodeInfoResponse) XXX_DiscardUnknown()

func (*GetNodeInfoResponse) XXX_Marshal

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

func (*GetNodeInfoResponse) XXX_Merge

func (dst *GetNodeInfoResponse) XXX_Merge(src proto.Message)

func (*GetNodeInfoResponse) XXX_Size

func (m *GetNodeInfoResponse) XXX_Size() int

func (*GetNodeInfoResponse) XXX_Unmarshal

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

type GetRawTransactionRequest

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

func (*GetRawTransactionRequest) Descriptor

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

func (*GetRawTransactionRequest) GetHash

func (m *GetRawTransactionRequest) GetHash() []byte

func (*GetRawTransactionRequest) Marshal

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

func (*GetRawTransactionRequest) MarshalTo

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

func (*GetRawTransactionRequest) ProtoMessage

func (*GetRawTransactionRequest) ProtoMessage()

func (*GetRawTransactionRequest) Reset

func (m *GetRawTransactionRequest) Reset()

func (*GetRawTransactionRequest) Size

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

func (*GetRawTransactionRequest) String

func (m *GetRawTransactionRequest) String() string

func (*GetRawTransactionRequest) Unmarshal

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

func (*GetRawTransactionRequest) XXX_DiscardUnknown

func (m *GetRawTransactionRequest) XXX_DiscardUnknown()

func (*GetRawTransactionRequest) XXX_Marshal

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

func (*GetRawTransactionRequest) XXX_Merge

func (dst *GetRawTransactionRequest) XXX_Merge(src proto.Message)

func (*GetRawTransactionRequest) XXX_Size

func (m *GetRawTransactionRequest) XXX_Size() int

func (*GetRawTransactionRequest) XXX_Unmarshal

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

type GetRawTransactionResponse

type GetRawTransactionResponse struct {
	Tx *pb.Transaction `protobuf:"bytes,1,opt,name=tx" json:"tx,omitempty"`
}

func (*GetRawTransactionResponse) Descriptor

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

func (*GetRawTransactionResponse) GetTx

func (*GetRawTransactionResponse) Marshal

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

func (*GetRawTransactionResponse) MarshalTo

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

func (*GetRawTransactionResponse) ProtoMessage

func (*GetRawTransactionResponse) ProtoMessage()

func (*GetRawTransactionResponse) Reset

func (m *GetRawTransactionResponse) Reset()

func (*GetRawTransactionResponse) Size

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

func (*GetRawTransactionResponse) String

func (m *GetRawTransactionResponse) String() string

func (*GetRawTransactionResponse) Unmarshal

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

func (*GetRawTransactionResponse) XXX_DiscardUnknown

func (m *GetRawTransactionResponse) XXX_DiscardUnknown()

func (*GetRawTransactionResponse) XXX_Marshal

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

func (*GetRawTransactionResponse) XXX_Merge

func (dst *GetRawTransactionResponse) XXX_Merge(src proto.Message)

func (*GetRawTransactionResponse) XXX_Size

func (m *GetRawTransactionResponse) XXX_Size() int

func (*GetRawTransactionResponse) XXX_Unmarshal

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

type GetTokenBalanceRequest

type GetTokenBalanceRequest struct {
	Addrs []string     `protobuf:"bytes,1,rep,name=addrs" json:"addrs,omitempty"`
	Token *pb.OutPoint `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"`
}

func (*GetTokenBalanceRequest) Descriptor

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

func (*GetTokenBalanceRequest) GetAddrs

func (m *GetTokenBalanceRequest) GetAddrs() []string

func (*GetTokenBalanceRequest) GetToken

func (m *GetTokenBalanceRequest) GetToken() *pb.OutPoint

func (*GetTokenBalanceRequest) Marshal

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

func (*GetTokenBalanceRequest) MarshalTo

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

func (*GetTokenBalanceRequest) ProtoMessage

func (*GetTokenBalanceRequest) ProtoMessage()

func (*GetTokenBalanceRequest) Reset

func (m *GetTokenBalanceRequest) Reset()

func (*GetTokenBalanceRequest) Size

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

func (*GetTokenBalanceRequest) String

func (m *GetTokenBalanceRequest) String() string

func (*GetTokenBalanceRequest) Unmarshal

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

func (*GetTokenBalanceRequest) XXX_DiscardUnknown

func (m *GetTokenBalanceRequest) XXX_DiscardUnknown()

func (*GetTokenBalanceRequest) XXX_Marshal

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

func (*GetTokenBalanceRequest) XXX_Merge

func (dst *GetTokenBalanceRequest) XXX_Merge(src proto.Message)

func (*GetTokenBalanceRequest) XXX_Size

func (m *GetTokenBalanceRequest) XXX_Size() int

func (*GetTokenBalanceRequest) XXX_Unmarshal

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

type GetTokenBalanceResponse

type GetTokenBalanceResponse struct {
	Code     int32             `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message  string            `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Balances map[string]uint64 `` /* 151-byte string literal not displayed */
}

func (*GetTokenBalanceResponse) Descriptor

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

func (*GetTokenBalanceResponse) GetBalances

func (m *GetTokenBalanceResponse) GetBalances() map[string]uint64

func (*GetTokenBalanceResponse) GetCode

func (m *GetTokenBalanceResponse) GetCode() int32

func (*GetTokenBalanceResponse) GetMessage

func (m *GetTokenBalanceResponse) GetMessage() string

func (*GetTokenBalanceResponse) Marshal

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

func (*GetTokenBalanceResponse) MarshalTo

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

func (*GetTokenBalanceResponse) ProtoMessage

func (*GetTokenBalanceResponse) ProtoMessage()

func (*GetTokenBalanceResponse) Reset

func (m *GetTokenBalanceResponse) Reset()

func (*GetTokenBalanceResponse) Size

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

func (*GetTokenBalanceResponse) String

func (m *GetTokenBalanceResponse) String() string

func (*GetTokenBalanceResponse) Unmarshal

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

func (*GetTokenBalanceResponse) XXX_DiscardUnknown

func (m *GetTokenBalanceResponse) XXX_DiscardUnknown()

func (*GetTokenBalanceResponse) XXX_Marshal

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

func (*GetTokenBalanceResponse) XXX_Merge

func (dst *GetTokenBalanceResponse) XXX_Merge(src proto.Message)

func (*GetTokenBalanceResponse) XXX_Size

func (m *GetTokenBalanceResponse) XXX_Size() int

func (*GetTokenBalanceResponse) XXX_Unmarshal

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

type GetTransactionCountRequest

type GetTransactionCountRequest struct {
	Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
}

func (*GetTransactionCountRequest) Descriptor

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

func (*GetTransactionCountRequest) GetAddr

func (m *GetTransactionCountRequest) GetAddr() string

func (*GetTransactionCountRequest) Marshal

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

func (*GetTransactionCountRequest) MarshalTo

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

func (*GetTransactionCountRequest) ProtoMessage

func (*GetTransactionCountRequest) ProtoMessage()

func (*GetTransactionCountRequest) Reset

func (m *GetTransactionCountRequest) Reset()

func (*GetTransactionCountRequest) Size

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

func (*GetTransactionCountRequest) String

func (m *GetTransactionCountRequest) String() string

func (*GetTransactionCountRequest) Unmarshal

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

func (*GetTransactionCountRequest) XXX_DiscardUnknown

func (m *GetTransactionCountRequest) XXX_DiscardUnknown()

func (*GetTransactionCountRequest) XXX_Marshal

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

func (*GetTransactionCountRequest) XXX_Merge

func (dst *GetTransactionCountRequest) XXX_Merge(src proto.Message)

func (*GetTransactionCountRequest) XXX_Size

func (m *GetTransactionCountRequest) XXX_Size() int

func (*GetTransactionCountRequest) XXX_Unmarshal

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

type GetTransactionCountResponse

type GetTransactionCountResponse struct {
	Code    int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Count   uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
}

func (*GetTransactionCountResponse) Descriptor

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

func (*GetTransactionCountResponse) GetCode

func (m *GetTransactionCountResponse) GetCode() int32

func (*GetTransactionCountResponse) GetCount

func (m *GetTransactionCountResponse) GetCount() uint32

func (*GetTransactionCountResponse) GetMessage

func (m *GetTransactionCountResponse) GetMessage() string

func (*GetTransactionCountResponse) Marshal

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

func (*GetTransactionCountResponse) MarshalTo

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

func (*GetTransactionCountResponse) ProtoMessage

func (*GetTransactionCountResponse) ProtoMessage()

func (*GetTransactionCountResponse) Reset

func (m *GetTransactionCountResponse) Reset()

func (*GetTransactionCountResponse) Size

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

func (*GetTransactionCountResponse) String

func (m *GetTransactionCountResponse) String() string

func (*GetTransactionCountResponse) Unmarshal

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

func (*GetTransactionCountResponse) XXX_DiscardUnknown

func (m *GetTransactionCountResponse) XXX_DiscardUnknown()

func (*GetTransactionCountResponse) XXX_Marshal

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

func (*GetTransactionCountResponse) XXX_Merge

func (dst *GetTransactionCountResponse) XXX_Merge(src proto.Message)

func (*GetTransactionCountResponse) XXX_Size

func (m *GetTransactionCountResponse) XXX_Size() int

func (*GetTransactionCountResponse) XXX_Unmarshal

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

type GetTransactionPoolRequest

type GetTransactionPoolRequest struct {
}

func (*GetTransactionPoolRequest) Descriptor

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

func (*GetTransactionPoolRequest) Marshal

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

func (*GetTransactionPoolRequest) MarshalTo

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

func (*GetTransactionPoolRequest) ProtoMessage

func (*GetTransactionPoolRequest) ProtoMessage()

func (*GetTransactionPoolRequest) Reset

func (m *GetTransactionPoolRequest) Reset()

func (*GetTransactionPoolRequest) Size

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

func (*GetTransactionPoolRequest) String

func (m *GetTransactionPoolRequest) String() string

func (*GetTransactionPoolRequest) Unmarshal

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

func (*GetTransactionPoolRequest) XXX_DiscardUnknown

func (m *GetTransactionPoolRequest) XXX_DiscardUnknown()

func (*GetTransactionPoolRequest) XXX_Marshal

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

func (*GetTransactionPoolRequest) XXX_Merge

func (dst *GetTransactionPoolRequest) XXX_Merge(src proto.Message)

func (*GetTransactionPoolRequest) XXX_Size

func (m *GetTransactionPoolRequest) XXX_Size() int

func (*GetTransactionPoolRequest) XXX_Unmarshal

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

type GetTransactionsResponse

type GetTransactionsResponse struct {
	Txs []*pb.Transaction `protobuf:"bytes,1,rep,name=txs" json:"txs,omitempty"`
}

func (*GetTransactionsResponse) Descriptor

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

func (*GetTransactionsResponse) GetTxs

func (m *GetTransactionsResponse) GetTxs() []*pb.Transaction

func (*GetTransactionsResponse) Marshal

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

func (*GetTransactionsResponse) MarshalTo

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

func (*GetTransactionsResponse) ProtoMessage

func (*GetTransactionsResponse) ProtoMessage()

func (*GetTransactionsResponse) Reset

func (m *GetTransactionsResponse) Reset()

func (*GetTransactionsResponse) Size

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

func (*GetTransactionsResponse) String

func (m *GetTransactionsResponse) String() string

func (*GetTransactionsResponse) Unmarshal

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

func (*GetTransactionsResponse) XXX_DiscardUnknown

func (m *GetTransactionsResponse) XXX_DiscardUnknown()

func (*GetTransactionsResponse) XXX_Marshal

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

func (*GetTransactionsResponse) XXX_Merge

func (dst *GetTransactionsResponse) XXX_Merge(src proto.Message)

func (*GetTransactionsResponse) XXX_Size

func (m *GetTransactionsResponse) XXX_Size() int

func (*GetTransactionsResponse) XXX_Unmarshal

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

type ListTransactionsRequest

type ListTransactionsRequest struct {
	Addr   string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit  uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
}

func (*ListTransactionsRequest) Descriptor

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

func (*ListTransactionsRequest) GetAddr

func (m *ListTransactionsRequest) GetAddr() string

func (*ListTransactionsRequest) GetLimit

func (m *ListTransactionsRequest) GetLimit() uint32

func (*ListTransactionsRequest) GetOffset

func (m *ListTransactionsRequest) GetOffset() uint32

func (*ListTransactionsRequest) Marshal

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

func (*ListTransactionsRequest) MarshalTo

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

func (*ListTransactionsRequest) ProtoMessage

func (*ListTransactionsRequest) ProtoMessage()

func (*ListTransactionsRequest) Reset

func (m *ListTransactionsRequest) Reset()

func (*ListTransactionsRequest) Size

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

func (*ListTransactionsRequest) String

func (m *ListTransactionsRequest) String() string

func (*ListTransactionsRequest) Unmarshal

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

func (*ListTransactionsRequest) XXX_DiscardUnknown

func (m *ListTransactionsRequest) XXX_DiscardUnknown()

func (*ListTransactionsRequest) XXX_Marshal

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

func (*ListTransactionsRequest) XXX_Merge

func (dst *ListTransactionsRequest) XXX_Merge(src proto.Message)

func (*ListTransactionsRequest) XXX_Size

func (m *ListTransactionsRequest) XXX_Size() int

func (*ListTransactionsRequest) XXX_Unmarshal

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

type ListTransactionsResponse

type ListTransactionsResponse struct {
	Code         int32             `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message      string            `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Count        uint32            `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
	Transactions []*pb.Transaction `protobuf:"bytes,4,rep,name=transactions" json:"transactions,omitempty"`
}

func (*ListTransactionsResponse) Descriptor

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

func (*ListTransactionsResponse) GetCode

func (m *ListTransactionsResponse) GetCode() int32

func (*ListTransactionsResponse) GetCount

func (m *ListTransactionsResponse) GetCount() uint32

func (*ListTransactionsResponse) GetMessage

func (m *ListTransactionsResponse) GetMessage() string

func (*ListTransactionsResponse) GetTransactions

func (m *ListTransactionsResponse) GetTransactions() []*pb.Transaction

func (*ListTransactionsResponse) Marshal

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

func (*ListTransactionsResponse) MarshalTo

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

func (*ListTransactionsResponse) ProtoMessage

func (*ListTransactionsResponse) ProtoMessage()

func (*ListTransactionsResponse) Reset

func (m *ListTransactionsResponse) Reset()

func (*ListTransactionsResponse) Size

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

func (*ListTransactionsResponse) String

func (m *ListTransactionsResponse) String() string

func (*ListTransactionsResponse) Unmarshal

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

func (*ListTransactionsResponse) XXX_DiscardUnknown

func (m *ListTransactionsResponse) XXX_DiscardUnknown()

func (*ListTransactionsResponse) XXX_Marshal

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

func (*ListTransactionsResponse) XXX_Merge

func (dst *ListTransactionsResponse) XXX_Merge(src proto.Message)

func (*ListTransactionsResponse) XXX_Size

func (m *ListTransactionsResponse) XXX_Size() int

func (*ListTransactionsResponse) XXX_Unmarshal

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

type ListUtxosRequest

type ListUtxosRequest struct {
}

func (*ListUtxosRequest) Descriptor

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

func (*ListUtxosRequest) Marshal

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

func (*ListUtxosRequest) MarshalTo

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

func (*ListUtxosRequest) ProtoMessage

func (*ListUtxosRequest) ProtoMessage()

func (*ListUtxosRequest) Reset

func (m *ListUtxosRequest) Reset()

func (*ListUtxosRequest) Size

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

func (*ListUtxosRequest) String

func (m *ListUtxosRequest) String() string

func (*ListUtxosRequest) Unmarshal

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

func (*ListUtxosRequest) XXX_DiscardUnknown

func (m *ListUtxosRequest) XXX_DiscardUnknown()

func (*ListUtxosRequest) XXX_Marshal

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

func (*ListUtxosRequest) XXX_Merge

func (dst *ListUtxosRequest) XXX_Merge(src proto.Message)

func (*ListUtxosRequest) XXX_Size

func (m *ListUtxosRequest) XXX_Size() int

func (*ListUtxosRequest) XXX_Unmarshal

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

type ListUtxosResponse

type ListUtxosResponse struct {
	Code    int32   `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string  `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Count   uint32  `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
	Utxos   []*Utxo `protobuf:"bytes,4,rep,name=utxos" json:"utxos,omitempty"`
}

func (*ListUtxosResponse) Descriptor

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

func (*ListUtxosResponse) GetCode

func (m *ListUtxosResponse) GetCode() int32

func (*ListUtxosResponse) GetCount

func (m *ListUtxosResponse) GetCount() uint32

func (*ListUtxosResponse) GetMessage

func (m *ListUtxosResponse) GetMessage() string

func (*ListUtxosResponse) GetUtxos

func (m *ListUtxosResponse) GetUtxos() []*Utxo

func (*ListUtxosResponse) Marshal

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

func (*ListUtxosResponse) MarshalTo

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

func (*ListUtxosResponse) ProtoMessage

func (*ListUtxosResponse) ProtoMessage()

func (*ListUtxosResponse) Reset

func (m *ListUtxosResponse) Reset()

func (*ListUtxosResponse) Size

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

func (*ListUtxosResponse) String

func (m *ListUtxosResponse) String() string

func (*ListUtxosResponse) Unmarshal

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

func (*ListUtxosResponse) XXX_DiscardUnknown

func (m *ListUtxosResponse) XXX_DiscardUnknown()

func (*ListUtxosResponse) XXX_Marshal

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

func (*ListUtxosResponse) XXX_Merge

func (dst *ListUtxosResponse) XXX_Merge(src proto.Message)

func (*ListUtxosResponse) XXX_Size

func (m *ListUtxosResponse) XXX_Size() int

func (*ListUtxosResponse) XXX_Unmarshal

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

type Node

type Node struct {
	Id    string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Addrs []string `protobuf:"bytes,2,rep,name=addrs" json:"addrs,omitempty"`
	Ttl   string   `protobuf:"bytes,3,opt,name=ttl,proto3" json:"ttl,omitempty"`
}

func (*Node) Descriptor

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

func (*Node) GetAddrs

func (m *Node) GetAddrs() []string

func (*Node) GetId

func (m *Node) GetId() string

func (*Node) GetTtl

func (m *Node) GetTtl() string

func (*Node) Marshal

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

func (*Node) MarshalTo

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

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) Reset

func (m *Node) Reset()

func (*Node) Size

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

func (*Node) String

func (m *Node) String() string

func (*Node) Unmarshal

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

func (*Node) XXX_DiscardUnknown

func (m *Node) XXX_DiscardUnknown()

func (*Node) XXX_Marshal

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

func (*Node) XXX_Merge

func (dst *Node) XXX_Merge(src proto.Message)

func (*Node) XXX_Size

func (m *Node) XXX_Size() int

func (*Node) XXX_Unmarshal

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

type SendTransactionRequest

type SendTransactionRequest struct {
	Tx *pb.Transaction `protobuf:"bytes,1,opt,name=tx" json:"tx,omitempty"`
}

func (*SendTransactionRequest) Descriptor

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

func (*SendTransactionRequest) GetTx

func (*SendTransactionRequest) Marshal

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

func (*SendTransactionRequest) MarshalTo

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

func (*SendTransactionRequest) ProtoMessage

func (*SendTransactionRequest) ProtoMessage()

func (*SendTransactionRequest) Reset

func (m *SendTransactionRequest) Reset()

func (*SendTransactionRequest) Size

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

func (*SendTransactionRequest) String

func (m *SendTransactionRequest) String() string

func (*SendTransactionRequest) Unmarshal

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

func (*SendTransactionRequest) XXX_DiscardUnknown

func (m *SendTransactionRequest) XXX_DiscardUnknown()

func (*SendTransactionRequest) XXX_Marshal

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

func (*SendTransactionRequest) XXX_Merge

func (dst *SendTransactionRequest) XXX_Merge(src proto.Message)

func (*SendTransactionRequest) XXX_Size

func (m *SendTransactionRequest) XXX_Size() int

func (*SendTransactionRequest) XXX_Unmarshal

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

type TokenAmount

type TokenAmount struct {
	Token  *pb.OutPoint `protobuf:"bytes,1,opt,name=token" json:"token,omitempty"`
	Amount uint64       `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
}

func (*TokenAmount) Descriptor

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

func (*TokenAmount) GetAmount

func (m *TokenAmount) GetAmount() uint64

func (*TokenAmount) GetToken

func (m *TokenAmount) GetToken() *pb.OutPoint

func (*TokenAmount) Marshal

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

func (*TokenAmount) MarshalTo

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

func (*TokenAmount) ProtoMessage

func (*TokenAmount) ProtoMessage()

func (*TokenAmount) Reset

func (m *TokenAmount) Reset()

func (*TokenAmount) Size

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

func (*TokenAmount) String

func (m *TokenAmount) String() string

func (*TokenAmount) Unmarshal

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

func (*TokenAmount) XXX_DiscardUnknown

func (m *TokenAmount) XXX_DiscardUnknown()

func (*TokenAmount) XXX_Marshal

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

func (*TokenAmount) XXX_Merge

func (dst *TokenAmount) XXX_Merge(src proto.Message)

func (*TokenAmount) XXX_Size

func (m *TokenAmount) XXX_Size() int

func (*TokenAmount) XXX_Unmarshal

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

type Transaction

type Transaction struct {
	TxHash   string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	RawBytes []byte `protobuf:"bytes,2,opt,name=raw_bytes,json=rawBytes,proto3" json:"raw_bytes,omitempty"`
}

func (*Transaction) Descriptor

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

func (*Transaction) GetRawBytes

func (m *Transaction) GetRawBytes() []byte

func (*Transaction) GetTxHash

func (m *Transaction) GetTxHash() string

func (*Transaction) Marshal

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

func (*Transaction) MarshalTo

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

func (*Transaction) ProtoMessage

func (*Transaction) ProtoMessage()

func (*Transaction) Reset

func (m *Transaction) Reset()

func (*Transaction) Size

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

func (*Transaction) String

func (m *Transaction) String() string

func (*Transaction) Unmarshal

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

func (*Transaction) XXX_DiscardUnknown

func (m *Transaction) XXX_DiscardUnknown()

func (*Transaction) XXX_Marshal

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

func (*Transaction) XXX_Merge

func (dst *Transaction) XXX_Merge(src proto.Message)

func (*Transaction) XXX_Size

func (m *Transaction) XXX_Size() int

func (*Transaction) XXX_Unmarshal

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

type TransactionCommandClient

type TransactionCommandClient interface {
	ListUtxos(ctx context.Context, in *ListUtxosRequest, opts ...grpc.CallOption) (*ListUtxosResponse, error)
	FundTransaction(ctx context.Context, in *FundTransactionRequest, opts ...grpc.CallOption) (*ListUtxosResponse, error)
	SendTransaction(ctx context.Context, in *SendTransactionRequest, opts ...grpc.CallOption) (*BaseResponse, error)
	GetRawTransaction(ctx context.Context, in *GetRawTransactionRequest, opts ...grpc.CallOption) (*GetRawTransactionResponse, error)
	GetBalance(ctx context.Context, in *GetBalanceRequest, opts ...grpc.CallOption) (*GetBalanceResponse, error)
	GetTokenBalance(ctx context.Context, in *GetTokenBalanceRequest, opts ...grpc.CallOption) (*GetTokenBalanceResponse, error)
	GetFeePrice(ctx context.Context, in *GetFeePriceRequest, opts ...grpc.CallOption) (*GetFeePriceResponse, error)
	GetTransactionPool(ctx context.Context, in *GetTransactionPoolRequest, opts ...grpc.CallOption) (*GetTransactionsResponse, error)
}

TransactionCommandClient is the client API for TransactionCommand service.

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

func NewTransactionCommandClient

func NewTransactionCommandClient(cc *grpc.ClientConn) TransactionCommandClient

type TransactionCommandServer

TransactionCommandServer is the server API for TransactionCommand service.

type UpdateNetworkIDRequest

type UpdateNetworkIDRequest struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*UpdateNetworkIDRequest) Descriptor

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

func (*UpdateNetworkIDRequest) GetId

func (m *UpdateNetworkIDRequest) GetId() uint32

func (*UpdateNetworkIDRequest) Marshal

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

func (*UpdateNetworkIDRequest) MarshalTo

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

func (*UpdateNetworkIDRequest) ProtoMessage

func (*UpdateNetworkIDRequest) ProtoMessage()

func (*UpdateNetworkIDRequest) Reset

func (m *UpdateNetworkIDRequest) Reset()

func (*UpdateNetworkIDRequest) Size

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

func (*UpdateNetworkIDRequest) String

func (m *UpdateNetworkIDRequest) String() string

func (*UpdateNetworkIDRequest) Unmarshal

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

func (*UpdateNetworkIDRequest) XXX_DiscardUnknown

func (m *UpdateNetworkIDRequest) XXX_DiscardUnknown()

func (*UpdateNetworkIDRequest) XXX_Marshal

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

func (*UpdateNetworkIDRequest) XXX_Merge

func (dst *UpdateNetworkIDRequest) XXX_Merge(src proto.Message)

func (*UpdateNetworkIDRequest) XXX_Size

func (m *UpdateNetworkIDRequest) XXX_Size() int

func (*UpdateNetworkIDRequest) XXX_Unmarshal

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

type Utxo

type Utxo struct {
	OutPoint    *pb.OutPoint `protobuf:"bytes,1,opt,name=out_point,json=outPoint" json:"out_point,omitempty"`
	TxOut       *pb.TxOut    `protobuf:"bytes,2,opt,name=tx_out,json=txOut" json:"tx_out,omitempty"`
	BlockHeight uint32       `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	IsCoinbase  bool         `protobuf:"varint,4,opt,name=is_coinbase,json=isCoinbase,proto3" json:"is_coinbase,omitempty"`
	IsSpent     bool         `protobuf:"varint,5,opt,name=is_spent,json=isSpent,proto3" json:"is_spent,omitempty"`
}

func (*Utxo) Descriptor

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

func (*Utxo) GetBlockHeight

func (m *Utxo) GetBlockHeight() uint32

func (*Utxo) GetIsCoinbase

func (m *Utxo) GetIsCoinbase() bool

func (*Utxo) GetIsSpent

func (m *Utxo) GetIsSpent() bool

func (*Utxo) GetOutPoint

func (m *Utxo) GetOutPoint() *pb.OutPoint

func (*Utxo) GetTxOut

func (m *Utxo) GetTxOut() *pb.TxOut

func (*Utxo) Marshal

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

func (*Utxo) MarshalTo

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

func (*Utxo) ProtoMessage

func (*Utxo) ProtoMessage()

func (*Utxo) Reset

func (m *Utxo) Reset()

func (*Utxo) Size

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

func (*Utxo) String

func (m *Utxo) String() string

func (*Utxo) Unmarshal

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

func (*Utxo) XXX_DiscardUnknown

func (m *Utxo) XXX_DiscardUnknown()

func (*Utxo) XXX_Marshal

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

func (*Utxo) XXX_Merge

func (dst *Utxo) XXX_Merge(src proto.Message)

func (*Utxo) XXX_Size

func (m *Utxo) XXX_Size() int

func (*Utxo) XXX_Unmarshal

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

type WalletCommandClient

type WalletCommandClient interface {
	ListTransactions(ctx context.Context, in *ListTransactionsRequest, opts ...grpc.CallOption) (*ListTransactionsResponse, error)
	GetTransactionCount(ctx context.Context, in *GetTransactionCountRequest, opts ...grpc.CallOption) (*GetTransactionCountResponse, error)
}

WalletCommandClient is the client API for WalletCommand service.

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

func NewWalletCommandClient

func NewWalletCommandClient(cc *grpc.ClientConn) WalletCommandClient

type WalletCommandServer

type WalletCommandServer interface {
	ListTransactions(context.Context, *ListTransactionsRequest) (*ListTransactionsResponse, error)
	GetTransactionCount(context.Context, *GetTransactionCountRequest) (*GetTransactionCountResponse, error)
}

WalletCommandServer is the server API for WalletCommand service.

Jump to

Keyboard shortcuts

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