corepb

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2019 License: LGPL-3.0 Imports: 5 Imported by: 10

Documentation

Overview

Package corepb is a generated protocol buffer package.

It is generated from these files:

access.proto

It has these top-level messages:

Access
Whitelist
Blacklist
Contract
Nrc20List

Package corepb is a generated protocol buffer package.

It is generated from these files:

block.proto

It has these top-level messages:

Account
ContractMeta
Data
Transaction
BlockHeader
Block
NetBlocks
NetBlock
DownloadBlock
Random

Package corepb is a generated protocol buffer package.

It is generated from these files:

dynasty.proto

It has these top-level messages:

Dynasty
DynastyMeta
DynastyCandidate

Package corepb is a generated protocol buffer package.

It is generated from these files:

genesis.proto

It has these top-level messages:

Genesis
GenesisMeta
GenesisConsensus
GenesisConsensusDpos
GenesisTokenDistribution

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Access

type Access struct {
	// WhiteList of transactions, some of which are accepted only when conditions permit
	Whitelist *Whitelist `protobuf:"bytes,1,opt,name=whitelist" json:"whitelist,omitempty"`
	// Blacklists of transactions, some of which are not accepted on the blacklists
	Blacklist *Blacklist `protobuf:"bytes,2,opt,name=blacklist" json:"blacklist,omitempty"`
	// nrc20list of transactions, some of security check for this tx.
	Nrc20List *Nrc20List `protobuf:"bytes,3,opt,name=nrc20list" json:"nrc20list,omitempty"`
}

func (*Access) Descriptor

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

func (*Access) GetBlacklist

func (m *Access) GetBlacklist() *Blacklist

func (*Access) GetNrc20List

func (m *Access) GetNrc20List() *Nrc20List

func (*Access) GetWhitelist

func (m *Access) GetWhitelist() *Whitelist

func (*Access) ProtoMessage

func (*Access) ProtoMessage()

func (*Access) Reset

func (m *Access) Reset()

func (*Access) String

func (m *Access) String() string

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"`
	VarsHash     []byte        `protobuf:"bytes,4,opt,name=vars_hash,json=varsHash,proto3" json:"vars_hash,omitempty"`
	BirthPlace   []byte        `protobuf:"bytes,5,opt,name=birth_place,json=birthPlace,proto3" json:"birth_place,omitempty"`
	ContractMeta *ContractMeta `protobuf:"bytes,6,opt,name=contract_meta,json=contractMeta" json:"contract_meta,omitempty"`
}

func (*Account) Descriptor

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

func (*Account) GetAddress added in v1.0.0

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

func (*Account) GetBalance

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

func (*Account) GetBirthPlace added in v1.0.0

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

func (*Account) GetContractMeta added in v1.0.5

func (m *Account) GetContractMeta() *ContractMeta

func (*Account) GetNonce

func (m *Account) GetNonce() uint64

func (*Account) GetVarsHash added in v1.0.0

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

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) Reset

func (m *Account) Reset()

func (*Account) String

func (m *Account) String() string

type Blacklist

type Blacklist struct {
	// Hex string of the transaction's from address.
	From []string `protobuf:"bytes,1,rep,name=from" json:"from,omitempty"`
	// Hex string of the transaction's to address.
	To []string `protobuf:"bytes,2,rep,name=to" json:"to,omitempty"`
	// contract access data
	Contracts []*Contract `protobuf:"bytes,3,rep,name=contracts" json:"contracts,omitempty"`
}

func (*Blacklist) Descriptor

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

func (*Blacklist) GetContracts

func (m *Blacklist) GetContracts() []*Contract

func (*Blacklist) GetFrom

func (m *Blacklist) GetFrom() []string

func (*Blacklist) GetTo

func (m *Blacklist) GetTo() []string

func (*Blacklist) ProtoMessage

func (*Blacklist) ProtoMessage()

func (*Blacklist) Reset

func (m *Blacklist) Reset()

func (*Blacklist) String

