pb

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: Apache-2.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArgPair

type ArgPair struct {
	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value                []byte   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ArgPair) Descriptor

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

func (*ArgPair) GetKey

func (m *ArgPair) GetKey() string

func (*ArgPair) GetValue

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

func (*ArgPair) ProtoMessage

func (*ArgPair) ProtoMessage()

func (*ArgPair) Reset

func (m *ArgPair) Reset()

func (*ArgPair) String

func (m *ArgPair) String() string

func (*ArgPair) XXX_DiscardUnknown

func (m *ArgPair) XXX_DiscardUnknown()

func (*ArgPair) XXX_Marshal

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

func (*ArgPair) XXX_Merge

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

func (*ArgPair) XXX_Size

func (m *ArgPair) XXX_Size() int

func (*ArgPair) XXX_Unmarshal

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

type Block

type Block struct {
	// blockid generate the hash sign of the block used by sha256
	Blockid string `protobuf:"bytes,3,opt,name=blockid,proto3" json:"blockid,omitempty"`
	// pre_hash is the parent blockid of the block
	PreHash string `protobuf:"bytes,4,opt,name=pre_hash,json=preHash,proto3" json:"pre_hash,omitempty"`
	// The miner id
	Proposer []byte `protobuf:"bytes,5,opt,name=proposer,proto3" json:"proposer,omitempty"`
	// The sign which miner signed: blockid + nonce + timestamp
	Sign string `protobuf:"bytes,6,opt,name=sign,proto3" json:"sign,omitempty"`
	// The pk of the miner
	Pubkey []byte `protobuf:"bytes,7,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	// The height of the blockchain
	Height int64 `protobuf:"varint,9,opt,name=height,proto3" json:"height,omitempty"`
	// Timestamp of the block
	Timestamp int64 `protobuf:"varint,10,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Transactions of the block, only txid stored on kv, the detail information stored in another table
	Txids []string `protobuf:"bytes,11,rep,name=txids,proto3" json:"txids,omitempty"`
	// The transaction count of the block
	TxCount int32 `protobuf:"varint,12,opt,name=tx_count,json=txCount,proto3" json:"tx_count,omitempty"`
	//下面的属性会动态变化
	// If the block is on the trunk
	InTrunk bool `protobuf:"varint,14,opt,name=in_trunk,json=inTrunk,proto3" json:"in_trunk,omitempty"`
	// Next next block which on trunk
	NextHash             string   `protobuf:"bytes,15,opt,name=next_hash,json=nextHash,proto3" json:"next_hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The block struct

func (*Block) Descriptor

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

func (*Block) GetBlockid

func (m *Block) GetBlockid() string

func (*Block) GetHeight

func (m *Block) GetHeight() int64

func (*Block) GetInTrunk

func (m *Block) GetInTrunk() bool

func (*Block) GetNextHash

func (m *Block) GetNextHash() string

func (*Block) GetPreHash

func (m *Block) GetPreHash() string

func (*Block) GetProposer

func (m *Block) GetProposer() []byte

func (*Block) GetPubkey

func (m *Block) GetPubkey() []byte

func (*Block) GetSign

func (m *Block) GetSign() string

func (*Block) GetTimestamp added in v1.0.2

func (m *Block) GetTimestamp() int64

func (*Block) GetTxCount

func (m *Block) GetTxCount() int32

func (*Block) GetTxids

func (m *Block) GetTxids() []string

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) Reset

func (m *Block) Reset()

func (*Block) String

func (m *Block) String() string

func (*Block) XXX_DiscardUnknown

func (m *Block) XXX_DiscardUnknown()

func (*Block) XXX_Marshal

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

func (*Block) XXX_Merge

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

func (*Block) XXX_Size

func (m *Block) XXX_Size() int

func (*Block) XXX_Unmarshal

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

type CallArgs

type CallArgs struct {
	Method               string     `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
	Args                 []*ArgPair `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
	Initiator            string     `protobuf:"bytes,3,opt,name=initiator,proto3" json:"initiator,omitempty"`
	AuthRequire          []string   `protobuf:"bytes,4,rep,name=auth_require,json=authRequire,proto3" json:"auth_require,omitempty"`
	TransferAmount       string     `protobuf:"bytes,5,opt,name=transfer_amount,json=transferAmount,proto3" json:"transfer_amount,omitempty"`
	Caller               string     `protobuf:"bytes,6,opt,name=caller,proto3" json:"caller,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*CallArgs) Descriptor

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

func (*CallArgs) GetArgs

func (m *CallArgs) GetArgs() []*ArgPair

func (*CallArgs) GetAuthRequire

func (m *CallArgs) GetAuthRequire() []string

func (*CallArgs) GetCaller added in v1.0.2

func (m *CallArgs) GetCaller() string

func (*CallArgs) GetInitiator

func (m *CallArgs) GetInitiator() string

func (*CallArgs) GetMethod

func (m *CallArgs) GetMethod() string

func (*CallArgs) GetTransferAmount

func (m *CallArgs) GetTransferAmount() string

func (*CallArgs) ProtoMessage

func (*CallArgs) ProtoMessage()

func (*CallArgs) Reset

func (m *CallArgs) Reset()

func (*CallArgs) String

func (m *CallArgs) String() string

func (*CallArgs) XXX_DiscardUnknown

func (m *CallArgs) XXX_DiscardUnknown()

func (*CallArgs) XXX_Marshal

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

func (*CallArgs) XXX_Merge

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

func (*CallArgs) XXX_Size

func (m *CallArgs) XXX_Size() int

func (*CallArgs) XXX_Unmarshal

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

type ContractCallRequest

type ContractCallRequest struct {
	Header               *SyscallHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Module               string         `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"`
	Contract             string         `protobuf:"bytes,3,opt,name=contract,proto3" json:"contract,omitempty"`
	Method               string         `protobuf:"bytes,4,opt,name=method,proto3" json:"method,omitempty"`
	Args                 []*ArgPair     `protobuf:"bytes,5,rep,name=args,proto3" json:"args,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*ContractCallRequest) Descriptor

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

func (*ContractCallRequest) GetArgs

func (m *ContractCallRequest) GetArgs() []*ArgPair

func (*ContractCallRequest) GetContract

func (m *ContractCallRequest) GetContract() string

func (*ContractCallRequest) GetHeader

func (m *ContractCallRequest) GetHeader() *SyscallHeader

func (*ContractCallRequest) GetMethod

func (m *ContractCallRequest) GetMethod() string

func (*ContractCallRequest) GetModule

func (m *ContractCallRequest) GetModule() string

func (*ContractCallRequest) ProtoMessage

func (*ContractCallRequest) ProtoMessage()

func (*ContractCallRequest) Reset

func (m *ContractCallRequest) Reset()

func (*ContractCallRequest) String

func (m *ContractCallRequest) String() string

func (*ContractCallRequest) XXX_DiscardUnknown

func (m *ContractCallRequest) XXX_DiscardUnknown()

func (*ContractCallRequest) XXX_Marshal

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

func (*ContractCallRequest) XXX_Merge

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

func (*ContractCallRequest) XXX_Size

func (m *ContractCallRequest) XXX_Size() int

func (*ContractCallRequest) XXX_Unmarshal

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

type ContractCallResponse

type ContractCallResponse struct {
	Response             *Response `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*ContractCallResponse) Descriptor

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

func (*ContractCallResponse) GetResponse

func (m *ContractCallResponse) GetResponse() *Response

func (*ContractCallResponse) ProtoMessage

func (*ContractCallResponse) ProtoMessage()

func (*ContractCallResponse) Reset

func (m *ContractCallResponse) Reset()

func (*ContractCallResponse) String

func (m *ContractCallResponse) String() string

func (*ContractCallResponse) XXX_DiscardUnknown

func (m *ContractCallResponse) XXX_DiscardUnknown()

func (*ContractCallResponse) XXX_Marshal

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

func (*ContractCallResponse) XXX_Merge

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

func (*ContractCallResponse) XXX_Size

func (m *ContractCallResponse) XXX_Size() int

func (*ContractCallResponse) XXX_Unmarshal

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

type CrossContractQueryRequest

type CrossContractQueryRequest struct {
	Header               *SyscallHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Uri                  string         `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	Args                 []*ArgPair     `protobuf:"bytes,5,rep,name=args,proto3" json:"args,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*CrossContractQueryRequest) Descriptor

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

func (*CrossContractQueryRequest) GetArgs

func (m *CrossContractQueryRequest) GetArgs() []*ArgPair

func (*CrossContractQueryRequest) GetHeader

func (m *CrossContractQueryRequest) GetHeader() *SyscallHeader

func (*CrossContractQueryRequest) GetUri

func (m *CrossContractQueryRequest) GetUri() string

func (*CrossContractQueryRequest) ProtoMessage

func (*CrossContractQueryRequest) ProtoMessage()

func (*CrossContractQueryRequest) Reset

func (m *CrossContractQueryRequest) Reset()

func (*CrossContractQueryRequest) String

func (m *CrossContractQueryRequest) String() string

func (*CrossContractQueryRequest) XXX_DiscardUnknown

func (m *CrossContractQueryRequest) XXX_DiscardUnknown()

func (*CrossContractQueryRequest) XXX_Marshal

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

func (*CrossContractQueryRequest) XXX_Merge

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

func (*CrossContractQueryRequest) XXX_Size

func (m *CrossContractQueryRequest) XXX_Size() int

func (*CrossContractQueryRequest) XXX_Unmarshal

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

type CrossContractQueryResponse

type CrossContractQueryResponse struct {
	Response             *Response `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*CrossContractQueryResponse) Descriptor

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

func (*CrossContractQueryResponse) GetResponse

func (m *CrossContractQueryResponse) GetResponse() *Response

func (*CrossContractQueryResponse) ProtoMessage

func (*CrossContractQueryResponse) ProtoMessage()

func (*CrossContractQueryResponse) Reset

func (m *CrossContractQueryResponse) Reset()

func (*CrossContractQueryResponse) String

func (m *CrossContractQueryResponse) String() string

func (*CrossContractQueryResponse) XXX_DiscardUnknown

func (m *CrossContractQueryResponse) XXX_DiscardUnknown()

func (*CrossContractQueryResponse) XXX_Marshal

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

func (*CrossContractQueryResponse) XXX_Merge

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

func (*CrossContractQueryResponse) XXX_Size

func (m *CrossContractQueryResponse) XXX_Size() int

func (*CrossContractQueryResponse) XXX_Unmarshal

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

type DeleteRequest

type DeleteRequest struct {
	Header               *SyscallHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Key                  []byte         `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*DeleteRequest) Descriptor

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

func (*DeleteRequest) GetHeader

func (m *DeleteRequest) GetHeader() *SyscallHeader

func (*DeleteRequest) GetKey

func (m *DeleteRequest) GetKey() []byte

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) Reset

func (m *DeleteRequest) Reset()

func (*DeleteRequest) String

func (m *DeleteRequest) String() string

func (*DeleteRequest) XXX_DiscardUnknown

func (m *DeleteRequest) XXX_DiscardUnknown()

func (*DeleteRequest) XXX_Marshal

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

func (*DeleteRequest) XXX_Merge

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

func (*DeleteRequest) XXX_Size

func (m *DeleteRequest) XXX_Size() int

func (*DeleteRequest) XXX_Unmarshal

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

type DeleteResponse

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

func (*DeleteResponse) Descriptor

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

func (*DeleteResponse) ProtoMessage

func (*DeleteResponse) ProtoMessage()

func (*DeleteResponse) Reset

func (m *DeleteResponse) Reset()

func (*DeleteResponse) String

func (m *DeleteResponse) String() string

func (*DeleteResponse) XXX_DiscardUnknown

func (m *DeleteResponse) XXX_DiscardUnknown()

func (*DeleteResponse) XXX_Marshal

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

func (*DeleteResponse) XXX_Merge

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

func (*DeleteResponse) XXX_Size

func (m *DeleteResponse) XXX_Size() int

func (*DeleteResponse) XXX_Unmarshal

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

type EmitEventRequest

type EmitEventRequest struct {
	Header               *SyscallHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Name                 string         `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Body                 []byte         `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*EmitEventRequest) Descriptor

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

func (*EmitEventRequest) GetBody

func (m *EmitEventRequest) GetBody() []byte

func (*EmitEventRequest) GetHeader

func (m *EmitEventRequest) GetHeader() *SyscallHeader

func (*EmitEventRequest) GetName

func (m *EmitEventRequest) GetName() string

func (*EmitEventRequest) ProtoMessage

func (*EmitEventRequest) ProtoMessage()

func (*EmitEventRequest) Reset

func (m *EmitEventRequest) Reset()

func (*EmitEventRequest) String

func (m *EmitEventRequest) String() string

func (*EmitEventRequest) XXX_DiscardUnknown

func (m *EmitEventRequest) XXX_DiscardUnknown()

func (*EmitEventRequest) XXX_Marshal

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

func (*EmitEventRequest) XXX_Merge

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

func (*EmitEventRequest) XXX_Size

func (m *EmitEventRequest) XXX_Size() int

func (*EmitEventRequest) XXX_Unmarshal

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

type EmitEventResponse

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

func (*EmitEventResponse) Descriptor

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

func (*EmitEventResponse) ProtoMessage

func (*EmitEventResponse) ProtoMessage()

func (*EmitEventResponse) Reset

func (m *EmitEventResponse) Reset()

func (*EmitEventResponse) String

func (m *EmitEventResponse) String() string

func (*EmitEventResponse) XXX_DiscardUnknown

func (m *EmitEventResponse) XXX_DiscardUnknown()

func (*EmitEventResponse) XXX_Marshal

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

func (*EmitEventResponse) XXX_Merge

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

func (*EmitEventResponse) XXX_Size

func (m *EmitEventResponse) XXX_Size() int

func (*EmitEventResponse) XXX_Unmarshal

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

type GetAccountAddressesRequest

type GetAccountAddressesRequest struct {
	Header               *SyscallHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Account              string         `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*GetAccountAddressesRequest) Descriptor

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

func (*GetAccountAddressesRequest) GetAccount

func (m *GetAccountAddressesRequest) GetAccount() string

func (*GetAccountAddressesRequest) GetHeader

func (m *GetAccountAddressesRequest) GetHeader() *SyscallHeader

func (*GetAccountAddressesRequest) ProtoMessage

func (*GetAccountAddressesRequest) ProtoMessage()

func (*GetAccountAddressesRequest) Reset

func (m *GetAccountAddressesRequest) Reset()

func (*GetAccountAddressesRequest) String

func (m *GetAccountAddressesRequest) String() string

func (*GetAccountAddressesRequest) XXX_DiscardUnknown

func (m *GetAccountAddressesRequest) XXX_DiscardUnknown()

func (*GetAccountAddressesRequest) XXX_Marshal

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

func (*GetAccountAddressesRequest) XXX_Merge

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

func (*GetAccountAddressesRequest) XXX_Size

func (m *GetAccountAddressesRequest) XXX_Size() int

func (*GetAccountAddressesRequest) XXX_Unmarshal

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

type GetAccountAddressesResponse

type GetAccountAddressesResponse struct {
	Addresses            []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetAccountAddressesResponse) Descriptor

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

func (*GetAccountAddressesResponse) GetAddresses

func (m *GetAccountAddressesResponse) GetAddresses() []string

func (*GetAccountAddressesResponse) ProtoMessage

func (*GetAccountAddressesResponse) ProtoMessage()

func (*GetAccountAddressesResponse) Reset

func (m *GetAccountAddressesResponse) Reset()

func (*GetAccountAddressesResponse) String

func (m *GetAccountAddressesResponse) String() string

func (*GetAccountAddressesResponse) XXX_DiscardUnknown

func (m *GetAccountAddressesResponse) XXX_DiscardUnknown()

func (*GetAccountAddressesResponse) XXX_Marshal

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

func (*GetAccountAddressesResponse) XXX_Merge

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

func (*GetAccountAddressesResponse) XXX_Size

func (m *GetAccountAddressesResponse) XXX_Size() int

func (*GetAccountAddressesResponse) XXX_Unmarshal

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

type GetCallArgsRequest

type GetCallArgsRequest struct {
	Header               *SyscallHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*GetCallArgsRequest) Descriptor

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

func (*GetCallArgsRequest) GetHeader

func (m *GetCallArgsRequest) GetHeader() *SyscallHeader

func (*GetCallArgsRequest) ProtoMessage

func (*GetCallArgsRequest) ProtoMessage()

func (*GetCallArgsRequest) Reset

func (m *GetCallArgsRequest) Reset()

func (*GetCallArgsRequest) String

func (m *GetCallArgsRequest) String() string

func (*GetCallArgsRequest) XXX_DiscardUnknown

func (m *GetCallArgsRequest) XXX_DiscardUnknown()

func (*GetCallArgsRequest) XXX_Marshal

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

func (*GetCallArgsRequest) XXX_Merge

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

func (*GetCallArgsRequest) XXX_Size

func (m *GetCallArgsRequest) XXX_Size() int

func (*GetCallArgsRequest) XXX_Unmarshal

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

type GetRequest

type GetRequest struct {
	Header               *SyscallHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Key                  []byte         `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*GetRequest) Descriptor

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

func (*GetRequest) GetHeader

func (m *GetRequest) GetHeader() *SyscallHeader

func (*GetRequest) GetKey

func (m *GetRequest) GetKey() []byte

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) Reset

