pb

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Crypto_name = map[int32]string{
	0: "DEFAULT",
	1: "RESERVED",
}
View Source
var Crypto_value = map[string]int32{
	"DEFAULT":  0,
	"RESERVED": 1,
}
View Source
var ProofType_name = map[int32]string{
	0: "AuthorityRound",
	1: "Raft",
	2: "Bft",
}
View Source
var ProofType_value = map[string]int32{
	"AuthorityRound": 0,
	"Raft":           1,
	"Bft":            2,
}

Functions

This section is empty.

Types

type AccountGasLimit

type AccountGasLimit struct {
	CommonQuotaLimit     uint64            `protobuf:"varint,1,opt,name=common_quota_limit,json=commonQuotaLimit,proto3" json:"common_quota_limit,omitempty"`
	SpecificQuotaLimit   map[string]uint64 `` /* 206-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*AccountGasLimit) Descriptor

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

func (*AccountGasLimit) GetCommonQuotaLimit

func (m *AccountGasLimit) GetCommonQuotaLimit() uint64

func (*AccountGasLimit) GetSpecificQuotaLimit

func (m *AccountGasLimit) GetSpecificQuotaLimit() map[string]uint64

func (*AccountGasLimit) ProtoMessage

func (*AccountGasLimit) ProtoMessage()

func (*AccountGasLimit) Reset

func (m *AccountGasLimit) Reset()

func (*AccountGasLimit) String

func (m *AccountGasLimit) String() string

func (*AccountGasLimit) XXX_DiscardUnknown

func (m *AccountGasLimit) XXX_DiscardUnknown()

func (*AccountGasLimit) XXX_Marshal

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

func (*AccountGasLimit) XXX_Merge

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

func (*AccountGasLimit) XXX_Size

func (m *AccountGasLimit) XXX_Size() int

func (*AccountGasLimit) XXX_Unmarshal

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

type BlackList

type BlackList struct {
	// black list of address, the account that sent the transaction does not have enough gas
	BlackList [][]byte `protobuf:"bytes,1,rep,name=black_list,json=blackList,proto3" json:"black_list,omitempty"`
	// clear list of address
	ClearList            [][]byte `protobuf:"bytes,2,rep,name=clear_list,json=clearList,proto3" json:"clear_list,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BlackList) Descriptor

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

func (*BlackList) GetBlackList

func (m *BlackList) GetBlackList() [][]byte

func (*BlackList) GetClearList

func (m *BlackList) GetClearList() [][]byte

func (*BlackList) ProtoMessage

func (*BlackList) ProtoMessage()

func (*BlackList) Reset

func (m *BlackList) Reset()

func (*BlackList) String

func (m *BlackList) String() string

func (*BlackList) XXX_DiscardUnknown

func (m *BlackList) XXX_DiscardUnknown()

func (*BlackList) XXX_Marshal

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

func (*BlackList) XXX_Merge

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

func (*BlackList) XXX_Size

func (m *BlackList) XXX_Size() int

func (*BlackList) XXX_Unmarshal

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

type Block

type Block struct {
	Version              uint32       `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Header               *BlockHeader `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"`
	Body                 *BlockBody   `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*Block) Descriptor

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

func (*Block) GetBody

func (m *Block) GetBody() *BlockBody

func (*Block) GetHeader

func (m *Block) GetHeader() *BlockHeader

func (*Block) GetVersion

func (m *Block) GetVersion() uint32

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 BlockBody

type BlockBody struct {
	Transactions         []*SignedTransaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*BlockBody) Descriptor

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

func (*BlockBody) GetTransactions

func (m *BlockBody) GetTransactions() []*SignedTransaction

func (*BlockBody) ProtoMessage

func (*BlockBody) ProtoMessage()

func (*BlockBody) Reset

func (m *BlockBody) Reset()

func (*BlockBody) String

func (m *BlockBody) String() string

func (*BlockBody) XXX_DiscardUnknown

func (m *BlockBody) XXX_DiscardUnknown()

func (*BlockBody) XXX_Marshal

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

func (*BlockBody) XXX_Merge

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

func (*BlockBody) XXX_Size

func (m *BlockBody) XXX_Size() int

func (*BlockBody) XXX_Unmarshal

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

type BlockHeader

type BlockHeader struct {
	Prevhash             []byte   `protobuf:"bytes,1,opt,name=prevhash,proto3" json:"prevhash,omitempty"`
	Timestamp            uint64   `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Height               uint64   `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	StateRoot            []byte   `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"`
	TransactionsRoot     []byte   `protobuf:"bytes,5,opt,name=transactions_root,json=transactionsRoot,proto3" json:"transactions_root,omitempty"`
	ReceiptsRoot         []byte   `protobuf:"bytes,6,opt,name=receipts_root,json=receiptsRoot,proto3" json:"receipts_root,omitempty"`
	QuotaUsed            uint64   `protobuf:"varint,7,opt,name=quota_used,json=quotaUsed,proto3" json:"quota_used,omitempty"`
	QuotaLimit           uint64   `protobuf:"varint,8,opt,name=quota_limit,json=quotaLimit,proto3" json:"quota_limit,omitempty"`
	Proof                *Proof   `protobuf:"bytes,9,opt,name=proof,proto3" json:"proof,omitempty"`
	Proposer             []byte   `protobuf:"bytes,10,opt,name=proposer,proto3" json:"proposer,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BlockHeader) Descriptor

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

func (*BlockHeader) GetHeight

func (m *BlockHeader) GetHeight() uint64

func (*BlockHeader) GetPrevhash

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

func (*BlockHeader) GetProof

func (m *BlockHeader) GetProof() *Proof

func (*BlockHeader) GetProposer

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

func (*BlockHeader) GetQuotaLimit

func (m *BlockHeader) GetQuotaLimit() uint64

func (*BlockHeader) GetQuotaUsed

func (m *BlockHeader) GetQuotaUsed() uint64

func (*BlockHeader) GetReceiptsRoot

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

func (*BlockHeader) GetStateRoot

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

func (*BlockHeader) GetTimestamp

func (m *BlockHeader) GetTimestamp() uint64

func (*BlockHeader) GetTransactionsRoot

func (m *BlockHeader) GetTransactionsRoot() []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 (m *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 BlockTxs

type BlockTxs struct {
	Height               uint64     `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Body                 *BlockBody `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*BlockTxs) Descriptor

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

func (*BlockTxs) GetBody

func (m *BlockTxs) GetBody() *BlockBody

func (*BlockTxs) GetHeight

func (m *BlockTxs) GetHeight() uint64

func (*BlockTxs) ProtoMessage

func (*BlockTxs) ProtoMessage()

func (*BlockTxs) Reset

func (m *BlockTxs) Reset()

func (*BlockTxs) String

func (m *BlockTxs) String() string

func (*BlockTxs) XXX_DiscardUnknown

func (m *BlockTxs) XXX_DiscardUnknown()

func (*BlockTxs) XXX_Marshal

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

func (*BlockTxs) XXX_Merge

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

func (*BlockTxs) XXX_Size

func (m *BlockTxs) XXX_Size() int

func (*BlockTxs) XXX_Unmarshal

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

type BlockWithProof

type BlockWithProof struct {
	Blk                  *Block   `protobuf:"bytes,1,opt,name=blk,proto3" json:"blk,omitempty"`
	Proof                *Proof   `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BlockWithProof) Descriptor

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

func (*BlockWithProof) GetBlk

func (m *BlockWithProof) GetBlk() *Block

func (*BlockWithProof) GetProof

func (m *BlockWithProof) GetProof() *Proof

func (*BlockWithProof) ProtoMessage

func (*BlockWithProof) ProtoMessage()

func (*BlockWithProof) Reset

func (m *BlockWithProof) Reset()

func (*BlockWithProof) String

func (m *BlockWithProof) String() string

func (*BlockWithProof) XXX_DiscardUnknown

func (m *BlockWithProof) XXX_DiscardUnknown()

func (*BlockWithProof) XXX_Marshal

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

func (*BlockWithProof) XXX_Merge

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

func (*BlockWithProof) XXX_Size

func (m *BlockWithProof) XXX_Size() int

func (*BlockWithProof) XXX_Unmarshal

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

type CompactBlock

type CompactBlock struct {
	Version              uint32            `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Header               *BlockHeader      `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"`
	Body                 *CompactBlockBody `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*CompactBlock) Descriptor

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

func (*CompactBlock) GetBody

func (m *CompactBlock) GetBody() *CompactBlockBody

func (*CompactBlock) GetHeader

func (m *CompactBlock) GetHeader() *BlockHeader

func (*CompactBlock) GetVersion

func (m *CompactBlock) GetVersion() uint32

func (*CompactBlock) ProtoMessage

func (*CompactBlock) ProtoMessage()

func (*CompactBlock) Reset

func (m *CompactBlock) Reset()

func (*CompactBlock) String

func (m *CompactBlock) String() string

func (*CompactBlock) XXX_DiscardUnknown

func (m *CompactBlock) XXX_DiscardUnknown()

func (*CompactBlock) XXX_Marshal

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

func (*CompactBlock) XXX_Merge

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

func (*CompactBlock) XXX_Size

func (m *CompactBlock) XXX_Size() int

func (*CompactBlock) XXX_Unmarshal

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

type CompactBlockBody

type CompactBlockBody struct {
	TxHashes             [][]byte `protobuf:"bytes,1,rep,name=tx_hashes,json=txHashes,proto3" json:"tx_hashes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CompactBlockBody) Descriptor

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

func (*CompactBlockBody) GetTxHashes

func (m *CompactBlockBody) GetTxHashes() [][]byte

func (*CompactBlockBody) ProtoMessage

func (*CompactBlockBody) ProtoMessage()

func (*CompactBlockBody) Reset

func (m *CompactBlockBody) Reset()

func (*CompactBlockBody) String

func (m *CompactBlockBody) String() string

func (*CompactBlockBody) XXX_DiscardUnknown

func (m *CompactBlockBody) XXX_DiscardUnknown()

func (*CompactBlockBody) XXX_Marshal

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

func (*CompactBlockBody) XXX_Merge

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

func (*CompactBlockBody) XXX_Size

func (m *CompactBlockBody) XXX_Size() int

func (*CompactBlockBody) XXX_Unmarshal

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

type Crypto

type Crypto int32
const (
	Crypto_DEFAULT  Crypto = 0
	Crypto_RESERVED Crypto = 1
)

func (Crypto) EnumDescriptor

func (Crypto) EnumDescriptor() ([]byte, []int)

func (Crypto) String

func (x Crypto) String() string

type Proof

type Proof struct {
	Content              []byte    `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	Type                 ProofType `protobuf:"varint,2,opt,name=type,proto3,enum=pb.ProofType" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*Proof) Descriptor

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

func (*Proof) GetContent

func (m *Proof) GetContent() []byte

func (*Proof) GetType

func (m *Proof) GetType() ProofType

func (*Proof) ProtoMessage

func (*Proof) ProtoMessage()

func (*Proof) Reset

func (m *Proof) Reset()

func (*Proof) String

func (m *Proof) String() string

func (*Proof) XXX_DiscardUnknown

func (m *Proof) XXX_DiscardUnknown()

func (*Proof) XXX_Marshal

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

func (*Proof) XXX_Merge

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

func (*Proof) XXX_Size

func (m *Proof) XXX_Size() int

func (*Proof) XXX_Unmarshal

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

type ProofType

type ProofType int32
const (
	ProofType_AuthorityRound ProofType = 0
	ProofType_Raft           ProofType = 1
	ProofType_Bft            ProofType = 2
)

func (ProofType) EnumDescriptor

func (ProofType) EnumDescriptor() ([]byte, []int)

func (ProofType) String

func (x ProofType) String() string

type RichStatus

type RichStatus struct {
	Hash                 []byte   `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Height               uint64   `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	Nodes                [][]byte `protobuf:"bytes,3,rep,name=nodes,proto3" json:"nodes,omitempty"`
	Interval             uint64   `protobuf:"varint,4,opt,name=interval,proto3" json:"interval,omitempty"`
	Version              uint32   `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"`
	Validators           [][]byte `protobuf:"bytes,6,rep,name=validators,proto3" json:"validators,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RichStatus) Descriptor

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

func (*RichStatus) GetHash

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

func (*RichStatus) GetHeight

func (m *RichStatus) GetHeight() uint64

func (*RichStatus) GetInterval

func (m *RichStatus) GetInterval() uint64

func (*RichStatus) GetNodes

func (m *RichStatus) GetNodes() [][]byte

func (*RichStatus) GetValidators

func (m *RichStatus) GetValidators() [][]byte

func (*RichStatus) GetVersion

func (m *RichStatus) GetVersion() uint32

func (*RichStatus) ProtoMessage

func (*RichStatus) ProtoMessage()

func (*RichStatus) Reset

func (m *RichStatus) Reset()

func (*RichStatus) String

func (m *RichStatus) String() string

func (*RichStatus) XXX_DiscardUnknown

func (m *RichStatus) XXX_DiscardUnknown()

func (*RichStatus) XXX_Marshal

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

func (*RichStatus) XXX_Merge

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

func (*RichStatus) XXX_Size

func (m *RichStatus) XXX_Size() int

func (*RichStatus) XXX_Unmarshal

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

type SignedTransaction

type SignedTransaction struct {
	TransactionWithSig *UnverifiedTransaction `protobuf:"bytes,1,opt,name=transaction_with_sig,json=transactionWithSig,proto3" json:"transaction_with_sig,omitempty"`
	// SignedTransaction hash
	TxHash []byte `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	// public key
	Signer               []byte   `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SignedTransaction) Descriptor

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

func (*SignedTransaction) GetSigner

func (m *SignedTransaction) GetSigner() []byte

func (*SignedTransaction) GetTransactionWithSig

func (m *SignedTransaction) GetTransactionWithSig() *UnverifiedTransaction

func (*SignedTransaction) GetTxHash

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

func (*SignedTransaction) ProtoMessage

func (*SignedTransaction) ProtoMessage()

func (*SignedTransaction) Reset

func (m *SignedTransaction) Reset()

func (*SignedTransaction) String

func (m *SignedTransaction) String() string

func (*SignedTransaction) XXX_DiscardUnknown

func (m *SignedTransaction) XXX_DiscardUnknown()

func (*SignedTransaction) XXX_Marshal

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

func (*SignedTransaction) XXX_Merge

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

func (*SignedTransaction) XXX_Size

func (m *SignedTransaction) XXX_Size() int

func (*SignedTransaction) XXX_Unmarshal

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

type StateSignal

type StateSignal struct {
	Height               uint64   `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

State positioning signal

func (*StateSignal) Descriptor

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

func (*StateSignal) GetHeight

func (m *StateSignal) GetHeight() uint64

func (*StateSignal) ProtoMessage

func (*StateSignal) ProtoMessage()

func (*StateSignal) Reset

func (m *StateSignal) Reset()

func (*StateSignal) String

func (m *StateSignal) String() string

func (*StateSignal) XXX_DiscardUnknown

func (m *StateSignal) XXX_DiscardUnknown()

func (*StateSignal) XXX_Marshal

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

func (*StateSignal) XXX_Merge

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

func (*StateSignal) XXX_Size

func (m *StateSignal) XXX_Size() int

func (*StateSignal) XXX_Unmarshal

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

type Status

type Status struct {
	Hash                 []byte   `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Height               uint64   `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Status) Descriptor

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

func (*Status) GetHash

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

func (*Status) GetHeight

func (m *Status) GetHeight() uint64

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) Reset

func (m *Status) Reset()

func (*Status) String

func (m *Status) String() string

func (*Status) XXX_DiscardUnknown

func (m *Status) XXX_DiscardUnknown()

func (*Status) XXX_Marshal

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

func (*Status) XXX_Merge

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

func (*Status) XXX_Size

func (m *Status) XXX_Size() int

func (*Status) XXX_Unmarshal

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

type Transaction

type Transaction struct {
	To                   string   `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
	Nonce                string   `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Quota                uint64   `protobuf:"varint,3,opt,name=quota,proto3" json:"quota,omitempty"`
	ValidUntilBlock      uint64   `protobuf:"varint,4,opt,name=valid_until_block,json=validUntilBlock,proto3" json:"valid_until_block,omitempty"`
	Data                 []byte   `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
	Value                []byte   `protobuf:"bytes,6,opt,name=value,proto3" json:"value,omitempty"`
	ChainId              uint32   `protobuf:"varint,7,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Version              uint32   `protobuf:"varint,8,opt,name=version,proto3" json:"version,omitempty"`
	ToV1                 []byte   `protobuf:"bytes,9,opt,name=to_v1,json=toV1,proto3" json:"to_v1,omitempty"`
	ChainIdV1            []byte   `protobuf:"bytes,10,opt,name=chain_id_v1,json=chainIdV1,proto3" json:"chain_id_v1,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) GetChainIdV1

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

func (*Transaction) GetData

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

func (*Transaction) GetNonce

func (m *Transaction) GetNonce() string

func (*Transaction) GetQuota

func (m *Transaction) GetQuota() uint64

func (*Transaction) GetTo

func (m *Transaction) GetTo() string

func (*Transaction) GetToV1

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

func (*Transaction) GetValidUntilBlock

func (m *Transaction) GetValidUntilBlock() uint64

func (*Transaction) GetValue

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

func (*Transaction) GetVersion

func (m *Transaction) GetVersion() uint32

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 UnverifiedTransaction

type UnverifiedTransaction struct {
	Transaction          *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
	Signature            []byte       `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	Crypto               Crypto       `protobuf:"varint,3,opt,name=crypto,proto3,enum=pb.Crypto" json:"crypto,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*UnverifiedTransaction) Descriptor

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

func (*UnverifiedTransaction) GetCrypto

func (m *UnverifiedTransaction) GetCrypto() Crypto

func (*UnverifiedTransaction) GetSignature

func (m *UnverifiedTransaction) GetSignature() []byte

func (*UnverifiedTransaction) GetTransaction

func (m *UnverifiedTransaction) GetTransaction() *Transaction

func (*UnverifiedTransaction) ProtoMessage

func (*UnverifiedTransaction) ProtoMessage()

func (*UnverifiedTransaction) Reset

func (m *UnverifiedTransaction) Reset()

func (*UnverifiedTransaction) String

func (m *UnverifiedTransaction) String() string

func (*UnverifiedTransaction) XXX_DiscardUnknown

func (m *UnverifiedTransaction) XXX_DiscardUnknown()

func (*UnverifiedTransaction) XXX_Marshal

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

func (*UnverifiedTransaction) XXX_Merge

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

func (*UnverifiedTransaction) XXX_Size

func (m *UnverifiedTransaction) XXX_Size() int

func (*UnverifiedTransaction) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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