func (m *Blacklist) String() string

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"`
	Dependency   *dagpb.Dag     `protobuf:"bytes,3,opt,name=dependency" json:"dependency,omitempty"`
	Height       uint64         `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
}

func (*Block) Descriptor

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

func (*Block) GetDependency added in v1.0.0

func (m *Block) GetDependency() *dagpb.Dag

func (*Block) GetHeader

func (m *Block) GetHeader() *BlockHeader

func (*Block) GetHeight added in v0.3.0

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

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,4,opt,name=coinbase,proto3" json:"coinbase,omitempty"`
	Timestamp     int64                      `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	ChainId       uint32                     `protobuf:"varint,6,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Alg           uint32                     `protobuf:"varint,7,opt,name=alg,proto3" json:"alg,omitempty"`
	Sign          []byte                     `protobuf:"bytes,8,opt,name=sign,proto3" json:"sign,omitempty"`
	StateRoot     []byte                     `protobuf:"bytes,9,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"`
	TxsRoot       []byte                     `protobuf:"bytes,10,opt,name=txs_root,json=txsRoot,proto3" json:"txs_root,omitempty"`
	EventsRoot    []byte                     `protobuf:"bytes,11,opt,name=events_root,json=eventsRoot,proto3" json:"events_root,omitempty"`
	ConsensusRoot *consensuspb.ConsensusRoot `protobuf:"bytes,12,opt,name=consensus_root,json=consensusRoot" json:"consensus_root,omitempty"`
	Random        *Random                    `protobuf:"bytes,13,opt,name=random" json:"random,omitempty"`
}

func (*BlockHeader) Descriptor

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

func (*BlockHeader) GetAlg added in v1.0.0

func (m *BlockHeader) GetAlg() uint32

func (*BlockHeader) GetChainId

func (m *BlockHeader) GetChainId() uint32

func (*BlockHeader) GetCoinbase

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

func (*BlockHeader) GetConsensusRoot added in v1.0.0

func (m *BlockHeader) GetConsensusRoot() *consensuspb.ConsensusRoot

func (*BlockHeader) GetEventsRoot added in v1.0.0

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

func (*BlockHeader) GetHash

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

func (*BlockHeader) GetParentHash

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

func (*BlockHeader) GetRandom added in v1.0.2

func (m *BlockHeader) GetRandom() *Random

func (*BlockHeader) GetSign added in v1.0.0

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

func (*BlockHeader) GetStateRoot

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

func (*BlockHeader) GetTimestamp

func (m *BlockHeader) GetTimestamp() int64

func (*BlockHeader) GetTxsRoot

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

func (*BlockHeader) ProtoMessage

func (*BlockHeader) ProtoMessage()

func (*BlockHeader) Reset

func (m *BlockHeader) Reset()

func (*BlockHeader) String

func (m *BlockHeader) String() string

type Contract

type Contract struct {
	// Hex string of the call type transaction's to address.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// slice of call type transaction's function string.
	Functions []string `protobuf:"bytes,2,rep,name=functions" json:"functions,omitempty"`
	// slice of deploy type transaction's data keyword.
	Keywords []string `protobuf:"bytes,3,rep,name=keywords" json:"keywords,omitempty"`
}

func (*Contract) Descriptor

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

func (*Contract) GetAddress

func (m *Contract) GetAddress() string

func (*Contract) GetFunctions

func (m *Contract) GetFunctions() []string

func (*Contract) GetKeywords

func (m *Contract) GetKeywords() []string

func (*Contract) ProtoMessage

func (*Contract) ProtoMessage()

func (*Contract) Reset

func (m *Contract) Reset()

func (*Contract) String

func (m *Contract) String() string

type ContractMeta added in v1.0.5

type ContractMeta struct {
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
}

func (*ContractMeta) Descriptor added in v1.0.5

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

func (*ContractMeta) GetVersion added in v1.0.5

func (m *ContractMeta) GetVersion() string

func (*ContractMeta) ProtoMessage added in v1.0.5

func (*ContractMeta) ProtoMessage()

func (*ContractMeta) Reset added in v1.0.5

func (m *ContractMeta) Reset()

func (*ContractMeta) String added in v1.0.5

func (m *ContractMeta) String() string

type Data added in v1.0.0

type Data struct {
	Type    string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
}

func (*Data) Descriptor added in v1.0.0

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

func (*Data) GetPayload added in v1.0.0

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

func (*Data) GetType added in v1.0.0

func (m *Data) GetType() string

func (*Data) ProtoMessage added in v1.0.0

func (*Data) ProtoMessage()

