Versions in this module Expand all Collapse all v0 v0.1.1 Dec 22, 2018 v0.1.0 Dec 19, 2018 Changes in this version + func RegisterAccountReaderHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterAccountReaderHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AccountReaderClient) error + func RegisterAccountReaderHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterAccountReaderServer(s *grpc.Server, srv AccountReaderServer) + func RegisterChainReaderHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterChainReaderHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ChainReaderClient) error + func RegisterChainReaderHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterChainReaderServer(s *grpc.Server, srv ChainReaderServer) + func RegisterChainStateReaderHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterChainStateReaderHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ChainStateReaderClient) error + func RegisterChainStateReaderHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterChainStateReaderServer(s *grpc.Server, srv ChainStateReaderServer) + func RegisterCoinbaseHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterCoinbaseHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CoinbaseClient) error + func RegisterCoinbaseHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterCoinbaseServer(s *grpc.Server, srv CoinbaseServer) + func RegisterMinerReaderHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterMinerReaderHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MinerReaderClient) error + func RegisterMinerReaderHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterMinerReaderServer(s *grpc.Server, srv MinerReaderServer) + func RegisterTransactionPoolReaderHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterTransactionPoolReaderHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TransactionPoolReaderClient) error + func RegisterTransactionPoolReaderHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterTransactionPoolReaderServer(s *grpc.Server, srv TransactionPoolReaderServer) + type AccountReaderClient interface + Accounts func(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.Addresses, error) + func NewAccountReaderClient(cc *grpc.ClientConn) AccountReaderClient + type AccountReaderServer interface + Accounts func(context.Context, *empty.Empty) (*common.Addresses, error) + type ChainReaderClient interface + GetBalance func(ctx context.Context, in *ChainReaderRequest, opts ...grpc.CallOption) (*common.Balance, error) + GetBlockByHash func(ctx context.Context, in *ChainReaderRequest, opts ...grpc.CallOption) (*common.Block, error) + GetBlockByNumber func(ctx context.Context, in *ChainReaderRequest, opts ...grpc.CallOption) (*common.Block, error) + GetBlockCount func(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.BlockNumber, error) + GetCode func(ctx context.Context, in *ChainReaderRequest, opts ...grpc.CallOption) (*common.Code, error) + func NewChainReaderClient(cc *grpc.ClientConn) ChainReaderClient + type ChainReaderRequest struct + Address string + BlockHash string + BlockNumber int64 + IsFull bool + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ChainReaderRequest) Descriptor() ([]byte, []int) + func (*ChainReaderRequest) ProtoMessage() + func (m *ChainReaderRequest) GetAddress() string + func (m *ChainReaderRequest) GetBlockHash() string + func (m *ChainReaderRequest) GetBlockNumber() int64 + func (m *ChainReaderRequest) GetIsFull() bool + func (m *ChainReaderRequest) Reset() + func (m *ChainReaderRequest) String() string + func (m *ChainReaderRequest) XXX_DiscardUnknown() + func (m *ChainReaderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ChainReaderRequest) XXX_Merge(src proto.Message) + func (m *ChainReaderRequest) XXX_Size() int + func (m *ChainReaderRequest) XXX_Unmarshal(b []byte) error + type ChainReaderServer interface + GetBalance func(context.Context, *ChainReaderRequest) (*common.Balance, error) + GetBlockByHash func(context.Context, *ChainReaderRequest) (*common.Block, error) + GetBlockByNumber func(context.Context, *ChainReaderRequest) (*common.Block, error) + GetBlockCount func(context.Context, *empty.Empty) (*common.BlockNumber, error) + GetCode func(context.Context, *ChainReaderRequest) (*common.Code, error) + type ChainStateReaderClient interface + GasPrice func(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.GasPrice, error) + ProtocolVersion func(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*wrappers.UInt32Value, error) + Syncing func(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.SyncingInfo, error) + func NewChainStateReaderClient(cc *grpc.ClientConn) ChainStateReaderClient + type ChainStateReaderServer interface + GasPrice func(context.Context, *empty.Empty) (*common.GasPrice, error) + ProtocolVersion func(context.Context, *empty.Empty) (*wrappers.UInt32Value, error) + Syncing func(context.Context, *empty.Empty) (*common.SyncingInfo, error) + type CoinbaseClient interface + Coinbase func(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.Address, error) + func NewCoinbaseClient(cc *grpc.ClientConn) CoinbaseClient + type CoinbaseServer interface + Coinbase func(context.Context, *empty.Empty) (*common.Address, error) + type MinerReaderClient interface + Mining func(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IsOk, error) + func NewMinerReaderClient(cc *grpc.ClientConn) MinerReaderClient + type MinerReaderServer interface + Mining func(context.Context, *empty.Empty) (*common.IsOk, error) + type RawTransaction struct + RawTransaction []byte + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*RawTransaction) Descriptor() ([]byte, []int) + func (*RawTransaction) ProtoMessage() + func (m *RawTransaction) GetRawTransaction() []byte + func (m *RawTransaction) Reset() + func (m *RawTransaction) String() string + func (m *RawTransaction) XXX_DiscardUnknown() + func (m *RawTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RawTransaction) XXX_Merge(src proto.Message) + func (m *RawTransaction) XXX_Size() int + func (m *RawTransaction) XXX_Unmarshal(b []byte) error + type TransactionCount struct + TransactionCount uint64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*TransactionCount) Descriptor() ([]byte, []int) + func (*TransactionCount) ProtoMessage() + func (m *TransactionCount) GetTransactionCount() uint64 + func (m *TransactionCount) Reset() + func (m *TransactionCount) String() string + func (m *TransactionCount) XXX_DiscardUnknown() + func (m *TransactionCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *TransactionCount) XXX_Merge(src proto.Message) + func (m *TransactionCount) XXX_Size() int + func (m *TransactionCount) XXX_Unmarshal(b []byte) error + type TransactionHash struct + TransactionHash string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*TransactionHash) Descriptor() ([]byte, []int) + func (*TransactionHash) ProtoMessage() + func (m *TransactionHash) GetTransactionHash() string + func (m *TransactionHash) Reset() + func (m *TransactionHash) String() string + func (m *TransactionHash) XXX_DiscardUnknown() + func (m *TransactionHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *TransactionHash) XXX_Merge(src proto.Message) + func (m *TransactionHash) XXX_Size() int + func (m *TransactionHash) XXX_Unmarshal(b []byte) error + type TransactionPoolReaderClient interface + GetRawTransactionByBlockNumberAndIndex func(ctx context.Context, in *TransactionPoolReaderRequest, opts ...grpc.CallOption) (*RawTransaction, error) + GetTransactionByBlockHashAndIndex func(ctx context.Context, in *TransactionPoolReaderRequest, opts ...grpc.CallOption) (*common.RpcTransaction, error) + GetTransactionByBlockNumberAndIndex func(ctx context.Context, in *TransactionPoolReaderRequest, opts ...grpc.CallOption) (*common.RpcTransaction, error) + GetTransactionByHash func(ctx context.Context, in *TransactionHash, opts ...grpc.CallOption) (*common.RpcTransaction, error) + GetTransactionCount func(ctx context.Context, in *TransactionPoolReaderRequest, opts ...grpc.CallOption) (*TransactionCount, error) + GetTransactionCountByBlockHash func(ctx context.Context, in *common.BlockHash, opts ...grpc.CallOption) (*TransactionCount, error) + GetTransactionCountByBlockNumber func(ctx context.Context, in *common.BlockNumber, opts ...grpc.CallOption) (*TransactionCount, error) + GetTransactionReceipt func(ctx context.Context, in *TransactionHash, opts ...grpc.CallOption) (*common.Receipt, error) + func NewTransactionPoolReaderClient(cc *grpc.ClientConn) TransactionPoolReaderClient + type TransactionPoolReaderRequest struct + Address string + BlockHash string + BlockNumber uint64 + Index uint64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*TransactionPoolReaderRequest) Descriptor() ([]byte, []int) + func (*TransactionPoolReaderRequest) ProtoMessage() + func (m *TransactionPoolReaderRequest) GetAddress() string + func (m *TransactionPoolReaderRequest) GetBlockHash() string + func (m *TransactionPoolReaderRequest) GetBlockNumber() uint64 + func (m *TransactionPoolReaderRequest) GetIndex() uint64 + func (m *TransactionPoolReaderRequest) Reset() + func (m *TransactionPoolReaderRequest) String() string + func (m *TransactionPoolReaderRequest) XXX_DiscardUnknown() + func (m *TransactionPoolReaderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *TransactionPoolReaderRequest) XXX_Merge(src proto.Message) + func (m *TransactionPoolReaderRequest) XXX_Size() int + func (m *TransactionPoolReaderRequest) XXX_Unmarshal(b []byte) error + type TransactionPoolReaderServer interface + GetRawTransactionByBlockNumberAndIndex func(context.Context, *TransactionPoolReaderRequest) (*RawTransaction, error) + GetTransactionByBlockHashAndIndex func(context.Context, *TransactionPoolReaderRequest) (*common.RpcTransaction, error) + GetTransactionByBlockNumberAndIndex func(context.Context, *TransactionPoolReaderRequest) (*common.RpcTransaction, error) + GetTransactionByHash func(context.Context, *TransactionHash) (*common.RpcTransaction, error) + GetTransactionCount func(context.Context, *TransactionPoolReaderRequest) (*TransactionCount, error) + GetTransactionCountByBlockHash func(context.Context, *common.BlockHash) (*TransactionCount, error) + GetTransactionCountByBlockNumber func(context.Context, *common.BlockNumber) (*TransactionCount, error) + GetTransactionReceipt func(context.Context, *TransactionHash) (*common.Receipt, error)