func (m *GetRequest) Reset()

func (*GetRequest) String

func (m *GetRequest) String() string

func (*GetRequest) XXX_DiscardUnknown

func (m *GetRequest) XXX_DiscardUnknown()

func (*GetRequest) XXX_Marshal

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

func (*GetRequest) XXX_Merge

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

func (*GetRequest) XXX_Size

func (m *GetRequest) XXX_Size() int

func (*GetRequest) XXX_Unmarshal

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

type GetResponse

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

func (*GetResponse) Descriptor

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

func (*GetResponse) GetValue

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

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) Reset

func (m *GetResponse) Reset()

func (*GetResponse) String

func (m *GetResponse) String() string

func (*GetResponse) XXX_DiscardUnknown

func (m *GetResponse) XXX_DiscardUnknown()

func (*GetResponse) XXX_Marshal

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

func (*GetResponse) XXX_Merge

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

func (*GetResponse) XXX_Size

func (m *GetResponse) XXX_Size() int

func (*GetResponse) XXX_Unmarshal

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

type IteratorItem

type IteratorItem struct {
	Key                  []byte   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value                []byte   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*IteratorItem) Descriptor

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

func (*IteratorItem) GetKey

func (m *IteratorItem) GetKey() []byte

func (*IteratorItem) GetValue

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