func (*Data) Reset added in v1.0.0

func (m *Data) Reset()

func (*Data) String added in v1.0.0

func (m *Data) String() string

type DownloadBlock added in v1.0.0

type DownloadBlock 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"`
}

func (*DownloadBlock) Descriptor added in v1.0.0

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

func (*DownloadBlock) GetHash added in v1.0.0

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

func (*DownloadBlock) GetSign added in v1.0.0

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

func (*DownloadBlock) ProtoMessage added in v1.0.0

func (*DownloadBlock) ProtoMessage()

func (*DownloadBlock) Reset added in v1.0.0

func (m *DownloadBlock) Reset()

func (*DownloadBlock) String added in v1.0.0

func (m *DownloadBlock) String() string

type Dynasty added in v1.0.8

type Dynasty struct {
	// dynasty meta
	Meta *DynastyMeta `protobuf:"bytes,1,opt,name=meta" json:"meta,omitempty"`
	// candidate dynasty
	Candidate []*DynastyCandidate `protobuf:"bytes,2,rep,name=candidate" json:"candidate,omitempty"`
}

func (*Dynasty) Descriptor added in v1.0.8

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

func (*Dynasty) GetCandidate added in v1.0.8

func (m *Dynasty) GetCandidate() []*DynastyCandidate

func (*Dynasty) GetMeta added in v1.0.8

func (m *Dynasty) GetMeta() *DynastyMeta

func (*Dynasty) ProtoMessage added in v1.0.8

func (*Dynasty) ProtoMessage()

func (*Dynasty) Reset added in v1.0.8

func (m *Dynasty) Reset()

func (*Dynasty) String added in v1.0.8

func (m *Dynasty) String() string

type DynastyCandidate added in v1.0.8

type DynastyCandidate struct {
	// effective dynasty
	Serial uint64 `protobuf:"varint,1,opt,name=serial,proto3" json:"serial,omitempty"`
	// dpos dynasty address
	Dynasty []string `protobuf:"bytes,2,rep,name=dynasty" json:"dynasty,omitempty"`
}

func (*DynastyCandidate) Descriptor added in v1.0.8

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

func (*DynastyCandidate) GetDynasty added in v1.0.8

func (m *DynastyCandidate) GetDynasty() []string

func (*DynastyCandidate) GetSerial added in v1.0.8

func (m *DynastyCandidate) GetSerial() uint64

func (*DynastyCandidate) ProtoMessage added in v1.0.8

func (*DynastyCandidate) ProtoMessage()

func (*DynastyCandidate) Reset added in v1.0.8

func (m *DynastyCandidate) Reset()

func (*DynastyCandidate) String added in v1.0.8

func (m *DynastyCandidate) String() string

type DynastyMeta added in v1.0.8

type DynastyMeta struct {
	// ChainID.
	ChainId uint32 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
}

func (*DynastyMeta) Descriptor added in v1.0.8

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

func (*DynastyMeta) GetChainId added in v1.0.8

func (m *DynastyMeta) GetChainId() uint32

func (*DynastyMeta) ProtoMessage added in v1.0.8

func (*DynastyMeta) ProtoMessage()

func (*DynastyMeta) Reset added in v1.0.8

func (m *DynastyMeta) Reset()

func (*DynastyMeta) String added in v1.0.8

func (m *DynastyMeta) String() string

type Genesis added in v1.0.0

type Genesis struct {
	// genesis meta
	Meta *GenesisMeta `protobuf:"bytes,1,opt,name=meta" json:"meta,omitempty"`
	// genesis consensus config
	Consensus *GenesisConsensus `protobuf:"bytes,2,opt,name=consensus" json:"consensus,omitempty"`
	// genesis token distribution address
	// map<string, string> token_distribution = 3;
	TokenDistribution []*GenesisTokenDistribution `protobuf:"bytes,3,rep,name=token_distribution,json=tokenDistribution" json:"token_distribution,omitempty"`
}

func (*Genesis) Descriptor added in v1.0.0

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

func (*Genesis) GetConsensus added in v1.0.0

func (m *Genesis) GetConsensus() *GenesisConsensus

func (*Genesis) GetMeta added in v1.0.0

func (m *Genesis) GetMeta() *GenesisMeta

func (*Genesis) GetTokenDistribution added in v1.0.0

