corepb

package
v0.0.0-...-84d53aa Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2019 License: GPL-3.0 Imports: 3 Imported by: 22

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	Address              []byte   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Balance              []byte   `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"`
	Nonce                uint64   `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Staking              []byte   `protobuf:"bytes,11,opt,name=staking,proto3" json:"staking,omitempty"`
	VotedRootHash        []byte   `protobuf:"bytes,12,opt,name=voted_root_hash,json=votedRootHash,proto3" json:"voted_root_hash,omitempty"`
	CandidateId          []byte   `protobuf:"bytes,13,opt,name=candidate_id,json=candidateId,proto3" json:"candidate_id,omitempty"`
	Bandwidth            []byte   `protobuf:"bytes,14,opt,name=bandwidth,proto3" json:"bandwidth,omitempty"`
	LastBandwidthTs      int64    `protobuf:"varint,15,opt,name=last_bandwidth_ts,json=lastBandwidthTs,proto3" json:"last_bandwidth_ts,omitempty"`
	Unstaking            []byte   `protobuf:"bytes,16,opt,name=unstaking,proto3" json:"unstaking,omitempty"`
	LastUnstakingTs      int64    `protobuf:"varint,17,opt,name=last_unstaking_ts,json=lastUnstakingTs,proto3" json:"last_unstaking_ts,omitempty"`
	DataRootHash         []byte   `protobuf:"bytes,40,opt,name=data_root_hash,json=dataRootHash,proto3" json:"data_root_hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Account) Descriptor

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

func (*Account) GetAddress

func (m *Account) GetAddress() []byte

func (*Account) GetBalance

func (m *Account) GetBalance() []byte

func (*Account) GetBandwidth

func (m *Account) GetBandwidth() []byte

func (*Account) GetCandidateId

func (m *Account) GetCandidateId() []byte

func (*Account) GetDataRootHash

func (m *Account) GetDataRootHash() []byte

func (*Account) GetLastBandwidthTs

func (m *Account) GetLastBandwidthTs() int64

func (*Account) GetLastUnstakingTs

func (m *Account) GetLastUnstakingTs() int64

func (*Account) GetNonce

func (m *Account) GetNonce() uint64

func (*Account) GetStaking

func (m *Account) GetStaking() []byte

func (*Account) GetUnstaking

func (m *Account) GetUnstaking() []byte

func (*Account) GetVotedRootHash

func (m *Account) GetVotedRootHash() []byte

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) Reset

func (m *Account) Reset()

func (*Account) String

func (m *Account) String() string

func (*Account) XXX_DiscardUnknown

func (m *Account) XXX_DiscardUnknown()

func (*Account) XXX_Marshal

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

func (*Account) XXX_Merge

func (dst *Account) XXX_Merge(src proto.Message)

func (*Account) XXX_Size

func (m *Account) XXX_Size() int

func (*Account) XXX_Unmarshal

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

type AddCertificationPayload

type AddCertificationPayload struct {
	IssueTime            int64    `protobuf:"varint,1,opt,name=issue_time,json=issueTime,proto3" json:"issue_time,omitempty"`
	ExpirationTime       int64    `protobuf:"varint,2,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
	Hash                 []byte   `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddCertificationPayload) Descriptor

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

func (*AddCertificationPayload) GetExpirationTime

func (m *AddCertificationPayload) GetExpirationTime() int64

func (*AddCertificationPayload) GetHash

func (m *AddCertificationPayload) GetHash() []byte

func (*AddCertificationPayload) GetIssueTime

func (m *AddCertificationPayload) GetIssueTime() int64

func (*AddCertificationPayload) ProtoMessage

func (*AddCertificationPayload) ProtoMessage()

func (*AddCertificationPayload) Reset

func (m *AddCertificationPayload) Reset()

func (*AddCertificationPayload) String

func (m *AddCertificationPayload) String() string

func (*AddCertificationPayload) XXX_DiscardUnknown

func (m *AddCertificationPayload) XXX_DiscardUnknown()

func (*AddCertificationPayload) XXX_Marshal

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

func (*AddCertificationPayload) XXX_Merge

func (dst *AddCertificationPayload) XXX_Merge(src proto.Message)

func (*AddCertificationPayload) XXX_Size

func (m *AddCertificationPayload) XXX_Size() int

