pb

package
v0.0.0-...-d9e9996 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

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 []byte `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 []byte `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"`
	// 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             []byte   `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() []byte

func (*Block) GetPreHash

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

func (*Block) GetProposer

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

func (*Block) GetPubkey

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

func (*Block) GetSign

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

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"`
	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) GetInitiator

func (m *CallArgs) GetInitiator() string

func (*CallArgs) GetMethod

func (m *CallArgs) GetMethod() 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 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 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则采用AmpChain的默认配置
	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 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"`
	To                   string         `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	Amount               string         `protobuf:"bytes,3,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) 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 []byte `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 []byte `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() []byte

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() []byte

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 []byte `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() []byte

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