func (m *Genesis) GetTokenDistribution() []*GenesisTokenDistribution

func (*Genesis) ProtoMessage added in v1.0.0

func (*Genesis) ProtoMessage()

func (*Genesis) Reset added in v1.0.0

func (m *Genesis) Reset()

func (*Genesis) String added in v1.0.0

func (m *Genesis) String() string

type GenesisConsensus added in v1.0.0

type GenesisConsensus struct {
	// ChainID.
	Dpos *GenesisConsensusDpos `protobuf:"bytes,1,opt,name=dpos" json:"dpos,omitempty"`
}

func (*GenesisConsensus) Descriptor added in v1.0.0

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

func (*GenesisConsensus) GetDpos added in v1.0.0

func (m *GenesisConsensus) GetDpos() *GenesisConsensusDpos

func (*GenesisConsensus) ProtoMessage added in v1.0.0

func (*GenesisConsensus) ProtoMessage()

func (*GenesisConsensus) Reset added in v1.0.0

func (m *GenesisConsensus) Reset()

func (*GenesisConsensus) String added in v1.0.0

func (m *GenesisConsensus) String() string

type GenesisConsensusDpos added in v1.0.0

type GenesisConsensusDpos struct {
	// dpos genesis dynasty address
	Dynasty []string `protobuf:"bytes,1,rep,name=dynasty" json:"dynasty,omitempty"`
}

func (*GenesisConsensusDpos) Descriptor added in v1.0.0

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

func (*GenesisConsensusDpos) GetDynasty added in v1.0.0

func (m *GenesisConsensusDpos) GetDynasty() []string

func (*GenesisConsensusDpos) ProtoMessage added in v1.0.0

func (*GenesisConsensusDpos) ProtoMessage()

func (*GenesisConsensusDpos) Reset added in v1.0.0

func (m *GenesisConsensusDpos) Reset()

func (*GenesisConsensusDpos) String added in v1.0.0

func (m *GenesisConsensusDpos) String() string

type GenesisMeta added in v1.0.0

type GenesisMeta struct {
	// ChainID.
	ChainId uint32 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
}

func (*GenesisMeta) Descriptor added in v1.0.0

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

func (*GenesisMeta) GetChainId added in v1.0.0

func (m *GenesisMeta) GetChainId() uint32

func (*GenesisMeta) ProtoMessage added in v1.0.0

func (*GenesisMeta) ProtoMessage()

func (*GenesisMeta) Reset added in v1.0.0

func (m *GenesisMeta) Reset()

func (*GenesisMeta) String added in v1.0.0

func (m *GenesisMeta) String() string

type GenesisTokenDistribution added in v1.0.0

type GenesisTokenDistribution struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Value   string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

func (*GenesisTokenDistribution) Descriptor added in v1.0.0

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

func (*GenesisTokenDistribution) GetAddress added in v1.0.0

func (m *GenesisTokenDistribution) GetAddress() string

func (*GenesisTokenDistribution) GetValue added in v1.0.0

func (m *GenesisTokenDistribution) GetValue() string

func (*GenesisTokenDistribution) ProtoMessage added in v1.0.0

func (*GenesisTokenDistribution) ProtoMessage()

func (*GenesisTokenDistribution) Reset added in v1.0.0

func (m *GenesisTokenDistribution) Reset()

func (*GenesisTokenDistribution) String added in v1.0.0

func (m *GenesisTokenDistribution) String() string

type NetBlock

type NetBlock struct {
	From  string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	Batch uint64 `protobuf:"varint,2,opt,name=batch,proto3" json:"batch,omitempty"`
	Block *Block `protobuf:"bytes,3,opt,name=block" json:"block,omitempty"`
}

func (*NetBlock) Descriptor

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

func (*NetBlock) GetBatch added in v1.0.0

func (m *NetBlock) GetBatch() uint64

func (*NetBlock) GetBlock

func (m *NetBlock) GetBlock() *Block

func (*NetBlock) GetFrom

func (m *NetBlock) GetFrom() string

func (*NetBlock) ProtoMessage

func (*NetBlock) ProtoMessage()

func (*NetBlock) Reset

func (m *NetBlock) Reset()

func (*NetBlock) String

func (m *NetBlock) String() string

type NetBlocks