func (*IteratorItem) ProtoMessage

func (*IteratorItem) ProtoMessage()

func (*IteratorItem) Reset

func (m *IteratorItem) Reset()

func (*IteratorItem) String

func (m *IteratorItem) String() string

func (*IteratorItem) XXX_DiscardUnknown

func (m *IteratorItem) XXX_DiscardUnknown()

func (*IteratorItem) XXX_Marshal

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

func (*IteratorItem) XXX_Merge

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

func (*IteratorItem) XXX_Size

func (m *IteratorItem) XXX_Size() int

func (*IteratorItem) XXX_Unmarshal

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

type IteratorRequest

type IteratorRequest struct {
	Header *SyscallHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// start和limit为[start, limit)
	Start []byte `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"`
	Limit []byte `protobuf:"bytes,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// cap代表一次请求的最大IteratorItem个数,如果为0则采用xchain的默认配置
	Cap                  int32    `protobuf:"varint,4,opt,name=cap,proto3" json:"cap,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*IteratorRequest) Descriptor

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

func (*IteratorRequest) GetCap

func (m *IteratorRequest) GetCap() int32

func (*IteratorRequest) GetHeader

func (m *IteratorRequest) GetHeader() *SyscallHeader

func (*IteratorRequest) GetLimit

func (m *IteratorRequest) GetLimit() []byte

func (*IteratorRequest) GetStart

func (m *IteratorRequest) GetStart() []byte

func (*IteratorRequest) ProtoMessage

func (*IteratorRequest) ProtoMessage()

func (*IteratorRequest) Reset

func (m *IteratorRequest) Reset()

func (*IteratorRequest) String

func (m *IteratorRequest) String() string

func (*IteratorRequest) XXX_DiscardUnknown

func (m *IteratorRequest) XXX_DiscardUnknown()

func (*IteratorRequest) XXX_Marshal

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

func (*IteratorRequest) XXX_Merge

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

func (*IteratorRequest) XXX_Size

func (m *IteratorRequest) XXX_Size() int

func (*IteratorRequest) XXX_Unmarshal

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

type IteratorResponse

type IteratorResponse struct {
	Items                []*IteratorItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*IteratorResponse) Descriptor

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

func (*IteratorResponse) GetItems

func (m *IteratorResponse) GetItems() []*IteratorItem

func (*IteratorResponse) ProtoMessage

func (*IteratorResponse) ProtoMessage()

func (*IteratorResponse) Reset

func (m *IteratorResponse) Reset()

func (*IteratorResponse) String

func (m *IteratorResponse) String() string

func (*IteratorResponse) XXX_DiscardUnknown

func (m *IteratorResponse) XXX_DiscardUnknown()

func (*IteratorResponse) XXX_Marshal

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

func (*IteratorResponse) XXX_Merge

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

func (*IteratorResponse) XXX_Size

func (m *IteratorResponse) XXX_Size() int

func (*IteratorResponse) XXX_Unmarshal

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

type NativeCallRequest

type NativeCallRequest struct {
	// The context id of this request
	Ctxid                int64    `protobuf:"varint,1,opt,name=ctxid,proto3" json:"ctxid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NativeCallRequest) Descriptor

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

func (*NativeCallRequest) GetCtxid

func (m *NativeCallRequest) GetCtxid() int64

func (*NativeCallRequest) ProtoMessage

func (*NativeCallRequest) ProtoMessage()

func (*NativeCallRequest) Reset

func (m *NativeCallRequest) Reset()

func (*NativeCallRequest) String

func (m *NativeCallRequest) String() string

func (*NativeCallRequest) XXX_DiscardUnknown

func (m *NativeCallRequest) XXX_DiscardUnknown()

func (*NativeCallRequest) XXX_Marshal

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

func (*NativeCallRequest) XXX_Merge

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

func (*NativeCallRequest) XXX_Size

func (m *NativeCallRequest) XXX_Size() int

func (*NativeCallRequest) XXX_Unmarshal

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

type NativeCallResponse

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

func (*NativeCallResponse) Descriptor

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

func (*NativeCallResponse) ProtoMessage

func (*NativeCallResponse) ProtoMessage()

func (*NativeCallResponse) Reset

func (m *NativeCallResponse) Reset()

func (*NativeCallResponse) String

func (m *NativeCallResponse) String() string

func (*NativeCallResponse) XXX_DiscardUnknown

func (m *NativeCallResponse) XXX_DiscardUnknown()

func (*NativeCallResponse) XXX_Marshal

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

func (*NativeCallResponse) XXX_Merge

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

func (*NativeCallResponse) XXX_Size

func (m *NativeCallResponse) XXX_Size() int

func (*NativeCallResponse) XXX_Unmarshal

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

type PingRequest

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

func (*PingRequest) Descriptor

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

func (*PingRequest) ProtoMessage

func (*PingRequest) ProtoMessage()

func (*PingRequest) Reset

func (m *PingRequest) Reset()

func (*PingRequest) String

func (m *PingRequest) String() string

func (*PingRequest) XXX_DiscardUnknown

func (m *PingRequest) XXX_DiscardUnknown()

func (*PingRequest) XXX_Marshal

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

func (*PingRequest) XXX_Merge

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

func (*PingRequest) XXX_Size

func (m *PingRequest) XXX_Size() int

func (*PingRequest) XXX_Unmarshal

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

type PingResponse

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

func (*PingResponse) Descriptor

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

func (*PingResponse) ProtoMessage

func (*PingResponse) ProtoMessage()

func (*PingResponse) Reset

func (m *PingResponse) Reset()

func (*PingResponse) String

func (m *PingResponse) String() string

func (*PingResponse) XXX_DiscardUnknown

func (m *PingResponse) XXX_DiscardUnknown()

func (*PingResponse) XXX_Marshal

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

func (*PingResponse) XXX_Merge

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

func (*PingResponse) XXX_Size

func (m *PingResponse) XXX_Size() int

func (*PingResponse) XXX_Unmarshal

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

type PostLogRequest

type PostLogRequest struct {
	Header               *SyscallHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Entry                string         `protobuf:"bytes,2,opt,name=entry,proto3" json:"entry,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*PostLogRequest) Descriptor

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

func (*PostLogRequest) GetEntry

func (m *PostLogRequest) GetEntry() string

func (*PostLogRequest) GetHeader

func (m *PostLogRequest) GetHeader() *SyscallHeader

func (*PostLogRequest) ProtoMessage

func (*PostLogRequest) ProtoMessage()

func (*PostLogRequest) Reset

func (m *PostLogRequest) Reset()

func (*PostLogRequest) String

func (m *PostLogRequest) String() string

func (*PostLogRequest) XXX_DiscardUnknown

func (m *PostLogRequest) XXX_DiscardUnknown()

func (*PostLogRequest) XXX_Marshal

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

func (*PostLogRequest) XXX_Merge

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

func (*PostLogRequest) XXX_Size

func (m *PostLogRequest) XXX_Size() int

func (*PostLogRequest) XXX_Unmarshal

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

type PostLogResponse

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

func (*PostLogResponse) Descriptor

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

func (*PostLogResponse) GetEntry

func (m *PostLogResponse) GetEntry() string

func (*PostLogResponse) ProtoMessage

func (*PostLogResponse) ProtoMessage()

func (*PostLogResponse) Reset

func (m *PostLogResponse) Reset()

func (*PostLogResponse) String

func (m *PostLogResponse) String() string

func (*PostLogResponse) XXX_DiscardUnknown

func (m *PostLogResponse) XXX_DiscardUnknown()

func (*PostLogResponse) XXX_Marshal

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

func (*PostLogResponse) XXX_Merge

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

func (*PostLogResponse) XXX_Size

func (m *PostLogResponse) XXX_Size() int

func (*PostLogResponse) XXX_Unmarshal

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

type PutRequest

type PutRequest struct {
	Header               *SyscallHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Key                  []byte         `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Value                []byte         `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*PutRequest) Descriptor

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

func (*PutRequest) GetHeader

func (m *PutRequest) GetHeader() *SyscallHeader

func (*PutRequest) GetKey

func (m *PutRequest) GetKey() []byte

func (*PutRequest) GetValue

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

func (*PutRequest) ProtoMessage

func (*PutRequest) ProtoMessage()

func (*PutRequest) Reset

func (m *PutRequest) Reset()

func (*PutRequest) String

func (m *PutRequest) String() string

func (*PutRequest) XXX_DiscardUnknown

func (m *PutRequest) XXX_DiscardUnknown()

func (*PutRequest) XXX_Marshal

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

func (*PutRequest) XXX_Merge

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

func (*PutRequest) XXX_Size

func (m *PutRequest) XXX_Size() int

func (*PutRequest) XXX_Unmarshal

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

type PutResponse

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

func (*PutResponse) Descriptor

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

func (*PutResponse) ProtoMessage

func (*PutResponse) ProtoMessage()

func (*PutResponse) Reset

func (m *PutResponse) Reset()

func (*PutResponse) String

func (m *PutResponse) String() string

func (*PutResponse) XXX_DiscardUnknown

func (m *PutResponse) XXX_DiscardUnknown()

func (*PutResponse) XXX_Marshal

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

func (*PutResponse) XXX_Merge

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

func (*PutResponse) XXX_Size

func (m *PutResponse) XXX_Size() int

func (*PutResponse) XXX_Unmarshal

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

type QueryBlockRequest

type QueryBlockRequest struct {
	Header               *SyscallHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Blockid              string         `protobuf:"bytes,2,opt,name=blockid,proto3" json:"blockid,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*QueryBlockRequest) Descriptor

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

func (*QueryBlockRequest) GetBlockid

func (m *QueryBlockRequest) GetBlockid() string

func (*QueryBlockRequest) GetHeader

func (m *QueryBlockRequest) GetHeader() *SyscallHeader

func (*QueryBlockRequest) ProtoMessage

func (*QueryBlockRequest) ProtoMessage()

func (*QueryBlockRequest) Reset

func (m *QueryBlockRequest) Reset()

func (*QueryBlockRequest) String

func (m *QueryBlockRequest) String() string

func (*QueryBlockRequest) XXX_DiscardUnknown

func (m *QueryBlockRequest) XXX_DiscardUnknown()

func (*QueryBlockRequest) XXX_Marshal

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

func (*QueryBlockRequest) XXX_Merge

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

func (*QueryBlockRequest) XXX_Size

func (m *QueryBlockRequest) XXX_Size() int

func (*QueryBlockRequest) XXX_Unmarshal

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

type QueryBlockResponse

type QueryBlockResponse struct {
	// defined in user code
	Block                *Block   `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*QueryBlockResponse) Descriptor

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

func (*QueryBlockResponse) GetBlock

func (m *QueryBlockResponse) GetBlock() *Block

func (*QueryBlockResponse) ProtoMessage

func (*QueryBlockResponse) ProtoMessage()

func (*QueryBlockResponse) Reset

func (m *QueryBlockResponse) Reset()

func (*QueryBlockResponse) String

func (m *QueryBlockResponse) String() string

func (*QueryBlockResponse) XXX_DiscardUnknown

func (m *QueryBlockResponse) XXX_DiscardUnknown()

func (*QueryBlockResponse) XXX_Marshal

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

func (*QueryBlockResponse) XXX_Merge

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

func (*QueryBlockResponse) XXX_Size

func (m *QueryBlockResponse) XXX_Size() int

func (*QueryBlockResponse) XXX_Unmarshal

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

type QueryTxRequest

type QueryTxRequest struct {
	Header               *SyscallHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Txid                 string         `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*QueryTxRequest) Descriptor

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

func (*QueryTxRequest) GetHeader

func (m *QueryTxRequest) GetHeader() *SyscallHeader

func (*QueryTxRequest) GetTxid

func (m *QueryTxRequest) GetTxid() string

func (*QueryTxRequest) ProtoMessage

func (*QueryTxRequest) ProtoMessage()

func (*QueryTxRequest) Reset

func (m *QueryTxRequest) Reset()

func (*QueryTxRequest) String

func (m *QueryTxRequest) String() string

func (*QueryTxRequest) XXX_DiscardUnknown

func (m *QueryTxRequest) XXX_DiscardUnknown()

func (*QueryTxRequest) XXX_Marshal

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

func (*QueryTxRequest) XXX_Merge

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

func (*QueryTxRequest) XXX_Size

func (m *QueryTxRequest) XXX_Size() int

func (*QueryTxRequest) XXX_Unmarshal

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

type QueryTxResponse

type QueryTxResponse struct {
	// defined in user code
	Tx                   *Transaction `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*QueryTxResponse) Descriptor

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

func (*QueryTxResponse) GetTx

func (m *QueryTxResponse) GetTx() *Transaction

func (*QueryTxResponse) ProtoMessage

func (*QueryTxResponse) ProtoMessage()

func (*QueryTxResponse) Reset

func (m *QueryTxResponse) Reset()

func (*QueryTxResponse) String

func (m *QueryTxResponse) String() string

func (*QueryTxResponse) XXX_DiscardUnknown

func (m *QueryTxResponse) XXX_DiscardUnknown()

func (*QueryTxResponse) XXX_Marshal

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

func (*QueryTxResponse) XXX_Merge

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

func (*QueryTxResponse) XXX_Size

func (m *QueryTxResponse) XXX_Size() int

func (*QueryTxResponse) XXX_Unmarshal

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

type Response

type Response struct {
	Status               int32    `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	Message              string   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Body                 []byte   `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Response) Descriptor

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

func (*Response) GetBody

func (m *Response) GetBody() []byte

func (*Response) GetMessage

func (m *Response) GetMessage() string

func (*Response) GetStatus

func (m *Response) GetStatus() int32

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) String

func (m *Response) String() string

func (*Response) XXX_DiscardUnknown

func (m *Response) XXX_DiscardUnknown()

func (*Response) XXX_Marshal

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

func (*Response) XXX_Merge

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

func (*Response) XXX_Size

func (m *Response) XXX_Size() int

func (*Response) XXX_Unmarshal

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

type SetOutputRequest

type SetOutputRequest struct {
	Header               *SyscallHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Response             *Response      `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*SetOutputRequest) Descriptor

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

func (*SetOutputRequest) GetHeader

func (m *SetOutputRequest) GetHeader() *SyscallHeader

func (*SetOutputRequest) GetResponse

func (m *SetOutputRequest) GetResponse() *Response

func (*SetOutputRequest) ProtoMessage

func (*SetOutputRequest) ProtoMessage()

func (*SetOutputRequest) Reset

func (m *SetOutputRequest) Reset()

func (*SetOutputRequest) String

func (m *SetOutputRequest) String() string

func (*SetOutputRequest) XXX_DiscardUnknown

func (m *SetOutputRequest) XXX_DiscardUnknown()

func (*SetOutputRequest) XXX_Marshal

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

func (*SetOutputRequest) XXX_Merge

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

func (*SetOutputRequest) XXX_Size

func (m *SetOutputRequest) XXX_Size() int

func (*SetOutputRequest) XXX_Unmarshal

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

type SetOutputResponse

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

func (*SetOutputResponse) Descriptor

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

func (*SetOutputResponse) ProtoMessage

func (*SetOutputResponse) ProtoMessage()

func (*SetOutputResponse) Reset

func (m *SetOutputResponse) Reset()

func (*SetOutputResponse) String

func (m *SetOutputResponse) String() string

func (*SetOutputResponse) XXX_DiscardUnknown

func (m *SetOutputResponse) XXX_DiscardUnknown()

func (*SetOutputResponse) XXX_Marshal

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

func (*SetOutputResponse) XXX_Merge

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

func (*SetOutputResponse) XXX_Size

func (m *SetOutputResponse) XXX_Size() int

func (*SetOutputResponse) XXX_Unmarshal

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

type SyscallHeader

type SyscallHeader struct {
	Ctxid                int64    `protobuf:"varint,1,opt,name=ctxid,proto3" json:"ctxid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SyscallHeader) Descriptor

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

func (*SyscallHeader) GetCtxid

func (m *SyscallHeader) GetCtxid() int64

func (*SyscallHeader) ProtoMessage

func (*SyscallHeader) ProtoMessage()

func (*SyscallHeader) Reset

func (m *SyscallHeader) Reset()

func (*SyscallHeader) String

func (m *SyscallHeader) String() string

func (*SyscallHeader) XXX_DiscardUnknown

func (m *SyscallHeader) XXX_DiscardUnknown()

func (*SyscallHeader) XXX_Marshal

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

func (*SyscallHeader) XXX_Merge

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

func (*SyscallHeader) XXX_Size

func (m *SyscallHeader) XXX_Size() int

func (*SyscallHeader) XXX_Unmarshal

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

type Transaction

type Transaction struct {
	// txid is the id of this transaction
	Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
	// the blockid the transaction belong to
	Blockid string `protobuf:"bytes,2,opt,name=blockid,proto3" json:"blockid,omitempty"`
	// Transaction input list
	TxInputs []*TxInput `protobuf:"bytes,3,rep,name=tx_inputs,json=txInputs,proto3" json:"tx_inputs,omitempty"`
	// Transaction output list
	TxOutputs []*TxOutput `protobuf:"bytes,4,rep,name=tx_outputs,json=txOutputs,proto3" json:"tx_outputs,omitempty"`
	// Transaction description or system contract
	Desc []byte `protobuf:"bytes,6,opt,name=desc,proto3" json:"desc,omitempty"`
	// 权限系统新增字段
	// 交易发起者, 可以是一个Address或者一个Account
	Initiator string `protobuf:"bytes,26,opt,name=initiator,proto3" json:"initiator,omitempty"`
	// 交易发起需要被收集签名的AddressURL集合信息,包括用于utxo转账和用于合约调用
	AuthRequire          []string `protobuf:"bytes,27,rep,name=auth_require,json=authRequire,proto3" json:"auth_require,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Transaction is the information of the transaction

func (*Transaction) Descriptor

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

func (*Transaction) GetAuthRequire

func (m *Transaction) GetAuthRequire() []string

func (*Transaction) GetBlockid

func (m *Transaction) GetBlockid() string

func (*Transaction) GetDesc

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

func (*Transaction) GetInitiator

func (m *Transaction) GetInitiator() string

func (*Transaction) GetTxInputs

func (m *Transaction) GetTxInputs() []*TxInput

func (*Transaction) GetTxOutputs

func (m *Transaction) GetTxOutputs() []*TxOutput

func (*Transaction) GetTxid

func (m *Transaction) GetTxid() string

func (*Transaction) ProtoMessage

func (*Transaction) ProtoMessage()

func (*Transaction) Reset

func (m *Transaction) Reset()

func (*Transaction) String

func (m *Transaction) String() string

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 (m *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 TransferRequest

type TransferRequest struct {
	Header               *SyscallHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	From                 string         `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
	To                   string         `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
	Amount               string         `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*TransferRequest) Descriptor

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

func (*TransferRequest) GetAmount

func (m *TransferRequest) GetAmount() string

func (*TransferRequest) GetFrom

func (m *TransferRequest) GetFrom() string

func (*TransferRequest) GetHeader

func (m *TransferRequest) GetHeader() *SyscallHeader

func (*TransferRequest) GetTo

func (m *TransferRequest) GetTo() string

func (*TransferRequest) ProtoMessage

func (*TransferRequest) ProtoMessage()

func (*TransferRequest) Reset

func (m *TransferRequest) Reset()

func (*TransferRequest) String

func (m *TransferRequest) String() string

func (*TransferRequest) XXX_DiscardUnknown

func (m *TransferRequest) XXX_DiscardUnknown()

func (*TransferRequest) XXX_Marshal

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

func (*TransferRequest) XXX_Merge

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

func (*TransferRequest) XXX_Size

func (m *TransferRequest) XXX_Size() int

func (*TransferRequest) XXX_Unmarshal

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

type TransferResponse

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

func (*TransferResponse) Descriptor

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

func (*TransferResponse) ProtoMessage

func (*TransferResponse) ProtoMessage()

func (*TransferResponse) Reset

func (m *TransferResponse) Reset()

func (*TransferResponse) String

func (m *TransferResponse) String() string

func (*TransferResponse) XXX_DiscardUnknown

func (m *TransferResponse) XXX_DiscardUnknown()

func (*TransferResponse) XXX_Marshal

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

func (*TransferResponse) XXX_Merge

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

func (*TransferResponse) XXX_Size

func (m *TransferResponse) XXX_Size() int

func (*TransferResponse) XXX_Unmarshal

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

type TxInput

type TxInput struct {
	// The transaction id referenced to
	RefTxid string `protobuf:"bytes,1,opt,name=ref_txid,json=refTxid,proto3" json:"ref_txid,omitempty"`
	// The output offset of the transaction referenced to
	RefOffset int32 `protobuf:"varint,2,opt,name=ref_offset,json=refOffset,proto3" json:"ref_offset,omitempty"`
	// The address of the launcher
	FromAddr []byte `protobuf:"bytes,5,opt,name=from_addr,json=fromAddr,proto3" json:"from_addr,omitempty"`
	// The amount of the transaction
	Amount string `protobuf:"bytes,6,opt,name=amount,proto3" json:"amount,omitempty"`
	// Frozen height
	FrozenHeight         int64    `protobuf:"varint,7,opt,name=frozen_height,json=frozenHeight,proto3" json:"frozen_height,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Transaction input

func (*TxInput) Descriptor

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

func (*TxInput) GetAmount

func (m *TxInput) GetAmount() string

func (*TxInput) GetFromAddr

func (m *TxInput) GetFromAddr() []byte

func (*TxInput) GetFrozenHeight

func (m *TxInput) GetFrozenHeight() int64

func (*TxInput) GetRefOffset

func (m *TxInput) GetRefOffset() int32

func (*TxInput) GetRefTxid

func (m *TxInput) GetRefTxid() string

func (*TxInput) ProtoMessage

func (*TxInput) ProtoMessage()

func (*TxInput) Reset

func (m *TxInput) Reset()

func (*TxInput) String

func (m *TxInput) String() string

func (*TxInput) XXX_DiscardUnknown

func (m *TxInput) XXX_DiscardUnknown()

func (*TxInput) XXX_Marshal

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

func (*TxInput) XXX_Merge

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

func (*TxInput) XXX_Size

func (m *TxInput) XXX_Size() int

func (*TxInput) XXX_Unmarshal

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

type TxOutput

type TxOutput struct {
	// The amount of the transaction
	Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
	// The address of the launcher
	ToAddr []byte `protobuf:"bytes,2,opt,name=to_addr,json=toAddr,proto3" json:"to_addr,omitempty"`
	// Fronzen height
	FrozenHeight         int64    `protobuf:"varint,4,opt,name=frozen_height,json=frozenHeight,proto3" json:"frozen_height,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Transaction output

func (*TxOutput) Descriptor

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

func (*TxOutput) GetAmount

func (m *TxOutput) GetAmount() string

func (*TxOutput) GetFrozenHeight

func (m *TxOutput) GetFrozenHeight() int64

func (*TxOutput) GetToAddr

func (m *TxOutput) GetToAddr() []byte

func (*TxOutput) ProtoMessage

func (*TxOutput) ProtoMessage()

func (*TxOutput) Reset

func (m *TxOutput) Reset()

func (*TxOutput) String

func (m *TxOutput) String() string

func (*TxOutput) XXX_DiscardUnknown

func (m *TxOutput) XXX_DiscardUnknown()

func (*TxOutput) XXX_Marshal

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

func (*TxOutput) XXX_Merge

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

func (*TxOutput) XXX_Size

func (m *TxOutput) XXX_Size() int

func (*TxOutput) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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