Documentation ¶
Index ¶
- func RegisterAccountContractHistoryServer(s *grpc.Server, srv AccountContractHistoryServer)
- func RegisterAccountHistoryServer(s *grpc.Server, srv AccountHistoryServer)
- type AccountContractHistoryClient
- type AccountContractHistoryServer
- type AccountContractHistory_GetAccountContractActionsClient
- type AccountContractHistory_GetAccountContractActionsServer
- type AccountHistoryClient
- type AccountHistoryServer
- type AccountHistory_GetActionsClient
- type AccountHistory_GetActionsServer
- type ActionResponse
- func (*ActionResponse) Descriptor() ([]byte, []int)
- func (m *ActionResponse) GetActionTrace() *v1.ActionTrace
- func (m *ActionResponse) GetCursor() *Cursor
- func (*ActionResponse) ProtoMessage()
- func (m *ActionResponse) Reset()
- func (m *ActionResponse) String() string
- func (m *ActionResponse) XXX_DiscardUnknown()
- func (m *ActionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ActionResponse) XXX_Merge(src proto.Message)
- func (m *ActionResponse) XXX_Size() int
- func (m *ActionResponse) XXX_Unmarshal(b []byte) error
- type ActionRow
- func (*ActionRow) Descriptor() ([]byte, []int)
- func (m *ActionRow) GetActionTrace() *v1.ActionTrace
- func (m *ActionRow) GetLastDeletedSeq() uint64
- func (m *ActionRow) GetVersion() uint32
- func (*ActionRow) ProtoMessage()
- func (m *ActionRow) Reset()
- func (m *ActionRow) String() string
- func (m *ActionRow) XXX_DiscardUnknown()
- func (m *ActionRow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ActionRow) XXX_Merge(src proto.Message)
- func (m *ActionRow) XXX_Size() int
- func (m *ActionRow) XXX_Unmarshal(b []byte) error
- type ActionRowAppend
- func (*ActionRowAppend) Descriptor() ([]byte, []int)
- func (m *ActionRowAppend) GetLastDeletedSeq() uint64
- func (*ActionRowAppend) ProtoMessage()
- func (m *ActionRowAppend) Reset()
- func (m *ActionRowAppend) String() string
- func (m *ActionRowAppend) XXX_DiscardUnknown()
- func (m *ActionRowAppend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ActionRowAppend) XXX_Merge(src proto.Message)
- func (m *ActionRowAppend) XXX_Size() int
- func (m *ActionRowAppend) XXX_Unmarshal(b []byte) error
- type Cursor
- func (*Cursor) Descriptor() ([]byte, []int)
- func (m *Cursor) GetKey() []byte
- func (m *Cursor) GetMagic() uint32
- func (m *Cursor) GetSequenceNumber() uint64
- func (m *Cursor) GetShardNum() uint32
- func (m *Cursor) GetVersion() uint32
- func (*Cursor) ProtoMessage()
- func (m *Cursor) Reset()
- func (m *Cursor) String() string
- func (m *Cursor) XXX_DiscardUnknown()
- func (m *Cursor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Cursor) XXX_Merge(src proto.Message)
- func (m *Cursor) XXX_Size() int
- func (m *Cursor) XXX_Unmarshal(b []byte) error
- type GetActionsRequest
- func (*GetActionsRequest) Descriptor() ([]byte, []int)
- func (m *GetActionsRequest) GetAccount() uint64
- func (m *GetActionsRequest) GetCursor() *Cursor
- func (m *GetActionsRequest) GetLimit() uint32
- func (*GetActionsRequest) ProtoMessage()
- func (m *GetActionsRequest) Reset()
- func (m *GetActionsRequest) String() string
- func (m *GetActionsRequest) XXX_DiscardUnknown()
- func (m *GetActionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetActionsRequest) XXX_Merge(src proto.Message)
- func (m *GetActionsRequest) XXX_Size() int
- func (m *GetActionsRequest) XXX_Unmarshal(b []byte) error
- type GetTokenActionsRequest
- func (*GetTokenActionsRequest) Descriptor() ([]byte, []int)
- func (m *GetTokenActionsRequest) GetAccount() uint64
- func (m *GetTokenActionsRequest) GetContract() uint64
- func (m *GetTokenActionsRequest) GetCursor() *Cursor
- func (m *GetTokenActionsRequest) GetLimit() uint32
- func (*GetTokenActionsRequest) ProtoMessage()
- func (m *GetTokenActionsRequest) Reset()
- func (m *GetTokenActionsRequest) String() string
- func (m *GetTokenActionsRequest) XXX_DiscardUnknown()
- func (m *GetTokenActionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTokenActionsRequest) XXX_Merge(src proto.Message)
- func (m *GetTokenActionsRequest) XXX_Size() int
- func (m *GetTokenActionsRequest) XXX_Unmarshal(b []byte) error
- type ShardCheckpoint
- func (*ShardCheckpoint) Descriptor() ([]byte, []int)
- func (m *ShardCheckpoint) GetInitialStartBlock() uint64
- func (m *ShardCheckpoint) GetLastWrittenBlockId() string
- func (m *ShardCheckpoint) GetLastWrittenBlockNum() uint64
- func (m *ShardCheckpoint) GetTargetStopBlock() uint64
- func (*ShardCheckpoint) ProtoMessage()
- func (m *ShardCheckpoint) Reset()
- func (m *ShardCheckpoint) String() string
- func (m *ShardCheckpoint) XXX_DiscardUnknown()
- func (m *ShardCheckpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ShardCheckpoint) XXX_Merge(src proto.Message)
- func (m *ShardCheckpoint) XXX_Size() int
- func (m *ShardCheckpoint) XXX_Unmarshal(b []byte) error
- type UnimplementedAccountContractHistoryServer
- type UnimplementedAccountHistoryServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAccountContractHistoryServer ¶
func RegisterAccountContractHistoryServer(s *grpc.Server, srv AccountContractHistoryServer)
func RegisterAccountHistoryServer ¶
func RegisterAccountHistoryServer(s *grpc.Server, srv AccountHistoryServer)
Types ¶
type AccountContractHistoryClient ¶
type AccountContractHistoryClient interface {
GetAccountContractActions(ctx context.Context, in *GetTokenActionsRequest, opts ...grpc.CallOption) (AccountContractHistory_GetAccountContractActionsClient, error)
}
AccountContractHistoryClient is the client API for AccountContractHistory service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAccountContractHistoryClient ¶
func NewAccountContractHistoryClient(cc grpc.ClientConnInterface) AccountContractHistoryClient
type AccountContractHistoryServer ¶
type AccountContractHistoryServer interface {
GetAccountContractActions(*GetTokenActionsRequest, AccountContractHistory_GetAccountContractActionsServer) error
}
AccountContractHistoryServer is the server API for AccountContractHistory service.
type AccountContractHistory_GetAccountContractActionsClient ¶
type AccountContractHistory_GetAccountContractActionsClient interface { Recv() (*ActionResponse, error) grpc.ClientStream }
type AccountContractHistory_GetAccountContractActionsServer ¶
type AccountContractHistory_GetAccountContractActionsServer interface { Send(*ActionResponse) error grpc.ServerStream }
type AccountHistoryClient ¶
type AccountHistoryClient interface {
GetActions(ctx context.Context, in *GetActionsRequest, opts ...grpc.CallOption) (AccountHistory_GetActionsClient, error)
}
AccountHistoryClient is the client API for AccountHistory service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAccountHistoryClient ¶
func NewAccountHistoryClient(cc grpc.ClientConnInterface) AccountHistoryClient
type AccountHistoryServer ¶
type AccountHistoryServer interface {
GetActions(*GetActionsRequest, AccountHistory_GetActionsServer) error
}
AccountHistoryServer is the server API for AccountHistory service.
type AccountHistory_GetActionsClient ¶
type AccountHistory_GetActionsClient interface { Recv() (*ActionResponse, error) grpc.ClientStream }
type AccountHistory_GetActionsServer ¶
type AccountHistory_GetActionsServer interface { Send(*ActionResponse) error grpc.ServerStream }
type ActionResponse ¶
type ActionResponse struct { Cursor *Cursor `protobuf:"bytes,1,opt,name=cursor,proto3" json:"cursor,omitempty"` ActionTrace *v1.ActionTrace `protobuf:"bytes,2,opt,name=action_trace,json=actionTrace,proto3" json:"action_trace,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ActionResponse) Descriptor ¶
func (*ActionResponse) Descriptor() ([]byte, []int)
func (*ActionResponse) GetActionTrace ¶
func (m *ActionResponse) GetActionTrace() *v1.ActionTrace
func (*ActionResponse) GetCursor ¶
func (m *ActionResponse) GetCursor() *Cursor
func (*ActionResponse) ProtoMessage ¶
func (*ActionResponse) ProtoMessage()
func (*ActionResponse) Reset ¶
func (m *ActionResponse) Reset()
func (*ActionResponse) String ¶
func (m *ActionResponse) String() string
func (*ActionResponse) XXX_DiscardUnknown ¶
func (m *ActionResponse) XXX_DiscardUnknown()
func (*ActionResponse) XXX_Marshal ¶
func (m *ActionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActionResponse) XXX_Merge ¶
func (m *ActionResponse) XXX_Merge(src proto.Message)
func (*ActionResponse) XXX_Size ¶
func (m *ActionResponse) XXX_Size() int
func (*ActionResponse) XXX_Unmarshal ¶
func (m *ActionResponse) XXX_Unmarshal(b []byte) error
type ActionRow ¶
type ActionRow struct { Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` ActionTrace *v1.ActionTrace `protobuf:"bytes,2,opt,name=action_trace,json=actionTrace,proto3" json:"action_trace,omitempty"` LastDeletedSeq uint64 `protobuf:"varint,3,opt,name=last_deleted_seq,json=lastDeletedSeq,proto3" json:"last_deleted_seq,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ActionRow) Descriptor ¶
func (*ActionRow) GetActionTrace ¶
func (m *ActionRow) GetActionTrace() *v1.ActionTrace
func (*ActionRow) GetLastDeletedSeq ¶
func (*ActionRow) GetVersion ¶
func (*ActionRow) ProtoMessage ¶
func (*ActionRow) ProtoMessage()
func (*ActionRow) XXX_DiscardUnknown ¶
func (m *ActionRow) XXX_DiscardUnknown()
func (*ActionRow) XXX_Marshal ¶
func (*ActionRow) XXX_Unmarshal ¶
type ActionRowAppend ¶
type ActionRowAppend struct { LastDeletedSeq uint64 `protobuf:"varint,3,opt,name=last_deleted_seq,json=lastDeletedSeq,proto3" json:"last_deleted_seq,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ActionRowAppend) Descriptor ¶
func (*ActionRowAppend) Descriptor() ([]byte, []int)
func (*ActionRowAppend) GetLastDeletedSeq ¶
func (m *ActionRowAppend) GetLastDeletedSeq() uint64
func (*ActionRowAppend) ProtoMessage ¶
func (*ActionRowAppend) ProtoMessage()
func (*ActionRowAppend) Reset ¶
func (m *ActionRowAppend) Reset()
func (*ActionRowAppend) String ¶
func (m *ActionRowAppend) String() string
func (*ActionRowAppend) XXX_DiscardUnknown ¶
func (m *ActionRowAppend) XXX_DiscardUnknown()
func (*ActionRowAppend) XXX_Marshal ¶
func (m *ActionRowAppend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActionRowAppend) XXX_Merge ¶
func (m *ActionRowAppend) XXX_Merge(src proto.Message)
func (*ActionRowAppend) XXX_Size ¶
func (m *ActionRowAppend) XXX_Size() int
func (*ActionRowAppend) XXX_Unmarshal ¶
func (m *ActionRowAppend) XXX_Unmarshal(b []byte) error
type Cursor ¶
type Cursor struct { Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` Magic uint32 `protobuf:"varint,2,opt,name=magic,proto3" json:"magic,omitempty"` Key []byte `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` ShardNum uint32 `protobuf:"varint,5,opt,name=shard_num,json=shardNum,proto3" json:"shard_num,omitempty"` SequenceNumber uint64 `protobuf:"varint,6,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Cursor) Descriptor ¶
func (*Cursor) GetSequenceNumber ¶
func (*Cursor) GetShardNum ¶
func (*Cursor) GetVersion ¶
func (*Cursor) ProtoMessage ¶
func (*Cursor) ProtoMessage()
func (*Cursor) XXX_DiscardUnknown ¶
func (m *Cursor) XXX_DiscardUnknown()
func (*Cursor) XXX_Marshal ¶
func (*Cursor) XXX_Unmarshal ¶
type GetActionsRequest ¶
type GetActionsRequest struct { Account uint64 `protobuf:"varint,1,opt,name=account,proto3" json:"account,omitempty"` Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Cursor *Cursor `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetActionsRequest) Descriptor ¶
func (*GetActionsRequest) Descriptor() ([]byte, []int)
func (*GetActionsRequest) GetAccount ¶
func (m *GetActionsRequest) GetAccount() uint64
func (*GetActionsRequest) GetCursor ¶
func (m *GetActionsRequest) GetCursor() *Cursor
func (*GetActionsRequest) GetLimit ¶
func (m *GetActionsRequest) GetLimit() uint32
func (*GetActionsRequest) ProtoMessage ¶
func (*GetActionsRequest) ProtoMessage()
func (*GetActionsRequest) Reset ¶
func (m *GetActionsRequest) Reset()
func (*GetActionsRequest) String ¶
func (m *GetActionsRequest) String() string
func (*GetActionsRequest) XXX_DiscardUnknown ¶
func (m *GetActionsRequest) XXX_DiscardUnknown()
func (*GetActionsRequest) XXX_Marshal ¶
func (m *GetActionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetActionsRequest) XXX_Merge ¶
func (m *GetActionsRequest) XXX_Merge(src proto.Message)
func (*GetActionsRequest) XXX_Size ¶
func (m *GetActionsRequest) XXX_Size() int
func (*GetActionsRequest) XXX_Unmarshal ¶
func (m *GetActionsRequest) XXX_Unmarshal(b []byte) error
type GetTokenActionsRequest ¶
type GetTokenActionsRequest struct { Account uint64 `protobuf:"varint,1,opt,name=account,proto3" json:"account,omitempty"` Contract uint64 `protobuf:"varint,2,opt,name=contract,proto3" json:"contract,omitempty"` Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` Cursor *Cursor `protobuf:"bytes,4,opt,name=cursor,proto3" json:"cursor,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetTokenActionsRequest) Descriptor ¶
func (*GetTokenActionsRequest) Descriptor() ([]byte, []int)
func (*GetTokenActionsRequest) GetAccount ¶
func (m *GetTokenActionsRequest) GetAccount() uint64
func (*GetTokenActionsRequest) GetContract ¶
func (m *GetTokenActionsRequest) GetContract() uint64
func (*GetTokenActionsRequest) GetCursor ¶
func (m *GetTokenActionsRequest) GetCursor() *Cursor
func (*GetTokenActionsRequest) GetLimit ¶
func (m *GetTokenActionsRequest) GetLimit() uint32
func (*GetTokenActionsRequest) ProtoMessage ¶
func (*GetTokenActionsRequest) ProtoMessage()
func (*GetTokenActionsRequest) Reset ¶
func (m *GetTokenActionsRequest) Reset()
func (*GetTokenActionsRequest) String ¶
func (m *GetTokenActionsRequest) String() string
func (*GetTokenActionsRequest) XXX_DiscardUnknown ¶
func (m *GetTokenActionsRequest) XXX_DiscardUnknown()
func (*GetTokenActionsRequest) XXX_Marshal ¶
func (m *GetTokenActionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTokenActionsRequest) XXX_Merge ¶
func (m *GetTokenActionsRequest) XXX_Merge(src proto.Message)
func (*GetTokenActionsRequest) XXX_Size ¶
func (m *GetTokenActionsRequest) XXX_Size() int
func (*GetTokenActionsRequest) XXX_Unmarshal ¶
func (m *GetTokenActionsRequest) XXX_Unmarshal(b []byte) error
type ShardCheckpoint ¶
type ShardCheckpoint struct { InitialStartBlock uint64 `protobuf:"varint,1,opt,name=initial_start_block,json=initialStartBlock,proto3" json:"initial_start_block,omitempty"` TargetStopBlock uint64 `protobuf:"varint,2,opt,name=target_stop_block,json=targetStopBlock,proto3" json:"target_stop_block,omitempty"` LastWrittenBlockNum uint64 `protobuf:"varint,3,opt,name=last_written_block_num,json=lastWrittenBlockNum,proto3" json:"last_written_block_num,omitempty"` LastWrittenBlockId string `protobuf:"bytes,4,opt,name=last_written_block_id,json=lastWrittenBlockId,proto3" json:"last_written_block_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ShardCheckpoint) Descriptor ¶
func (*ShardCheckpoint) Descriptor() ([]byte, []int)
func (*ShardCheckpoint) GetInitialStartBlock ¶
func (m *ShardCheckpoint) GetInitialStartBlock() uint64
func (*ShardCheckpoint) GetLastWrittenBlockId ¶
func (m *ShardCheckpoint) GetLastWrittenBlockId() string
func (*ShardCheckpoint) GetLastWrittenBlockNum ¶
func (m *ShardCheckpoint) GetLastWrittenBlockNum() uint64
func (*ShardCheckpoint) GetTargetStopBlock ¶
func (m *ShardCheckpoint) GetTargetStopBlock() uint64
func (*ShardCheckpoint) ProtoMessage ¶
func (*ShardCheckpoint) ProtoMessage()
func (*ShardCheckpoint) Reset ¶
func (m *ShardCheckpoint) Reset()
func (*ShardCheckpoint) String ¶
func (m *ShardCheckpoint) String() string
func (*ShardCheckpoint) XXX_DiscardUnknown ¶
func (m *ShardCheckpoint) XXX_DiscardUnknown()
func (*ShardCheckpoint) XXX_Marshal ¶
func (m *ShardCheckpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ShardCheckpoint) XXX_Merge ¶
func (m *ShardCheckpoint) XXX_Merge(src proto.Message)
func (*ShardCheckpoint) XXX_Size ¶
func (m *ShardCheckpoint) XXX_Size() int
func (*ShardCheckpoint) XXX_Unmarshal ¶
func (m *ShardCheckpoint) XXX_Unmarshal(b []byte) error
type UnimplementedAccountContractHistoryServer ¶
type UnimplementedAccountContractHistoryServer struct { }
UnimplementedAccountContractHistoryServer can be embedded to have forward compatible implementations.
func (*UnimplementedAccountContractHistoryServer) GetAccountContractActions ¶
func (*UnimplementedAccountContractHistoryServer) GetAccountContractActions(req *GetTokenActionsRequest, srv AccountContractHistory_GetAccountContractActionsServer) error
type UnimplementedAccountHistoryServer ¶
type UnimplementedAccountHistoryServer struct { }
UnimplementedAccountHistoryServer can be embedded to have forward compatible implementations.
func (*UnimplementedAccountHistoryServer) GetActions ¶
func (*UnimplementedAccountHistoryServer) GetActions(req *GetActionsRequest, srv AccountHistory_GetActionsServer) error