type NetBlocks struct {
	From   string   `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	Batch  uint64   `protobuf:"varint,2,opt,name=batch,proto3" json:"batch,omitempty"`
	Blocks []*Block `protobuf:"bytes,3,rep,name=blocks" json:"blocks,omitempty"`
}

func (*NetBlocks) Descriptor

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

func (*NetBlocks) GetBatch added in v1.0.0

func (m *NetBlocks) GetBatch() uint64

func (*NetBlocks) GetBlocks

func (m *NetBlocks) GetBlocks() []*Block

func (*NetBlocks) GetFrom

func (m *NetBlocks) GetFrom() string

func (*NetBlocks) ProtoMessage

func (*NetBlocks) ProtoMessage()

func (*NetBlocks) Reset

func (m *NetBlocks) Reset()

func (*NetBlocks) String

func (m *NetBlocks) String() string

type Nrc20List

type Nrc20List struct {
	Contracts []string `protobuf:"bytes,1,rep,name=contracts" json:"contracts,omitempty"`
}

func (*Nrc20List) Descriptor

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

func (*Nrc20List) GetContracts

func (m *Nrc20List) GetContracts() []string

func (*Nrc20List) ProtoMessage

func (*Nrc20List) ProtoMessage()

func (*Nrc20List) Reset

func (m *Nrc20List) Reset()

func (*Nrc20List) String

func (m *Nrc20List) String() string

type Random added in v1.0.2

type Random struct {
	VrfSeed  []byte `protobuf:"bytes,1,opt,name=vrf_seed,json=vrfSeed,proto3" json:"vrf_seed,omitempty"`
	VrfProof []byte `protobuf:"bytes,2,opt,name=vrf_proof,json=vrfProof,proto3" json:"vrf_proof,omitempty"`
}

func (*Random) Descriptor added in v1.0.2

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

func (*Random) GetVrfProof added in v1.0.2

func (m *Random) GetVrfProof() []byte

func (*Random) GetVrfSeed added in v1.0.2

func (m *Random) GetVrfSeed() []byte

func (*Random) ProtoMessage added in v1.0.2

func (*Random) ProtoMessage()

func (*Random) Reset added in v1.0.2

func (m *Random) Reset()

func (*Random) String added in v1.0.2

func (m *Random) String() string

type Transaction

type Transaction struct {
	Hash      []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,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"`
	Timestamp int64  `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Data      *Data  `protobuf:"bytes,7,opt,name=data" json:"data,omitempty"`
	ChainId   uint32 `protobuf:"varint,8,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	GasPrice  []byte `protobuf:"bytes,9,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
	GasLimit  []byte `protobuf:"bytes,10,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
	Alg       uint32 `protobuf:"varint,11,opt,name=alg,proto3" json:"alg,omitempty"`
	Sign      []byte `protobuf:"bytes,12,opt,name=sign,proto3" json:"sign,omitempty"`
}

func (*Transaction) Descriptor

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

func (*Transaction) GetAlg

func (m *Transaction) GetAlg() uint32

func (*Transaction) GetChainId

func (m *Transaction) GetChainId() uint32

func (*Transaction) GetData

func (m *Transaction) GetData() *Data

func (*Transaction) GetFrom

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

func (*Transaction) GetGasLimit added in v1.0.0

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

func (*Transaction) GetGasPrice added in v1.0.0

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

func (*Transaction) GetHash

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

func (*Transaction) GetNonce

func (m *Transaction) GetNonce() uint64

func (*Transaction) GetSign

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

func (*Transaction) GetTimestamp

func (m *Transaction) GetTimestamp() int64

func (*Transaction) GetTo

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

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

type Whitelist

type Whitelist struct {
	// TODO(larry): later may change
	NbrePublisher []string `protobuf:"bytes,1,rep,name=nbre_publisher,json=nbrePublisher" json:"nbre_publisher,omitempty"`
}

func (*Whitelist) Descriptor

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

func (*Whitelist) GetNbrePublisher

func (m *Whitelist) GetNbrePublisher() []string

func (*Whitelist) ProtoMessage

func (*Whitelist) ProtoMessage()

func (*Whitelist) Reset

func (m *Whitelist) Reset()

func (*Whitelist) String

func (m *Whitelist) String() string

Jump to

Keyboard shortcuts

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