Documentation
¶
Index ¶
- func RegisterGreeterServer(s *grpc.Server, srv GreeterServer)
- type GreeterClient
- type GreeterServer
- type ReqAddrByPriv
- func (*ReqAddrByPriv) Descriptor() ([]byte, []int)
- func (m *ReqAddrByPriv) GetPriv() string
- func (*ReqAddrByPriv) ProtoMessage()
- func (m *ReqAddrByPriv) Reset()
- func (m *ReqAddrByPriv) String() string
- func (m *ReqAddrByPriv) XXX_DiscardUnknown()
- func (m *ReqAddrByPriv) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqAddrByPriv) XXX_Merge(src proto.Message)
- func (m *ReqAddrByPriv) XXX_Size() int
- func (m *ReqAddrByPriv) XXX_Unmarshal(b []byte) error
- type ReqBalance
- func (*ReqBalance) Descriptor() ([]byte, []int)
- func (m *ReqBalance) GetAddress() string
- func (*ReqBalance) ProtoMessage()
- func (m *ReqBalance) Reset()
- func (m *ReqBalance) String() string
- func (m *ReqBalance) XXX_DiscardUnknown()
- func (m *ReqBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqBalance) XXX_Merge(src proto.Message)
- func (m *ReqBalance) XXX_Size() int
- func (m *ReqBalance) XXX_Unmarshal(b []byte) error
- type ReqBlockByHash
- func (*ReqBlockByHash) Descriptor() ([]byte, []int)
- func (m *ReqBlockByHash) GetHash() string
- func (*ReqBlockByHash) ProtoMessage()
- func (m *ReqBlockByHash) Reset()
- func (m *ReqBlockByHash) String() string
- func (m *ReqBlockByHash) XXX_DiscardUnknown()
- func (m *ReqBlockByHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqBlockByHash) XXX_Merge(src proto.Message)
- func (m *ReqBlockByHash) XXX_Size() int
- func (m *ReqBlockByHash) XXX_Unmarshal(b []byte) error
- type ReqBlockByNumber
- func (*ReqBlockByNumber) Descriptor() ([]byte, []int)
- func (m *ReqBlockByNumber) GetHeight() uint64
- func (*ReqBlockByNumber) ProtoMessage()
- func (m *ReqBlockByNumber) Reset()
- func (m *ReqBlockByNumber) String() string
- func (m *ReqBlockByNumber) XXX_DiscardUnknown()
- func (m *ReqBlockByNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqBlockByNumber) XXX_Merge(src proto.Message)
- func (m *ReqBlockByNumber) XXX_Size() int
- func (m *ReqBlockByNumber) XXX_Unmarshal(b []byte) error
- type ReqCreateAddr
- func (*ReqCreateAddr) Descriptor() ([]byte, []int)
- func (*ReqCreateAddr) ProtoMessage()
- func (m *ReqCreateAddr) Reset()
- func (m *ReqCreateAddr) String() string
- func (m *ReqCreateAddr) XXX_DiscardUnknown()
- func (m *ReqCreateAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqCreateAddr) XXX_Merge(src proto.Message)
- func (m *ReqCreateAddr) XXX_Size() int
- func (m *ReqCreateAddr) XXX_Unmarshal(b []byte) error
- type ReqMaxBlockNumber
- func (*ReqMaxBlockNumber) Descriptor() ([]byte, []int)
- func (*ReqMaxBlockNumber) ProtoMessage()
- func (m *ReqMaxBlockNumber) Reset()
- func (m *ReqMaxBlockNumber) String() string
- func (m *ReqMaxBlockNumber) XXX_DiscardUnknown()
- func (m *ReqMaxBlockNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqMaxBlockNumber) XXX_Merge(src proto.Message)
- func (m *ReqMaxBlockNumber) XXX_Size() int
- func (m *ReqMaxBlockNumber) XXX_Unmarshal(b []byte) error
- type ReqNonce
- func (*ReqNonce) Descriptor() ([]byte, []int)
- func (m *ReqNonce) GetAddress() string
- func (*ReqNonce) ProtoMessage()
- func (m *ReqNonce) Reset()
- func (m *ReqNonce) String() string
- func (m *ReqNonce) XXX_DiscardUnknown()
- func (m *ReqNonce) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqNonce) XXX_Merge(src proto.Message)
- func (m *ReqNonce) XXX_Size() int
- func (m *ReqNonce) XXX_Unmarshal(b []byte) error
- type ReqSignedTransaction
- func (*ReqSignedTransaction) Descriptor() ([]byte, []int)
- func (m *ReqSignedTransaction) GetAmount() uint64
- func (m *ReqSignedTransaction) GetFrom() string
- func (m *ReqSignedTransaction) GetHash() []byte
- func (m *ReqSignedTransaction) GetNonce() uint64
- func (m *ReqSignedTransaction) GetSignature() []byte
- func (m *ReqSignedTransaction) GetTime() int64
- func (m *ReqSignedTransaction) GetTo() string
- func (*ReqSignedTransaction) ProtoMessage()
- func (m *ReqSignedTransaction) Reset()
- func (m *ReqSignedTransaction) String() string
- func (m *ReqSignedTransaction) XXX_DiscardUnknown()
- func (m *ReqSignedTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqSignedTransaction) XXX_Merge(src proto.Message)
- func (m *ReqSignedTransaction) XXX_Size() int
- func (m *ReqSignedTransaction) XXX_Unmarshal(b []byte) error
- type ReqTransaction
- func (*ReqTransaction) Descriptor() ([]byte, []int)
- func (m *ReqTransaction) GetAmount() uint64
- func (m *ReqTransaction) GetFrom() string
- func (m *ReqTransaction) GetNonce() uint64
- func (m *ReqTransaction) GetPriv() string
- func (m *ReqTransaction) GetTo() string
- func (*ReqTransaction) ProtoMessage()
- func (m *ReqTransaction) Reset()
- func (m *ReqTransaction) String() string
- func (m *ReqTransaction) XXX_DiscardUnknown()
- func (m *ReqTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqTransaction) XXX_Merge(src proto.Message)
- func (m *ReqTransaction) XXX_Size() int
- func (m *ReqTransaction) XXX_Unmarshal(b []byte) error
- type ReqTx
- func (*ReqTx) Descriptor() ([]byte, []int)
- func (m *ReqTx) GetAddress() string
- func (*ReqTx) ProtoMessage()
- func (m *ReqTx) Reset()
- func (m *ReqTx) String() string
- func (m *ReqTx) XXX_DiscardUnknown()
- func (m *ReqTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqTx) XXX_Merge(src proto.Message)
- func (m *ReqTx) XXX_Size() int
- func (m *ReqTx) XXX_Unmarshal(b []byte) error
- type ReqTxByHash
- func (*ReqTxByHash) Descriptor() ([]byte, []int)
- func (m *ReqTxByHash) GetHash() string
- func (*ReqTxByHash) ProtoMessage()
- func (m *ReqTxByHash) Reset()
- func (m *ReqTxByHash) String() string
- func (m *ReqTxByHash) XXX_DiscardUnknown()
- func (m *ReqTxByHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqTxByHash) XXX_Merge(src proto.Message)
- func (m *ReqTxByHash) XXX_Size() int
- func (m *ReqTxByHash) XXX_Unmarshal(b []byte) error
- type ResBalance
- func (*ResBalance) Descriptor() ([]byte, []int)
- func (m *ResBalance) GetBalnce() uint64
- func (*ResBalance) ProtoMessage()
- func (m *ResBalance) Reset()
- func (m *ResBalance) String() string
- func (m *ResBalance) XXX_DiscardUnknown()
- func (m *ResBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResBalance) XXX_Merge(src proto.Message)
- func (m *ResBalance) XXX_Size() int
- func (m *ResBalance) XXX_Unmarshal(b []byte) error
- type ResTransaction
- func (*ResTransaction) Descriptor() ([]byte, []int)
- func (m *ResTransaction) GetHash() string
- func (*ResTransaction) ProtoMessage()
- func (m *ResTransaction) Reset()
- func (m *ResTransaction) String() string
- func (m *ResTransaction) XXX_DiscardUnknown()
- func (m *ResTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResTransaction) XXX_Merge(src proto.Message)
- func (m *ResTransaction) XXX_Size() int
- func (m *ResTransaction) XXX_Unmarshal(b []byte) error
- type ResTx
- func (*ResTx) Descriptor() ([]byte, []int)
- func (m *ResTx) GetTxs() []*Tx
- func (*ResTx) ProtoMessage()
- func (m *ResTx) Reset()
- func (m *ResTx) String() string
- func (m *ResTx) XXX_DiscardUnknown()
- func (m *ResTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResTx) XXX_Merge(src proto.Message)
- func (m *ResTx) XXX_Size() int
- func (m *ResTx) XXX_Unmarshal(b []byte) error
- type RespAddrByPriv
- func (*RespAddrByPriv) Descriptor() ([]byte, []int)
- func (m *RespAddrByPriv) GetAddr() string
- func (*RespAddrByPriv) ProtoMessage()
- func (m *RespAddrByPriv) Reset()
- func (m *RespAddrByPriv) String() string
- func (m *RespAddrByPriv) XXX_DiscardUnknown()
- func (m *RespAddrByPriv) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RespAddrByPriv) XXX_Merge(src proto.Message)
- func (m *RespAddrByPriv) XXX_Size() int
- func (m *RespAddrByPriv) XXX_Unmarshal(b []byte) error
- type RespBlock
- func (*RespBlock) Descriptor() ([]byte, []int)
- func (m *RespBlock) GetHash() string
- func (m *RespBlock) GetHeight() uint64
- func (m *RespBlock) GetMiner() string
- func (m *RespBlock) GetPrevBlockHash() string
- func (m *RespBlock) GetRoot() string
- func (m *RespBlock) GetTimestamp() int64
- func (m *RespBlock) GetTxs() []*Tx
- func (m *RespBlock) GetVersion() uint64
- func (*RespBlock) ProtoMessage()
- func (m *RespBlock) Reset()
- func (m *RespBlock) String() string
- func (m *RespBlock) XXX_DiscardUnknown()
- func (m *RespBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RespBlock) XXX_Merge(src proto.Message)
- func (m *RespBlock) XXX_Size() int
- func (m *RespBlock) XXX_Unmarshal(b []byte) error
- type RespCreateAddr
- func (*RespCreateAddr) Descriptor() ([]byte, []int)
- func (m *RespCreateAddr) GetAddress() string
- func (m *RespCreateAddr) GetPrivkey() string
- func (*RespCreateAddr) ProtoMessage()
- func (m *RespCreateAddr) Reset()
- func (m *RespCreateAddr) String() string
- func (m *RespCreateAddr) XXX_DiscardUnknown()
- func (m *RespCreateAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RespCreateAddr) XXX_Merge(src proto.Message)
- func (m *RespCreateAddr) XXX_Size() int
- func (m *RespCreateAddr) XXX_Unmarshal(b []byte) error
- type RespMaxBlockNumber
- func (*RespMaxBlockNumber) Descriptor() ([]byte, []int)
- func (m *RespMaxBlockNumber) GetMaxNumber() uint64
- func (*RespMaxBlockNumber) ProtoMessage()
- func (m *RespMaxBlockNumber) Reset()
- func (m *RespMaxBlockNumber) String() string
- func (m *RespMaxBlockNumber) XXX_DiscardUnknown()
- func (m *RespMaxBlockNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RespMaxBlockNumber) XXX_Merge(src proto.Message)
- func (m *RespMaxBlockNumber) XXX_Size() int
- func (m *RespMaxBlockNumber) XXX_Unmarshal(b []byte) error
- type RespSignedTransaction
- func (*RespSignedTransaction) Descriptor() ([]byte, []int)
- func (m *RespSignedTransaction) GetHash() string
- func (*RespSignedTransaction) ProtoMessage()
- func (m *RespSignedTransaction) Reset()
- func (m *RespSignedTransaction) String() string
- func (m *RespSignedTransaction) XXX_DiscardUnknown()
- func (m *RespSignedTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RespSignedTransaction) XXX_Merge(src proto.Message)
- func (m *RespSignedTransaction) XXX_Size() int
- func (m *RespSignedTransaction) XXX_Unmarshal(b []byte) error
- type ResposeNonce
- func (*ResposeNonce) Descriptor() ([]byte, []int)
- func (m *ResposeNonce) GetNonce() uint64
- func (*ResposeNonce) ProtoMessage()
- func (m *ResposeNonce) Reset()
- func (m *ResposeNonce) String() string
- func (m *ResposeNonce) XXX_DiscardUnknown()
- func (m *ResposeNonce) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResposeNonce) XXX_Merge(src proto.Message)
- func (m *ResposeNonce) XXX_Size() int
- func (m *ResposeNonce) XXX_Unmarshal(b []byte) error
- type ResposeTxs
- func (*ResposeTxs) Descriptor() ([]byte, []int)
- func (m *ResposeTxs) GetTxs() []*Tx
- func (*ResposeTxs) ProtoMessage()
- func (m *ResposeTxs) Reset()
- func (m *ResposeTxs) String() string
- func (m *ResposeTxs) XXX_DiscardUnknown()
- func (m *ResposeTxs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResposeTxs) XXX_Merge(src proto.Message)
- func (m *ResposeTxs) XXX_Size() int
- func (m *ResposeTxs) XXX_Unmarshal(b []byte) error
- type Tx
- func (*Tx) Descriptor() ([]byte, []int)
- func (m *Tx) GetAmount() uint64
- func (m *Tx) GetFrom() string
- func (m *Tx) GetHash() string
- func (m *Tx) GetNonce() uint64
- func (m *Tx) GetSignature() string
- func (m *Tx) GetTime() int64
- func (m *Tx) GetTo() string
- func (*Tx) ProtoMessage()
- func (m *Tx) Reset()
- func (m *Tx) String() string
- func (m *Tx) XXX_DiscardUnknown()
- func (m *Tx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Tx) XXX_Merge(src proto.Message)
- func (m *Tx) XXX_Size() int
- func (m *Tx) XXX_Unmarshal(b []byte) error
- type UnimplementedGreeterServer
- func (*UnimplementedGreeterServer) CreateAddr(ctx context.Context, req *ReqCreateAddr) (*RespCreateAddr, error)
- func (*UnimplementedGreeterServer) GetAddrByPriv(ctx context.Context, req *ReqAddrByPriv) (*RespAddrByPriv, error)
- func (*UnimplementedGreeterServer) GetAddressNonceAt(ctx context.Context, req *ReqNonce) (*ResposeNonce, error)
- func (*UnimplementedGreeterServer) GetBalance(ctx context.Context, req *ReqBalance) (*ResBalance, error)
- func (*UnimplementedGreeterServer) GetBlockByNum(ctx context.Context, req *ReqBlockByNumber) (*RespBlock, error)
- func (*UnimplementedGreeterServer) GetMaxBlockNumber(ctx context.Context, req *ReqMaxBlockNumber) (*RespMaxBlockNumber, error)
- func (*UnimplementedGreeterServer) GetTxByHash(ctx context.Context, req *ReqTxByHash) (*Tx, error)
- func (*UnimplementedGreeterServer) GetTxsByAddr(ctx context.Context, req *ReqTx) (*ResposeTxs, error)
- func (*UnimplementedGreeterServer) SendSignedTransaction(ctx context.Context, req *ReqSignedTransaction) (*RespSignedTransaction, error)
- func (*UnimplementedGreeterServer) SendTransaction(ctx context.Context, req *ReqTransaction) (*ResTransaction, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterGreeterServer ¶
func RegisterGreeterServer(s *grpc.Server, srv GreeterServer)
Types ¶
type GreeterClient ¶
type GreeterClient interface {
SendTransaction(ctx context.Context, in *ReqTransaction, opts ...grpc.CallOption) (*ResTransaction, error)
SendSignedTransaction(ctx context.Context, in *ReqSignedTransaction, opts ...grpc.CallOption) (*RespSignedTransaction, error)
GetAddressNonceAt(ctx context.Context, in *ReqNonce, opts ...grpc.CallOption) (*ResposeNonce, error)
GetTxByHash(ctx context.Context, in *ReqTxByHash, opts ...grpc.CallOption) (*Tx, error)
GetTxsByAddr(ctx context.Context, in *ReqTx, opts ...grpc.CallOption) (*ResposeTxs, error)
GetBlockByNum(ctx context.Context, in *ReqBlockByNumber, opts ...grpc.CallOption) (*RespBlock, error)
GetBalance(ctx context.Context, in *ReqBalance, opts ...grpc.CallOption) (*ResBalance, error)
CreateAddr(ctx context.Context, in *ReqCreateAddr, opts ...grpc.CallOption) (*RespCreateAddr, error)
GetAddrByPriv(ctx context.Context, in *ReqAddrByPriv, opts ...grpc.CallOption) (*RespAddrByPriv, error)
GetMaxBlockNumber(ctx context.Context, in *ReqMaxBlockNumber, opts ...grpc.CallOption) (*RespMaxBlockNumber, error)
}
GreeterClient is the client API for Greeter service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewGreeterClient ¶
func NewGreeterClient(cc grpc.ClientConnInterface) GreeterClient
type GreeterServer ¶
type GreeterServer interface {
SendTransaction(context.Context, *ReqTransaction) (*ResTransaction, error)
SendSignedTransaction(context.Context, *ReqSignedTransaction) (*RespSignedTransaction, error)
GetAddressNonceAt(context.Context, *ReqNonce) (*ResposeNonce, error)
GetTxByHash(context.Context, *ReqTxByHash) (*Tx, error)
GetTxsByAddr(context.Context, *ReqTx) (*ResposeTxs, error)
GetBlockByNum(context.Context, *ReqBlockByNumber) (*RespBlock, error)
GetBalance(context.Context, *ReqBalance) (*ResBalance, error)
CreateAddr(context.Context, *ReqCreateAddr) (*RespCreateAddr, error)
GetAddrByPriv(context.Context, *ReqAddrByPriv) (*RespAddrByPriv, error)
GetMaxBlockNumber(context.Context, *ReqMaxBlockNumber) (*RespMaxBlockNumber, error)
}
GreeterServer is the server API for Greeter service.
type ReqAddrByPriv ¶
type ReqAddrByPriv struct {
Priv string `protobuf:"bytes,1,opt,name=priv,proto3" json:"priv,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReqAddrByPriv) Descriptor ¶
func (*ReqAddrByPriv) Descriptor() ([]byte, []int)
func (*ReqAddrByPriv) GetPriv ¶
func (m *ReqAddrByPriv) GetPriv() string
func (*ReqAddrByPriv) ProtoMessage ¶
func (*ReqAddrByPriv) ProtoMessage()
func (*ReqAddrByPriv) Reset ¶
func (m *ReqAddrByPriv) Reset()
func (*ReqAddrByPriv) String ¶
func (m *ReqAddrByPriv) String() string
func (*ReqAddrByPriv) XXX_DiscardUnknown ¶
func (m *ReqAddrByPriv) XXX_DiscardUnknown()
func (*ReqAddrByPriv) XXX_Marshal ¶
func (m *ReqAddrByPriv) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqAddrByPriv) XXX_Merge ¶
func (m *ReqAddrByPriv) XXX_Merge(src proto.Message)
func (*ReqAddrByPriv) XXX_Size ¶
func (m *ReqAddrByPriv) XXX_Size() int
func (*ReqAddrByPriv) XXX_Unmarshal ¶
func (m *ReqAddrByPriv) XXX_Unmarshal(b []byte) error
type ReqBalance ¶
type ReqBalance struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReqBalance) Descriptor ¶
func (*ReqBalance) Descriptor() ([]byte, []int)
func (*ReqBalance) GetAddress ¶
func (m *ReqBalance) GetAddress() string
func (*ReqBalance) ProtoMessage ¶
func (*ReqBalance) ProtoMessage()
func (*ReqBalance) Reset ¶
func (m *ReqBalance) Reset()
func (*ReqBalance) String ¶
func (m *ReqBalance) String() string
func (*ReqBalance) XXX_DiscardUnknown ¶
func (m *ReqBalance) XXX_DiscardUnknown()
func (*ReqBalance) XXX_Marshal ¶
func (m *ReqBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqBalance) XXX_Merge ¶
func (m *ReqBalance) XXX_Merge(src proto.Message)
func (*ReqBalance) XXX_Size ¶
func (m *ReqBalance) XXX_Size() int
func (*ReqBalance) XXX_Unmarshal ¶
func (m *ReqBalance) XXX_Unmarshal(b []byte) error
type ReqBlockByHash ¶
type ReqBlockByHash struct {
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReqBlockByHash) Descriptor ¶
func (*ReqBlockByHash) Descriptor() ([]byte, []int)
func (*ReqBlockByHash) GetHash ¶
func (m *ReqBlockByHash) GetHash() string
func (*ReqBlockByHash) ProtoMessage ¶
func (*ReqBlockByHash) ProtoMessage()
func (*ReqBlockByHash) Reset ¶
func (m *ReqBlockByHash) Reset()
func (*ReqBlockByHash) String ¶
func (m *ReqBlockByHash) String() string
func (*ReqBlockByHash) XXX_DiscardUnknown ¶
func (m *ReqBlockByHash) XXX_DiscardUnknown()
func (*ReqBlockByHash) XXX_Marshal ¶
func (m *ReqBlockByHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqBlockByHash) XXX_Merge ¶
func (m *ReqBlockByHash) XXX_Merge(src proto.Message)
func (*ReqBlockByHash) XXX_Size ¶
func (m *ReqBlockByHash) XXX_Size() int
func (*ReqBlockByHash) XXX_Unmarshal ¶
func (m *ReqBlockByHash) XXX_Unmarshal(b []byte) error
type ReqBlockByNumber ¶
type ReqBlockByNumber struct {
Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReqBlockByNumber) Descriptor ¶
func (*ReqBlockByNumber) Descriptor() ([]byte, []int)
func (*ReqBlockByNumber) GetHeight ¶
func (m *ReqBlockByNumber) GetHeight() uint64
func (*ReqBlockByNumber) ProtoMessage ¶
func (*ReqBlockByNumber) ProtoMessage()
func (*ReqBlockByNumber) Reset ¶
func (m *ReqBlockByNumber) Reset()
func (*ReqBlockByNumber) String ¶
func (m *ReqBlockByNumber) String() string
func (*ReqBlockByNumber) XXX_DiscardUnknown ¶
func (m *ReqBlockByNumber) XXX_DiscardUnknown()
func (*ReqBlockByNumber) XXX_Marshal ¶
func (m *ReqBlockByNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqBlockByNumber) XXX_Merge ¶
func (m *ReqBlockByNumber) XXX_Merge(src proto.Message)
func (*ReqBlockByNumber) XXX_Size ¶
func (m *ReqBlockByNumber) XXX_Size() int
func (*ReqBlockByNumber) XXX_Unmarshal ¶
func (m *ReqBlockByNumber) XXX_Unmarshal(b []byte) error
type ReqCreateAddr ¶
type ReqCreateAddr struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReqCreateAddr) Descriptor ¶
func (*ReqCreateAddr) Descriptor() ([]byte, []int)
func (*ReqCreateAddr) ProtoMessage ¶
func (*ReqCreateAddr) ProtoMessage()
func (*ReqCreateAddr) Reset ¶
func (m *ReqCreateAddr) Reset()
func (*ReqCreateAddr) String ¶
func (m *ReqCreateAddr) String() string
func (*ReqCreateAddr) XXX_DiscardUnknown ¶
func (m *ReqCreateAddr) XXX_DiscardUnknown()
func (*ReqCreateAddr) XXX_Marshal ¶
func (m *ReqCreateAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqCreateAddr) XXX_Merge ¶
func (m *ReqCreateAddr) XXX_Merge(src proto.Message)
func (*ReqCreateAddr) XXX_Size ¶
func (m *ReqCreateAddr) XXX_Size() int
func (*ReqCreateAddr) XXX_Unmarshal ¶
func (m *ReqCreateAddr) XXX_Unmarshal(b []byte) error
type ReqMaxBlockNumber ¶
type ReqMaxBlockNumber struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReqMaxBlockNumber) Descriptor ¶
func (*ReqMaxBlockNumber) Descriptor() ([]byte, []int)
func (*ReqMaxBlockNumber) ProtoMessage ¶
func (*ReqMaxBlockNumber) ProtoMessage()
func (*ReqMaxBlockNumber) Reset ¶
func (m *ReqMaxBlockNumber) Reset()
func (*ReqMaxBlockNumber) String ¶
func (m *ReqMaxBlockNumber) String() string
func (*ReqMaxBlockNumber) XXX_DiscardUnknown ¶
func (m *ReqMaxBlockNumber) XXX_DiscardUnknown()
func (*ReqMaxBlockNumber) XXX_Marshal ¶
func (m *ReqMaxBlockNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqMaxBlockNumber) XXX_Merge ¶
func (m *ReqMaxBlockNumber) XXX_Merge(src proto.Message)
func (*ReqMaxBlockNumber) XXX_Size ¶
func (m *ReqMaxBlockNumber) XXX_Size() int
func (*ReqMaxBlockNumber) XXX_Unmarshal ¶
func (m *ReqMaxBlockNumber) XXX_Unmarshal(b []byte) error
type ReqNonce ¶
type ReqNonce struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReqNonce) Descriptor ¶
func (*ReqNonce) GetAddress ¶
func (*ReqNonce) ProtoMessage ¶
func (*ReqNonce) ProtoMessage()
func (*ReqNonce) XXX_DiscardUnknown ¶
func (m *ReqNonce) XXX_DiscardUnknown()
func (*ReqNonce) XXX_Marshal ¶
func (*ReqNonce) XXX_Unmarshal ¶
type ReqSignedTransaction ¶
type ReqSignedTransaction struct {
From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
Nonce uint64 `protobuf:"varint,4,opt,name=nonce,proto3" json:"nonce,omitempty"`
Time int64 `protobuf:"varint,5,opt,name=time,proto3" json:"time,omitempty"`
Hash []byte `protobuf:"bytes,6,opt,name=hash,proto3" json:"hash,omitempty"`
Signature []byte `protobuf:"bytes,7,opt,name=signature,proto3" json:"signature,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReqSignedTransaction) Descriptor ¶
func (*ReqSignedTransaction) Descriptor() ([]byte, []int)
func (*ReqSignedTransaction) GetAmount ¶
func (m *ReqSignedTransaction) GetAmount() uint64
func (*ReqSignedTransaction) GetFrom ¶
func (m *ReqSignedTransaction) GetFrom() string
func (*ReqSignedTransaction) GetHash ¶
func (m *ReqSignedTransaction) GetHash() []byte
func (*ReqSignedTransaction) GetNonce ¶
func (m *ReqSignedTransaction) GetNonce() uint64
func (*ReqSignedTransaction) GetSignature ¶
func (m *ReqSignedTransaction) GetSignature() []byte
func (*ReqSignedTransaction) GetTime ¶
func (m *ReqSignedTransaction) GetTime() int64
func (*ReqSignedTransaction) GetTo ¶
func (m *ReqSignedTransaction) GetTo() string
func (*ReqSignedTransaction) ProtoMessage ¶
func (*ReqSignedTransaction) ProtoMessage()
func (*ReqSignedTransaction) Reset ¶
func (m *ReqSignedTransaction) Reset()
func (*ReqSignedTransaction) String ¶
func (m *ReqSignedTransaction) String() string
func (*ReqSignedTransaction) XXX_DiscardUnknown ¶
func (m *ReqSignedTransaction) XXX_DiscardUnknown()
func (*ReqSignedTransaction) XXX_Marshal ¶
func (m *ReqSignedTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqSignedTransaction) XXX_Merge ¶
func (m *ReqSignedTransaction) XXX_Merge(src proto.Message)
func (*ReqSignedTransaction) XXX_Size ¶
func (m *ReqSignedTransaction) XXX_Size() int
func (*ReqSignedTransaction) XXX_Unmarshal ¶
func (m *ReqSignedTransaction) XXX_Unmarshal(b []byte) error
type ReqTransaction ¶
type ReqTransaction struct {
From string `protobuf:"bytes,1,opt,name=From,proto3" json:"From,omitempty"`
To string `protobuf:"bytes,2,opt,name=To,proto3" json:"To,omitempty"`
Amount uint64 `protobuf:"varint,3,opt,name=Amount,proto3" json:"Amount,omitempty"`
Nonce uint64 `protobuf:"varint,4,opt,name=Nonce,proto3" json:"Nonce,omitempty"`
Priv string `protobuf:"bytes,5,opt,name=Priv,proto3" json:"Priv,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReqTransaction) Descriptor ¶
func (*ReqTransaction) Descriptor() ([]byte, []int)
func (*ReqTransaction) GetAmount ¶
func (m *ReqTransaction) GetAmount() uint64
func (*ReqTransaction) GetFrom ¶
func (m *ReqTransaction) GetFrom() string
func (*ReqTransaction) GetNonce ¶
func (m *ReqTransaction) GetNonce() uint64
func (*ReqTransaction) GetPriv ¶
func (m *ReqTransaction) GetPriv() string
func (*ReqTransaction) GetTo ¶
func (m *ReqTransaction) GetTo() string
func (*ReqTransaction) ProtoMessage ¶
func (*ReqTransaction) ProtoMessage()
func (*ReqTransaction) Reset ¶
func (m *ReqTransaction) Reset()
func (*ReqTransaction) String ¶
func (m *ReqTransaction) String() string
func (*ReqTransaction) XXX_DiscardUnknown ¶
func (m *ReqTransaction) XXX_DiscardUnknown()
func (*ReqTransaction) XXX_Marshal ¶
func (m *ReqTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqTransaction) XXX_Merge ¶
func (m *ReqTransaction) XXX_Merge(src proto.Message)
func (*ReqTransaction) XXX_Size ¶
func (m *ReqTransaction) XXX_Size() int
func (*ReqTransaction) XXX_Unmarshal ¶
func (m *ReqTransaction) XXX_Unmarshal(b []byte) error
type ReqTx ¶
type ReqTx struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReqTx) Descriptor ¶
func (*ReqTx) GetAddress ¶
func (*ReqTx) ProtoMessage ¶
func (*ReqTx) ProtoMessage()
func (*ReqTx) XXX_DiscardUnknown ¶
func (m *ReqTx) XXX_DiscardUnknown()
func (*ReqTx) XXX_Marshal ¶
func (*ReqTx) XXX_Unmarshal ¶
type ReqTxByHash ¶
type ReqTxByHash struct {
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReqTxByHash) Descriptor ¶
func (*ReqTxByHash) Descriptor() ([]byte, []int)
func (*ReqTxByHash) GetHash ¶
func (m *ReqTxByHash) GetHash() string
func (*ReqTxByHash) ProtoMessage ¶
func (*ReqTxByHash) ProtoMessage()
func (*ReqTxByHash) Reset ¶
func (m *ReqTxByHash) Reset()
func (*ReqTxByHash) String ¶
func (m *ReqTxByHash) String() string
func (*ReqTxByHash) XXX_DiscardUnknown ¶
func (m *ReqTxByHash) XXX_DiscardUnknown()
func (*ReqTxByHash) XXX_Marshal ¶
func (m *ReqTxByHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqTxByHash) XXX_Merge ¶
func (m *ReqTxByHash) XXX_Merge(src proto.Message)
func (*ReqTxByHash) XXX_Size ¶
func (m *ReqTxByHash) XXX_Size() int
func (*ReqTxByHash) XXX_Unmarshal ¶
func (m *ReqTxByHash) XXX_Unmarshal(b []byte) error
type ResBalance ¶
type ResBalance struct {
Balnce uint64 `protobuf:"varint,1,opt,name=balnce,proto3" json:"balnce,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ResBalance) Descriptor ¶
func (*ResBalance) Descriptor() ([]byte, []int)
func (*ResBalance) GetBalnce ¶
func (m *ResBalance) GetBalnce() uint64
func (*ResBalance) ProtoMessage ¶
func (*ResBalance) ProtoMessage()
func (*ResBalance) Reset ¶
func (m *ResBalance) Reset()
func (*ResBalance) String ¶
func (m *ResBalance) String() string
func (*ResBalance) XXX_DiscardUnknown ¶
func (m *ResBalance) XXX_DiscardUnknown()
func (*ResBalance) XXX_Marshal ¶
func (m *ResBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResBalance) XXX_Merge ¶
func (m *ResBalance) XXX_Merge(src proto.Message)
func (*ResBalance) XXX_Size ¶
func (m *ResBalance) XXX_Size() int
func (*ResBalance) XXX_Unmarshal ¶
func (m *ResBalance) XXX_Unmarshal(b []byte) error
type ResTransaction ¶
type ResTransaction struct {
Hash string `protobuf:"bytes,1,opt,name=Hash,proto3" json:"Hash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ResTransaction) Descriptor ¶
func (*ResTransaction) Descriptor() ([]byte, []int)
func (*ResTransaction) GetHash ¶
func (m *ResTransaction) GetHash() string
func (*ResTransaction) ProtoMessage ¶
func (*ResTransaction) ProtoMessage()
func (*ResTransaction) Reset ¶
func (m *ResTransaction) Reset()
func (*ResTransaction) String ¶
func (m *ResTransaction) String() string
func (*ResTransaction) XXX_DiscardUnknown ¶
func (m *ResTransaction) XXX_DiscardUnknown()
func (*ResTransaction) XXX_Marshal ¶
func (m *ResTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResTransaction) XXX_Merge ¶
func (m *ResTransaction) XXX_Merge(src proto.Message)
func (*ResTransaction) XXX_Size ¶
func (m *ResTransaction) XXX_Size() int
func (*ResTransaction) XXX_Unmarshal ¶
func (m *ResTransaction) XXX_Unmarshal(b []byte) error
type ResTx ¶
type ResTx struct {
Txs []*Tx `protobuf:"bytes,1,rep,name=Txs,proto3" json:"Txs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ResTx) Descriptor ¶
func (*ResTx) ProtoMessage ¶
func (*ResTx) ProtoMessage()
func (*ResTx) XXX_DiscardUnknown ¶
func (m *ResTx) XXX_DiscardUnknown()
func (*ResTx) XXX_Marshal ¶
func (*ResTx) XXX_Unmarshal ¶
type RespAddrByPriv ¶
type RespAddrByPriv struct {
Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RespAddrByPriv) Descriptor ¶
func (*RespAddrByPriv) Descriptor() ([]byte, []int)
func (*RespAddrByPriv) GetAddr ¶
func (m *RespAddrByPriv) GetAddr() string
func (*RespAddrByPriv) ProtoMessage ¶
func (*RespAddrByPriv) ProtoMessage()
func (*RespAddrByPriv) Reset ¶
func (m *RespAddrByPriv) Reset()
func (*RespAddrByPriv) String ¶
func (m *RespAddrByPriv) String() string
func (*RespAddrByPriv) XXX_DiscardUnknown ¶
func (m *RespAddrByPriv) XXX_DiscardUnknown()
func (*RespAddrByPriv) XXX_Marshal ¶
func (m *RespAddrByPriv) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RespAddrByPriv) XXX_Merge ¶
func (m *RespAddrByPriv) XXX_Merge(src proto.Message)
func (*RespAddrByPriv) XXX_Size ¶
func (m *RespAddrByPriv) XXX_Size() int
func (*RespAddrByPriv) XXX_Unmarshal ¶
func (m *RespAddrByPriv) XXX_Unmarshal(b []byte) error
type RespBlock ¶
type RespBlock struct {
Height uint64 `protobuf:"varint,1,opt,name=Height,proto3" json:"Height,omitempty"`
PrevBlockHash string `protobuf:"bytes,2,opt,name=PrevBlockHash,proto3" json:"PrevBlockHash,omitempty"`
Txs []*Tx `protobuf:"bytes,3,rep,name=Txs,proto3" json:"Txs,omitempty"`
Root string `protobuf:"bytes,4,opt,name=Root,proto3" json:"Root,omitempty"`
Version uint64 `protobuf:"varint,5,opt,name=Version,proto3" json:"Version,omitempty"`
Timestamp int64 `protobuf:"varint,6,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
Hash string `protobuf:"bytes,7,opt,name=Hash,proto3" json:"Hash,omitempty"`
Miner string `protobuf:"bytes,8,opt,name=Miner,proto3" json:"Miner,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RespBlock) Descriptor ¶
func (*RespBlock) GetPrevBlockHash ¶
func (*RespBlock) GetTimestamp ¶
func (*RespBlock) GetVersion ¶
func (*RespBlock) ProtoMessage ¶
func (*RespBlock) ProtoMessage()
func (*RespBlock) XXX_DiscardUnknown ¶
func (m *RespBlock) XXX_DiscardUnknown()
func (*RespBlock) XXX_Marshal ¶
func (*RespBlock) XXX_Unmarshal ¶
type RespCreateAddr ¶
type RespCreateAddr struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Privkey string `protobuf:"bytes,2,opt,name=privkey,proto3" json:"privkey,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RespCreateAddr) Descriptor ¶
func (*RespCreateAddr) Descriptor() ([]byte, []int)
func (*RespCreateAddr) GetAddress ¶
func (m *RespCreateAddr) GetAddress() string
func (*RespCreateAddr) GetPrivkey ¶
func (m *RespCreateAddr) GetPrivkey() string
func (*RespCreateAddr) ProtoMessage ¶
func (*RespCreateAddr) ProtoMessage()
func (*RespCreateAddr) Reset ¶
func (m *RespCreateAddr) Reset()
func (*RespCreateAddr) String ¶
func (m *RespCreateAddr) String() string
func (*RespCreateAddr) XXX_DiscardUnknown ¶
func (m *RespCreateAddr) XXX_DiscardUnknown()
func (*RespCreateAddr) XXX_Marshal ¶
func (m *RespCreateAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RespCreateAddr) XXX_Merge ¶
func (m *RespCreateAddr) XXX_Merge(src proto.Message)
func (*RespCreateAddr) XXX_Size ¶
func (m *RespCreateAddr) XXX_Size() int
func (*RespCreateAddr) XXX_Unmarshal ¶
func (m *RespCreateAddr) XXX_Unmarshal(b []byte) error
type RespMaxBlockNumber ¶
type RespMaxBlockNumber struct {
MaxNumber uint64 `protobuf:"varint,1,opt,name=maxNumber,proto3" json:"maxNumber,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RespMaxBlockNumber) Descriptor ¶
func (*RespMaxBlockNumber) Descriptor() ([]byte, []int)
func (*RespMaxBlockNumber) GetMaxNumber ¶
func (m *RespMaxBlockNumber) GetMaxNumber() uint64
func (*RespMaxBlockNumber) ProtoMessage ¶
func (*RespMaxBlockNumber) ProtoMessage()
func (*RespMaxBlockNumber) Reset ¶
func (m *RespMaxBlockNumber) Reset()
func (*RespMaxBlockNumber) String ¶
func (m *RespMaxBlockNumber) String() string
func (*RespMaxBlockNumber) XXX_DiscardUnknown ¶
func (m *RespMaxBlockNumber) XXX_DiscardUnknown()
func (*RespMaxBlockNumber) XXX_Marshal ¶
func (m *RespMaxBlockNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RespMaxBlockNumber) XXX_Merge ¶
func (m *RespMaxBlockNumber) XXX_Merge(src proto.Message)
func (*RespMaxBlockNumber) XXX_Size ¶
func (m *RespMaxBlockNumber) XXX_Size() int
func (*RespMaxBlockNumber) XXX_Unmarshal ¶
func (m *RespMaxBlockNumber) XXX_Unmarshal(b []byte) error
type RespSignedTransaction ¶
type RespSignedTransaction struct {
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RespSignedTransaction) Descriptor ¶
func (*RespSignedTransaction) Descriptor() ([]byte, []int)
func (*RespSignedTransaction) GetHash ¶
func (m *RespSignedTransaction) GetHash() string
func (*RespSignedTransaction) ProtoMessage ¶
func (*RespSignedTransaction) ProtoMessage()
func (*RespSignedTransaction) Reset ¶
func (m *RespSignedTransaction) Reset()
func (*RespSignedTransaction) String ¶
func (m *RespSignedTransaction) String() string
func (*RespSignedTransaction) XXX_DiscardUnknown ¶
func (m *RespSignedTransaction) XXX_DiscardUnknown()
func (*RespSignedTransaction) XXX_Marshal ¶
func (m *RespSignedTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RespSignedTransaction) XXX_Merge ¶
func (m *RespSignedTransaction) XXX_Merge(src proto.Message)
func (*RespSignedTransaction) XXX_Size ¶
func (m *RespSignedTransaction) XXX_Size() int
func (*RespSignedTransaction) XXX_Unmarshal ¶
func (m *RespSignedTransaction) XXX_Unmarshal(b []byte) error
type ResposeNonce ¶
type ResposeNonce 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 (*ResposeNonce) Descriptor ¶
func (*ResposeNonce) Descriptor() ([]byte, []int)
func (*ResposeNonce) GetNonce ¶
func (m *ResposeNonce) GetNonce() uint64
func (*ResposeNonce) ProtoMessage ¶
func (*ResposeNonce) ProtoMessage()
func (*ResposeNonce) Reset ¶
func (m *ResposeNonce) Reset()
func (*ResposeNonce) String ¶
func (m *ResposeNonce) String() string
func (*ResposeNonce) XXX_DiscardUnknown ¶
func (m *ResposeNonce) XXX_DiscardUnknown()
func (*ResposeNonce) XXX_Marshal ¶
func (m *ResposeNonce) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResposeNonce) XXX_Merge ¶
func (m *ResposeNonce) XXX_Merge(src proto.Message)
func (*ResposeNonce) XXX_Size ¶
func (m *ResposeNonce) XXX_Size() int
func (*ResposeNonce) XXX_Unmarshal ¶
func (m *ResposeNonce) XXX_Unmarshal(b []byte) error
type ResposeTxs ¶
type ResposeTxs struct {
Txs []*Tx `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ResposeTxs) Descriptor ¶
func (*ResposeTxs) Descriptor() ([]byte, []int)
func (*ResposeTxs) GetTxs ¶
func (m *ResposeTxs) GetTxs() []*Tx
func (*ResposeTxs) ProtoMessage ¶
func (*ResposeTxs) ProtoMessage()
func (*ResposeTxs) Reset ¶
func (m *ResposeTxs) Reset()
func (*ResposeTxs) String ¶
func (m *ResposeTxs) String() string
func (*ResposeTxs) XXX_DiscardUnknown ¶
func (m *ResposeTxs) XXX_DiscardUnknown()
func (*ResposeTxs) XXX_Marshal ¶
func (m *ResposeTxs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResposeTxs) XXX_Merge ¶
func (m *ResposeTxs) XXX_Merge(src proto.Message)
func (*ResposeTxs) XXX_Size ¶
func (m *ResposeTxs) XXX_Size() int
func (*ResposeTxs) XXX_Unmarshal ¶
func (m *ResposeTxs) XXX_Unmarshal(b []byte) error
type Tx ¶
type Tx struct {
Nonce uint64 `protobuf:"varint,1,opt,name=Nonce,proto3" json:"Nonce,omitempty"`
Amount uint64 `protobuf:"varint,2,opt,name=Amount,proto3" json:"Amount,omitempty"`
From string `protobuf:"bytes,3,opt,name=From,proto3" json:"From,omitempty"`
To string `protobuf:"bytes,4,opt,name=To,proto3" json:"To,omitempty"`
Hash string `protobuf:"bytes,5,opt,name=Hash,proto3" json:"Hash,omitempty"`
Signature string `protobuf:"bytes,6,opt,name=Signature,proto3" json:"Signature,omitempty"`
Time int64 `protobuf:"varint,7,opt,name=Time,proto3" json:"Time,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Tx) Descriptor ¶
func (*Tx) GetSignature ¶
func (*Tx) ProtoMessage ¶
func (*Tx) ProtoMessage()
func (*Tx) XXX_DiscardUnknown ¶
func (m *Tx) XXX_DiscardUnknown()
func (*Tx) XXX_Unmarshal ¶
type UnimplementedGreeterServer ¶
type UnimplementedGreeterServer struct {
}
UnimplementedGreeterServer can be embedded to have forward compatible implementations.
func (*UnimplementedGreeterServer) CreateAddr ¶
func (*UnimplementedGreeterServer) CreateAddr(ctx context.Context, req *ReqCreateAddr) (*RespCreateAddr, error)
func (*UnimplementedGreeterServer) GetAddrByPriv ¶
func (*UnimplementedGreeterServer) GetAddrByPriv(ctx context.Context, req *ReqAddrByPriv) (*RespAddrByPriv, error)
func (*UnimplementedGreeterServer) GetAddressNonceAt ¶
func (*UnimplementedGreeterServer) GetAddressNonceAt(ctx context.Context, req *ReqNonce) (*ResposeNonce, error)
func (*UnimplementedGreeterServer) GetBalance ¶
func (*UnimplementedGreeterServer) GetBalance(ctx context.Context, req *ReqBalance) (*ResBalance, error)
func (*UnimplementedGreeterServer) GetBlockByNum ¶
func (*UnimplementedGreeterServer) GetBlockByNum(ctx context.Context, req *ReqBlockByNumber) (*RespBlock, error)
func (*UnimplementedGreeterServer) GetMaxBlockNumber ¶
func (*UnimplementedGreeterServer) GetMaxBlockNumber(ctx context.Context, req *ReqMaxBlockNumber) (*RespMaxBlockNumber, error)
func (*UnimplementedGreeterServer) GetTxByHash ¶
func (*UnimplementedGreeterServer) GetTxByHash(ctx context.Context, req *ReqTxByHash) (*Tx, error)
func (*UnimplementedGreeterServer) GetTxsByAddr ¶
func (*UnimplementedGreeterServer) GetTxsByAddr(ctx context.Context, req *ReqTx) (*ResposeTxs, error)
func (*UnimplementedGreeterServer) SendSignedTransaction ¶
func (*UnimplementedGreeterServer) SendSignedTransaction(ctx context.Context, req *ReqSignedTransaction) (*RespSignedTransaction, error)
func (*UnimplementedGreeterServer) SendTransaction ¶
func (*UnimplementedGreeterServer) SendTransaction(ctx context.Context, req *ReqTransaction) (*ResTransaction, error)
Click to show internal directories.
Click to hide internal directories.