func (*AddCertificationPayload) XXX_Unmarshal

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

type AddRecordPayload

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

func (*AddRecordPayload) Descriptor

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

func (*AddRecordPayload) GetHash

func (m *AddRecordPayload) GetHash() []byte

func (*AddRecordPayload) ProtoMessage

func (*AddRecordPayload) ProtoMessage()

func (*AddRecordPayload) Reset

func (m *AddRecordPayload) Reset()

func (*AddRecordPayload) String

func (m *AddRecordPayload) String() string

func (*AddRecordPayload) XXX_DiscardUnknown

func (m *AddRecordPayload) XXX_DiscardUnknown()

func (*AddRecordPayload) XXX_Marshal

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

func (*AddRecordPayload) XXX_Merge

func (dst *AddRecordPayload) XXX_Merge(src proto.Message)

func (*AddRecordPayload) XXX_Size

func (m *AddRecordPayload) XXX_Size() int

func (*AddRecordPayload) XXX_Unmarshal

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

type Alias

type Alias struct {
	AliasName            string   `protobuf:"bytes,1,opt,name=alias_name,json=aliasName,proto3" json:"alias_name,omitempty"`
	AliasCollateral      []byte   `protobuf:"bytes,2,opt,name=alias_collateral,json=aliasCollateral,proto3" json:"alias_collateral,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Alias) Descriptor

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

func (*Alias) GetAliasCollateral

func (m *Alias) GetAliasCollateral() []byte

func (*Alias) GetAliasName

func (m *Alias) GetAliasName() string

func (*Alias) ProtoMessage

func (*Alias) ProtoMessage()

func (*Alias) Reset

func (m *Alias) Reset()

func (*Alias) String

func (m *Alias) String() string

func (*Alias) XXX_DiscardUnknown

func (m *Alias) XXX_DiscardUnknown()

func (*Alias) XXX_Marshal

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

func (*Alias) XXX_Merge

func (dst *Alias) XXX_Merge(src proto.Message)

func (*Alias) XXX_Size

func (m *Alias) XXX_Size() int

func (*Alias) XXX_Unmarshal

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

type AliasAccount

type AliasAccount struct {
	Account              []byte   `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Alias                string   `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AliasAccount) Descriptor

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

func (*AliasAccount) GetAccount

func (m *AliasAccount) GetAccount() []byte

func (*AliasAccount) GetAlias

func (m *AliasAccount) GetAlias() string

func (*AliasAccount) ProtoMessage

func (*AliasAccount) ProtoMessage()

func (*AliasAccount) Reset

func (m *AliasAccount) Reset()

func (*AliasAccount) String

func (m *AliasAccount) String() string

func (*AliasAccount) XXX_DiscardUnknown

func (m *AliasAccount) XXX_DiscardUnknown()

func (*AliasAccount) XXX_Marshal

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

func (*AliasAccount) XXX_Merge

func (dst *AliasAccount) XXX_Merge(src proto.Message)

func (*AliasAccount) XXX_Size

func (m *AliasAccount) XXX_Size() int

func (*AliasAccount) XXX_Unmarshal

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

type Block

type Block struct {
	Header               *BlockHeader   `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"`
	Transactions         []*Transaction `protobuf:"bytes,2,rep,name=transactions" json:"transactions,omitempty"`
	Height               uint64         `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*Block) Descriptor

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

func (*Block) GetHeader

func (m *Block) GetHeader() *BlockHeader

func (*Block) GetHeight

func (m *Block) GetHeight() uint64

func (*Block) GetTransactions

func (m *Block) GetTransactions() []*Transaction

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 (dst *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 BlockHashTarget

type BlockHashTarget struct {
	ParentHash           []byte   `protobuf:"bytes,2,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty"`
	Coinbase             []byte   `protobuf:"bytes,3,opt,name=coinbase,proto3" json:"coinbase,omitempty"`
	Reward               []byte   `protobuf:"bytes,4,opt,name=reward,proto3" json:"reward,omitempty"`
	Supply               []byte   `protobuf:"bytes,5,opt,name=supply,proto3" json:"supply,omitempty"`
	Timestamp            int64    `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	ChainId              uint32   `protobuf:"varint,7,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	AccStateRoot         []byte   `protobuf:"bytes,21,opt,name=acc_state_root,json=accStateRoot,proto3" json:"acc_state_root,omitempty"`
	TxStateRoot          []byte   `protobuf:"bytes,22,opt,name=tx_state_root,json=txStateRoot,proto3" json:"tx_state_root,omitempty"`
	DposRoot             []byte   `protobuf:"bytes,23,opt,name=dpos_root,json=dposRoot,proto3" json:"dpos_root,omitempty"`
	CpuPrice             []byte   `protobuf:"bytes,30,opt,name=cpu_price,json=cpuPrice,proto3" json:"cpu_price,omitempty"`
	CpuUsage             uint64   `protobuf:"varint,31,opt,name=cpu_usage,json=cpuUsage,proto3" json:"cpu_usage,omitempty"`
	NetPrice             []byte   `protobuf:"bytes,32,opt,name=net_price,json=netPrice,proto3" json:"net_price,omitempty"`
	NetUsage             uint64   `protobuf:"varint,33,opt,name=net_usage,json=netUsage,proto3" json:"net_usage,omitempty"`
	TxHash               [][]byte `protobuf:"bytes,40,rep,name=tx_hash,json=txHash" json:"tx_hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BlockHashTarget) Descriptor

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

func (*BlockHashTarget) GetAccStateRoot

func (m *BlockHashTarget) GetAccStateRoot() []byte

func (*BlockHashTarget) GetChainId

func (m *BlockHashTarget) GetChainId() uint32

func (*BlockHashTarget) GetCoinbase

func (m *BlockHashTarget) GetCoinbase() []byte

func (*BlockHashTarget) GetCpuPrice

func (m *BlockHashTarget) GetCpuPrice() []byte

func (*BlockHashTarget) GetCpuUsage

func (m *BlockHashTarget) GetCpuUsage() uint64

func (*BlockHashTarget) GetDposRoot

func (m *BlockHashTarget) GetDposRoot() []byte

func (*BlockHashTarget) GetNetPrice

func (m *BlockHashTarget) GetNetPrice() []byte

func (*BlockHashTarget) GetNetUsage

func (m *BlockHashTarget) GetNetUsage() uint64

func (*BlockHashTarget) GetParentHash

func (m *BlockHashTarget) GetParentHash() []byte

func (*BlockHashTarget) GetReward

func (m *BlockHashTarget) GetReward() []byte

func (*BlockHashTarget) GetSupply

func (m *BlockHashTarget) GetSupply() []byte

func (*BlockHashTarget) GetTimestamp

func (m *BlockHashTarget) GetTimestamp() int64

func (*BlockHashTarget) GetTxHash

func (m *BlockHashTarget) GetTxHash() [][]byte

func (*BlockHashTarget) GetTxStateRoot

func (m *BlockHashTarget) GetTxStateRoot() []byte

func (*BlockHashTarget) ProtoMessage

func (*BlockHashTarget) ProtoMessage()

func (*BlockHashTarget) Reset

func (m *BlockHashTarget) Reset()

func (*BlockHashTarget) String

func (m *BlockHashTarget) String() string

func (*BlockHashTarget) XXX_DiscardUnknown

func (m *BlockHashTarget) XXX_DiscardUnknown()

func (*BlockHashTarget) XXX_Marshal

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

func (*BlockHashTarget) XXX_Merge

func (dst *BlockHashTarget) XXX_Merge(src proto.Message)

func (*BlockHashTarget) XXX_Size

func (m *BlockHashTarget) XXX_Size() int

func (*BlockHashTarget) XXX_Unmarshal

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

type BlockHeader

type BlockHeader struct {
	Hash                 []byte   `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	ParentHash           []byte   `protobuf:"bytes,2,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty"`
	Coinbase             []byte   `protobuf:"bytes,3,opt,name=coinbase,proto3" json:"coinbase,omitempty"`
	Reward               []byte   `protobuf:"bytes,4,opt,name=reward,proto3" json:"reward,omitempty"`
	Supply               []byte   `protobuf:"bytes,5,opt,name=supply,proto3" json:"supply,omitempty"`
	Timestamp            int64    `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	ChainId              uint32   `protobuf:"varint,7,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Sign                 []byte   `protobuf:"bytes,12,opt,name=sign,proto3" json:"sign,omitempty"`
	AccStateRoot         []byte   `protobuf:"bytes,21,opt,name=acc_state_root,json=accStateRoot,proto3" json:"acc_state_root,omitempty"`
	TxStateRoot          []byte   `protobuf:"bytes,22,opt,name=tx_state_root,json=txStateRoot,proto3" json:"tx_state_root,omitempty"`
	DposRoot             []byte   `protobuf:"bytes,23,opt,name=dpos_root,json=dposRoot,proto3" json:"dpos_root,omitempty"`
	CpuPrice             []byte   `protobuf:"bytes,30,opt,name=cpu_price,json=cpuPrice,proto3" json:"cpu_price,omitempty"`
	CpuUsage             uint64   `protobuf:"varint,31,opt,name=cpu_usage,json=cpuUsage,proto3" json:"cpu_usage,omitempty"`
	NetPrice             []byte   `protobuf:"bytes,32,opt,name=net_price,json=netPrice,proto3" json:"net_price,omitempty"`
	NetUsage             uint64   `protobuf:"varint,33,opt,name=net_usage,json=netUsage,proto3" json:"net_usage,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BlockHeader) Descriptor

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

func (*BlockHeader) GetAccStateRoot

func (m *BlockHeader) GetAccStateRoot() []byte

func (*BlockHeader) GetChainId

func (m *BlockHeader) GetChainId() uint32

func (*BlockHeader) GetCoinbase

func (m *BlockHeader) GetCoinbase() []byte

func (*BlockHeader) GetCpuPrice

func (m *BlockHeader) GetCpuPrice() []byte

func (*BlockHeader) GetCpuUsage

func (m *BlockHeader) GetCpuUsage() uint64

func (*BlockHeader) GetDposRoot

func (m *BlockHeader) GetDposRoot() []byte

func (*BlockHeader) GetHash

func (m *BlockHeader) GetHash() []byte

func (*BlockHeader) GetNetPrice

func (m *BlockHeader) GetNetPrice() []byte

func (*BlockHeader) GetNetUsage

func (m *BlockHeader) GetNetUsage() uint64

func (*BlockHeader) GetParentHash

func (m *BlockHeader) GetParentHash() []byte

func (*BlockHeader) GetReward

func (m *BlockHeader) GetReward() []byte

func (*BlockHeader) GetSign

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

func (*BlockHeader) GetSupply

func (m *BlockHeader) GetSupply() []byte

func (*BlockHeader) GetTimestamp

func (m *BlockHeader) GetTimestamp() int64

func (*BlockHeader) GetTxStateRoot

func (m *BlockHeader) GetTxStateRoot() []byte

func (*BlockHeader) ProtoMessage

func (*BlockHeader) ProtoMessage()

func (*BlockHeader) Reset

func (m *BlockHeader) Reset()

func (*BlockHeader) String

func (m *BlockHeader) String() string

func (*BlockHeader) XXX_DiscardUnknown

func (m *BlockHeader) XXX_DiscardUnknown()

func (*BlockHeader) XXX_Marshal

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

func (*BlockHeader) XXX_Merge

func (dst *BlockHeader) XXX_Merge(src proto.Message)

func (*BlockHeader) XXX_Size

func (m *BlockHeader) XXX_Size() int

func (*BlockHeader) XXX_Unmarshal

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

type Certification

type Certification struct {
	CertificateHash      []byte   `protobuf:"bytes,1,opt,name=certificate_hash,json=certificateHash,proto3" json:"certificate_hash,omitempty"`
	Issuer               []byte   `protobuf:"bytes,2,opt,name=issuer,proto3" json:"issuer,omitempty"`
	Certified            []byte   `protobuf:"bytes,3,opt,name=certified,proto3" json:"certified,omitempty"`
	IssueTime            int64    `protobuf:"varint,4,opt,name=issue_time,json=issueTime,proto3" json:"issue_time,omitempty"`
	ExpirationTime       int64    `protobuf:"varint,5,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"`
	RevocationTime       int64    `protobuf:"varint,6,opt,name=revocation_time,json=revocationTime,proto3" json:"revocation_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Certification) Descriptor

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

func (*Certification) GetCertificateHash

func (m *Certification) GetCertificateHash() []byte

func (*Certification) GetCertified

func (m *Certification) GetCertified() []byte

func (*Certification) GetExpirationTime

func (m *Certification) GetExpirationTime() int64

func (*Certification) GetIssueTime

func (m *Certification) GetIssueTime() int64

func (*Certification) GetIssuer

func (m *Certification) GetIssuer() []byte

func (*Certification) GetRevocationTime

func (m *Certification) GetRevocationTime() int64

func (*Certification) ProtoMessage

func (*Certification) ProtoMessage()

func (*Certification) Reset

func (m *Certification) Reset()

func (*Certification) String

func (m *Certification) String() string

func (*Certification) XXX_DiscardUnknown

func (m *Certification) XXX_DiscardUnknown()

func (*Certification) XXX_Marshal

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

func (*Certification) XXX_Merge

func (dst *Certification) XXX_Merge(src proto.Message)

func (*Certification) XXX_Size

func (m *Certification) XXX_Size() int

func (*Certification) XXX_Unmarshal

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

type DataState

type DataState struct {
	TxStateRootHash            []byte   `protobuf:"bytes,1,opt,name=tx_state_root_hash,json=txStateRootHash,proto3" json:"tx_state_root_hash,omitempty"`
	RecordStateRootHash        []byte   `protobuf:"bytes,2,opt,name=record_state_root_hash,json=recordStateRootHash,proto3" json:"record_state_root_hash,omitempty"`
	CertificationStateRootHash []byte   `` /* 143-byte string literal not displayed */
	XXX_NoUnkeyedLiteral       struct{} `json:"-"`
	XXX_unrecognized           []byte   `json:"-"`
	XXX_sizecache              int32    `json:"-"`
}

func (*DataState) Descriptor

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

func (*DataState) GetCertificationStateRootHash

func (m *DataState) GetCertificationStateRootHash() []byte

func (*DataState) GetRecordStateRootHash

func (m *DataState) GetRecordStateRootHash() []byte

func (*DataState) GetTxStateRootHash

func (m *DataState) GetTxStateRootHash() []byte

func (*DataState) ProtoMessage

func (*DataState) ProtoMessage()

func (*DataState) Reset

func (m *DataState) Reset()

func (*DataState) String

func (m *DataState) String() string

func (*DataState) XXX_DiscardUnknown

func (m *DataState) XXX_DiscardUnknown()

func (*DataState) XXX_Marshal

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

func (*DataState) XXX_Merge

func (dst *DataState) XXX_Merge(src proto.Message)

func (*DataState) XXX_Size

func (m *DataState) XXX_Size() int

func (*DataState) XXX_Unmarshal

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

type DefaultPayload

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

func (*DefaultPayload) Descriptor

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

func (*DefaultPayload) GetMessage

func (m *DefaultPayload) GetMessage() string

func (*DefaultPayload) ProtoMessage

func (*DefaultPayload) ProtoMessage()

func (*DefaultPayload) Reset

func (m *DefaultPayload) Reset()

func (*DefaultPayload) String

func (m *DefaultPayload) String() string

func (*DefaultPayload) XXX_DiscardUnknown

func (m *DefaultPayload) XXX_DiscardUnknown()

func (*DefaultPayload) XXX_Marshal

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

func (*DefaultPayload) XXX_Merge

func (dst *DefaultPayload) XXX_Merge(src proto.Message)

func (*DefaultPayload) XXX_Size

func (m *DefaultPayload) XXX_Size() int

func (*DefaultPayload) XXX_Unmarshal

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

type DownloadParentBlock

type DownloadParentBlock struct {
	Hash                 []byte   `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Sign                 []byte   `protobuf:"bytes,2,opt,name=sign,proto3" json:"sign,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DownloadParentBlock) Descriptor

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

func (*DownloadParentBlock) GetHash

func (m *DownloadParentBlock) GetHash() []byte

func (*DownloadParentBlock) GetSign

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

func (*DownloadParentBlock) ProtoMessage

func (*DownloadParentBlock) ProtoMessage()

func (*DownloadParentBlock) Reset

func (m *DownloadParentBlock) Reset()

func (*DownloadParentBlock) String

func (m *DownloadParentBlock) String() string

func (*DownloadParentBlock) XXX_DiscardUnknown

func (m *DownloadParentBlock) XXX_DiscardUnknown()

func (*DownloadParentBlock) XXX_Marshal

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

func (*DownloadParentBlock) XXX_Merge

func (dst *DownloadParentBlock) XXX_Merge(src proto.Message)

func (*DownloadParentBlock) XXX_Size

func (m *DownloadParentBlock) XXX_Size() int

func (*DownloadParentBlock) XXX_Unmarshal

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

type Genesis

type Genesis struct {
	// genesis meta
	Meta *GenesisMeta `protobuf:"bytes,1,opt,name=meta" json:"meta,omitempty"`
	// genesis transactions
	Transactions         []*Transaction `protobuf:"bytes,2,rep,name=transactions" json:"transactions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*Genesis) Descriptor

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

func (*Genesis) GetMeta

func (m *Genesis) GetMeta() *GenesisMeta

func (*Genesis) GetTransactions

func (m *Genesis) GetTransactions() []*Transaction

func (*Genesis) ProtoMessage

func (*Genesis) ProtoMessage()

func (*Genesis) Reset

func (m *Genesis) Reset()

func (*Genesis) String

func (m *Genesis) String() string

func (*Genesis) XXX_DiscardUnknown

func (m *Genesis) XXX_DiscardUnknown()

func (*Genesis) XXX_Marshal

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

func (*Genesis) XXX_Merge

func (dst *Genesis) XXX_Merge(src proto.Message)

func (*Genesis) XXX_Size

func (m *Genesis) XXX_Size() int

func (*Genesis) XXX_Unmarshal

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

type GenesisMeta

type GenesisMeta struct {
	// ChainID.
	ChainId uint32 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// Dynasty size.
	DynastySize          uint32   `protobuf:"varint,2,opt,name=dynasty_size,json=dynastySize,proto3" json:"dynasty_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GenesisMeta) Descriptor

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

func (*GenesisMeta) GetChainId

func (m *GenesisMeta) GetChainId() uint32

func (*GenesisMeta) GetDynastySize

func (m *GenesisMeta) GetDynastySize() uint32

func (*GenesisMeta) ProtoMessage

func (*GenesisMeta) ProtoMessage()

func (*GenesisMeta) Reset

func (m *GenesisMeta) Reset()

func (*GenesisMeta) String

func (m *GenesisMeta) String() string

func (*GenesisMeta) XXX_DiscardUnknown

func (m *GenesisMeta) XXX_DiscardUnknown()

func (*GenesisMeta) XXX_Marshal

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

func (*GenesisMeta) XXX_Merge

func (dst *GenesisMeta) XXX_Merge(src proto.Message)

func (*GenesisMeta) XXX_Size

func (m *GenesisMeta) XXX_Size() int

func (*GenesisMeta) XXX_Unmarshal

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

type Receipt

type Receipt struct {
	Executed             bool     `protobuf:"varint,1,opt,name=executed,proto3" json:"executed,omitempty"`
	Timestamp            int64    `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Height               uint64   `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	CpuUsage             uint64   `protobuf:"varint,11,opt,name=cpu_usage,json=cpuUsage,proto3" json:"cpu_usage,omitempty"`
	NetUsage             uint64   `protobuf:"varint,12,opt,name=net_usage,json=netUsage,proto3" json:"net_usage,omitempty"`
	Points               []byte   `protobuf:"bytes,13,opt,name=points,proto3" json:"points,omitempty"`
	Error                []byte   `protobuf:"bytes,21,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Receipt) Descriptor

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

func (*Receipt) GetCpuUsage

func (m *Receipt) GetCpuUsage() uint64

func (*Receipt) GetError

func (m *Receipt) GetError() []byte

func (*Receipt) GetExecuted

func (m *Receipt) GetExecuted() bool

func (*Receipt) GetHeight

func (m *Receipt) GetHeight() uint64

func (*Receipt) GetNetUsage

func (m *Receipt) GetNetUsage() uint64

func (*Receipt) GetPoints

func (m *Receipt) GetPoints() []byte

func (*Receipt) GetTimestamp

func (m *Receipt) GetTimestamp() int64

func (*Receipt) ProtoMessage

func (*Receipt) ProtoMessage()

func (*Receipt) Reset

func (m *Receipt) Reset()

func (*Receipt) String

func (m *Receipt) String() string

func (*Receipt) XXX_DiscardUnknown

func (m *Receipt) XXX_DiscardUnknown()

func (*Receipt) XXX_Marshal

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

func (*Receipt) XXX_Merge

func (dst *Receipt) XXX_Merge(src proto.Message)

func (*Receipt) XXX_Size

func (m *Receipt) XXX_Size() int

func (*Receipt) XXX_Unmarshal

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

type Record

type Record struct {
	RecordHash           []byte   `protobuf:"bytes,1,opt,name=record_hash,json=recordHash,proto3" json:"record_hash,omitempty"`
	Owner                []byte   `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	Timestamp            int64    `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Record) Descriptor

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

func (*Record) GetOwner

func (m *Record) GetOwner() []byte

func (*Record) GetRecordHash

func (m *Record) GetRecordHash() []byte

func (*Record) GetTimestamp

func (m *Record) GetTimestamp() int64

func (*Record) ProtoMessage

func (*Record) ProtoMessage()

func (*Record) Reset

func (m *Record) Reset()

func (*Record) String

func (m *Record) String() string

func (*Record) XXX_DiscardUnknown

func (m *Record) XXX_DiscardUnknown()

func (*Record) XXX_Marshal

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

func (*Record) XXX_Merge

func (dst *Record) XXX_Merge(src proto.Message)

func (*Record) XXX_Size

func (m *Record) XXX_Size() int

func (*Record) XXX_Unmarshal

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

type RegisterAliasPayload

type RegisterAliasPayload struct {
	AliasName            string   `protobuf:"bytes,1,opt,name=alias_name,json=aliasName,proto3" json:"alias_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RegisterAliasPayload) Descriptor

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

func (*RegisterAliasPayload) GetAliasName

func (m *RegisterAliasPayload) GetAliasName() string

func (*RegisterAliasPayload) ProtoMessage

func (*RegisterAliasPayload) ProtoMessage()

func (*RegisterAliasPayload) Reset

func (m *RegisterAliasPayload) Reset()

func (*RegisterAliasPayload) String

func (m *RegisterAliasPayload) String() string

func (*RegisterAliasPayload) XXX_DiscardUnknown

func (m *RegisterAliasPayload) XXX_DiscardUnknown()

func (*RegisterAliasPayload) XXX_Marshal

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

func (*RegisterAliasPayload) XXX_Merge

func (dst *RegisterAliasPayload) XXX_Merge(src proto.Message)

func (*RegisterAliasPayload) XXX_Size

func (m *RegisterAliasPayload) XXX_Size() int

func (*RegisterAliasPayload) XXX_Unmarshal

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

type RevokeCertificationPayload

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

func (*RevokeCertificationPayload) Descriptor

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

func (*RevokeCertificationPayload) GetHash

func (m *RevokeCertificationPayload) GetHash() []byte

func (*RevokeCertificationPayload) ProtoMessage

func (*RevokeCertificationPayload) ProtoMessage()

func (*RevokeCertificationPayload) Reset

func (m *RevokeCertificationPayload) Reset()

func (*RevokeCertificationPayload) String

func (m *RevokeCertificationPayload) String() string

func (*RevokeCertificationPayload) XXX_DiscardUnknown

func (m *RevokeCertificationPayload) XXX_DiscardUnknown()

func (*RevokeCertificationPayload) XXX_Marshal

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

func (*RevokeCertificationPayload) XXX_Merge

func (dst *RevokeCertificationPayload) XXX_Merge(src proto.Message)

func (*RevokeCertificationPayload) XXX_Size

func (m *RevokeCertificationPayload) XXX_Size() int

func (*RevokeCertificationPayload) XXX_Unmarshal

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

type Transaction

type Transaction struct {
	Hash                 []byte   `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	TxType               string   `protobuf:"bytes,2,opt,name=tx_type,json=txType,proto3" json:"tx_type,omitempty"`
	To                   []byte   `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
	Value                []byte   `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	Nonce                uint64   `protobuf:"varint,5,opt,name=nonce,proto3" json:"nonce,omitempty"`
	ChainId              uint32   `protobuf:"varint,6,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Payload              []byte   `protobuf:"bytes,10,opt,name=payload,proto3" json:"payload,omitempty"`
	Sign                 []byte   `protobuf:"bytes,22,opt,name=sign,proto3" json:"sign,omitempty"`
	PayerSign            []byte   `protobuf:"bytes,23,opt,name=payerSign,proto3" json:"payerSign,omitempty"`
	Receipt              *Receipt `protobuf:"bytes,30,opt,name=receipt" json:"receipt,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Transaction) Descriptor

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

func (*Transaction) GetChainId

func (m *Transaction) GetChainId() uint32

func (*Transaction) GetHash

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

func (*Transaction) GetNonce

func (m *Transaction) GetNonce() uint64

func (*Transaction) GetPayerSign

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

func (*Transaction) GetPayload

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

func (*Transaction) GetReceipt

func (m *Transaction) GetReceipt() *Receipt

func (*Transaction) GetSign

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

func (*Transaction) GetTo

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

func (*Transaction) GetTxType

func (m *Transaction) GetTxType() string

func (*Transaction) GetValue

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

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 (dst *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 TransactionHashTarget

type TransactionHashTarget struct {
	TxType               string   `protobuf:"bytes,1,opt,name=tx_type,json=txType,proto3" json:"tx_type,omitempty"`
	From                 []byte   `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
	To                   []byte   `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
	Value                []byte   `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	Nonce                uint64   `protobuf:"varint,5,opt,name=nonce,proto3" json:"nonce,omitempty"`
	ChainId              uint32   `protobuf:"varint,6,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Payload              []byte   `protobuf:"bytes,10,opt,name=payload,proto3" json:"payload,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TransactionHashTarget) Descriptor

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

func (*TransactionHashTarget) GetChainId

func (m *TransactionHashTarget) GetChainId() uint32

func (*TransactionHashTarget) GetFrom

func (m *TransactionHashTarget) GetFrom() []byte

func (*TransactionHashTarget) GetNonce

func (m *TransactionHashTarget) GetNonce() uint64

func (*TransactionHashTarget) GetPayload

func (m *TransactionHashTarget) GetPayload() []byte

func (*TransactionHashTarget) GetTo

func (m *TransactionHashTarget) GetTo() []byte

func (*TransactionHashTarget) GetTxType

func (m *TransactionHashTarget) GetTxType() string

func (*TransactionHashTarget) GetValue

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

func (*TransactionHashTarget) ProtoMessage

func (*TransactionHashTarget) ProtoMessage()

func (*TransactionHashTarget) Reset

func (m *TransactionHashTarget) Reset()

func (*TransactionHashTarget) String

func (m *TransactionHashTarget) String() string

func (*TransactionHashTarget) XXX_DiscardUnknown

func (m *TransactionHashTarget) XXX_DiscardUnknown()

func (*TransactionHashTarget) XXX_Marshal

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

func (*TransactionHashTarget) XXX_Merge

func (dst *TransactionHashTarget) XXX_Merge(src proto.Message)

func (*TransactionHashTarget) XXX_Size

func (m *TransactionHashTarget) XXX_Size() int

func (*TransactionHashTarget) XXX_Unmarshal

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

type TransactionPayerSignTarget

type TransactionPayerSignTarget struct {
	Hash                 []byte   `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Sign                 []byte   `protobuf:"bytes,2,opt,name=sign,proto3" json:"sign,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TransactionPayerSignTarget) Descriptor

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

func (*TransactionPayerSignTarget) GetHash

func (m *TransactionPayerSignTarget) GetHash() []byte

func (*TransactionPayerSignTarget) GetSign

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

func (*TransactionPayerSignTarget) ProtoMessage

func (*TransactionPayerSignTarget) ProtoMessage()

func (*TransactionPayerSignTarget) Reset

func (m *TransactionPayerSignTarget) Reset()

func (*TransactionPayerSignTarget) String

func (m *TransactionPayerSignTarget) String() string

func (*TransactionPayerSignTarget) XXX_DiscardUnknown

func (m *TransactionPayerSignTarget) XXX_DiscardUnknown()

func (*TransactionPayerSignTarget) XXX_Marshal

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

func (*TransactionPayerSignTarget) XXX_Merge

func (dst *TransactionPayerSignTarget) XXX_Merge(src proto.Message)

func (*TransactionPayerSignTarget) XXX_Size

func (m *TransactionPayerSignTarget) XXX_Size() int

func (*TransactionPayerSignTarget) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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