vitepb

package
v0.0.3-generatorpow Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2018 License: GPL-3.0 Imports: 3 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	AccountId            uint64   `protobuf:"varint,1,opt,name=accountId,proto3" json:"accountId,omitempty"`
	PublicKey            []byte   `protobuf:"bytes,2,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Account) Descriptor

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

func (*Account) GetAccountId

func (m *Account) GetAccountId() uint64

func (*Account) GetPublicKey

func (m *Account) GetPublicKey() []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 (m *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 AccountBlock

type AccountBlock struct {
	BlockType            uint32   `protobuf:"varint,1,opt,name=blockType,proto3" json:"blockType,omitempty"`
	Hash                 []byte   `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	Height               uint64   `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	PrevHash             []byte   `protobuf:"bytes,4,opt,name=prevHash,proto3" json:"prevHash,omitempty"`
	AccountAddress       []byte   `protobuf:"bytes,5,opt,name=accountAddress,proto3" json:"accountAddress,omitempty"`
	PublicKey            []byte   `protobuf:"bytes,6,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	ToAddress            []byte   `protobuf:"bytes,7,opt,name=toAddress,proto3" json:"toAddress,omitempty"`
	FromBlockHash        []byte   `protobuf:"bytes,8,opt,name=fromBlockHash,proto3" json:"fromBlockHash,omitempty"`
	Amount               []byte   `protobuf:"bytes,9,opt,name=amount,proto3" json:"amount,omitempty"`
	TokenId              []byte   `protobuf:"bytes,10,opt,name=tokenId,proto3" json:"tokenId,omitempty"`
	Quota                uint64   `protobuf:"varint,11,opt,name=quota,proto3" json:"quota,omitempty"`
	Fee                  []byte   `protobuf:"bytes,12,opt,name=fee,proto3" json:"fee,omitempty"`
	SnapshotHash         []byte   `protobuf:"bytes,13,opt,name=snapshotHash,proto3" json:"snapshotHash,omitempty"`
	Data                 []byte   `protobuf:"bytes,14,opt,name=data,proto3" json:"data,omitempty"`
	Timestamp            int64    `protobuf:"varint,15,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	StateHash            []byte   `protobuf:"bytes,16,opt,name=StateHash,proto3" json:"StateHash,omitempty"`
	LogHash              []byte   `protobuf:"bytes,17,opt,name=logHash,proto3" json:"logHash,omitempty"`
	Difficulty           []byte   `protobuf:"bytes,18,opt,name=difficulty,proto3" json:"difficulty,omitempty"`
	Nonce                []byte   `protobuf:"bytes,19,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Signature            []byte   `protobuf:"bytes,20,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AccountBlock) Descriptor

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

func (*AccountBlock) GetAccountAddress

func (m *AccountBlock) GetAccountAddress() []byte

func (*AccountBlock) GetAmount

func (m *AccountBlock) GetAmount() []byte

func (*AccountBlock) GetBlockType

func (m *AccountBlock) GetBlockType() uint32

func (*AccountBlock) GetData

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

func (*AccountBlock) GetDifficulty

func (m *AccountBlock) GetDifficulty() []byte

func (*AccountBlock) GetFee

func (m *AccountBlock) GetFee() []byte

func (*AccountBlock) GetFromBlockHash

func (m *AccountBlock) GetFromBlockHash() []byte

func (*AccountBlock) GetHash

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

func (*AccountBlock) GetHeight

func (m *AccountBlock) GetHeight() uint64

func (*AccountBlock) GetLogHash

func (m *AccountBlock) GetLogHash() []byte

func (*AccountBlock) GetNonce

func (m *AccountBlock) GetNonce() []byte

func (*AccountBlock) GetPrevHash

func (m *AccountBlock) GetPrevHash() []byte

func (*AccountBlock) GetPublicKey

func (m *AccountBlock) GetPublicKey() []byte

func (*AccountBlock) GetQuota

func (m *AccountBlock) GetQuota() uint64

func (*AccountBlock) GetSignature

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

func (*AccountBlock) GetSnapshotHash

func (m *AccountBlock) GetSnapshotHash() []byte

func (*AccountBlock) GetStateHash

func (m *AccountBlock) GetStateHash() []byte

func (*AccountBlock) GetTimestamp

func (m *AccountBlock) GetTimestamp() int64

func (*AccountBlock) GetToAddress

func (m *AccountBlock) GetToAddress() []byte

func (*AccountBlock) GetTokenId

func (m *AccountBlock) GetTokenId() []byte

func (*AccountBlock) ProtoMessage

func (*AccountBlock) ProtoMessage()

func (*AccountBlock) Reset

func (m *AccountBlock) Reset()

func (*AccountBlock) String

func (m *AccountBlock) String() string

func (*AccountBlock) XXX_DiscardUnknown

func (m *AccountBlock) XXX_DiscardUnknown()

func (*AccountBlock) XXX_Marshal

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

func (*AccountBlock) XXX_Merge

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

func (*AccountBlock) XXX_Size

func (m *AccountBlock) XXX_Size() int

func (*AccountBlock) XXX_Unmarshal

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

type AccountBlockMeta

type AccountBlockMeta struct {
	AccountId            uint64   `protobuf:"varint,1,opt,name=accountId,proto3" json:"accountId,omitempty"`
	Height               uint64   `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	ReceiveBlockHeights  []uint64 `protobuf:"varint,3,rep,packed,name=receiveBlockHeights,proto3" json:"receiveBlockHeights,omitempty"`
	RefSnapshotHeight    uint64   `protobuf:"varint,4,opt,name=refSnapshotHeight,proto3" json:"refSnapshotHeight,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AccountBlockMeta) Descriptor

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

func (*AccountBlockMeta) GetAccountId

func (m *AccountBlockMeta) GetAccountId() uint64

func (*AccountBlockMeta) GetHeight

func (m *AccountBlockMeta) GetHeight() uint64

func (*AccountBlockMeta) GetReceiveBlockHeights

func (m *AccountBlockMeta) GetReceiveBlockHeights() []uint64

func (*AccountBlockMeta) GetRefSnapshotHeight

func (m *AccountBlockMeta) GetRefSnapshotHeight() uint64

func (*AccountBlockMeta) ProtoMessage

func (*AccountBlockMeta) ProtoMessage()

func (*AccountBlockMeta) Reset

func (m *AccountBlockMeta) Reset()

func (*AccountBlockMeta) String

func (m *AccountBlockMeta) String() string

func (*AccountBlockMeta) XXX_DiscardUnknown

func (m *AccountBlockMeta) XXX_DiscardUnknown()

func (*AccountBlockMeta) XXX_Marshal

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

func (*AccountBlockMeta) XXX_Merge

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

func (*AccountBlockMeta) XXX_Size

func (m *AccountBlockMeta) XXX_Size() int

func (*AccountBlockMeta) XXX_Unmarshal

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

type AccountBlocks

type AccountBlocks struct {
	Blocks               []*AccountBlock `protobuf:"bytes,1,rep,name=Blocks,proto3" json:"Blocks,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*AccountBlocks) Descriptor

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

func (*AccountBlocks) GetBlocks

func (m *AccountBlocks) GetBlocks() []*AccountBlock

func (*AccountBlocks) ProtoMessage

func (*AccountBlocks) ProtoMessage()

func (*AccountBlocks) Reset

func (m *AccountBlocks) Reset()

func (*AccountBlocks) String

func (m *AccountBlocks) String() string

func (*AccountBlocks) XXX_DiscardUnknown

func (m *AccountBlocks) XXX_DiscardUnknown()

func (*AccountBlocks) XXX_Marshal

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

func (*AccountBlocks) XXX_Merge

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

func (*AccountBlocks) XXX_Size

func (m *AccountBlocks) XXX_Size() int

func (*AccountBlocks) XXX_Unmarshal

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

type AddressList

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

func (*AddressList) Descriptor

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

func (*AddressList) GetAddressList

func (m *AddressList) GetAddressList() [][]byte

func (*AddressList) ProtoMessage

func (*AddressList) ProtoMessage()

func (*AddressList) Reset

func (m *AddressList) Reset()

func (*AddressList) String

func (m *AddressList) String() string

func (*AddressList) XXX_DiscardUnknown

func (m *AddressList) XXX_DiscardUnknown()

func (*AddressList) XXX_Marshal

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

func (*AddressList) XXX_Merge

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

func (*AddressList) XXX_Size

func (m *AddressList) XXX_Size() int

func (*AddressList) XXX_Unmarshal

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

type BlockID

type BlockID 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 (*BlockID) Descriptor

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

func (*BlockID) GetHash

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

func (*BlockID) GetHeight

func (m *BlockID) GetHeight() uint64

func (*BlockID) ProtoMessage

func (*BlockID) ProtoMessage()

func (*BlockID) Reset

func (m *BlockID) Reset()

func (*BlockID) String

func (m *BlockID) String() string

func (*BlockID) XXX_DiscardUnknown

func (m *BlockID) XXX_DiscardUnknown()

func (*BlockID) XXX_Marshal

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

func (*BlockID) XXX_Merge

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

func (*BlockID) XXX_Size

func (m *BlockID) XXX_Size() int

func (*BlockID) XXX_Unmarshal

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

type CompressedFileMeta

type CompressedFileMeta struct {
	StartHeight          uint64   `protobuf:"varint,1,opt,name=StartHeight,proto3" json:"StartHeight,omitempty"`
	EndHeight            uint64   `protobuf:"varint,2,opt,name=EndHeight,proto3" json:"EndHeight,omitempty"`
	Filename             string   `protobuf:"bytes,3,opt,name=Filename,proto3" json:"Filename,omitempty"`
	FileSize             int64    `protobuf:"varint,4,opt,name=FileSize,proto3" json:"FileSize,omitempty"`
	BlockNumbers         uint64   `protobuf:"varint,5,opt,name=BlockNumbers,proto3" json:"BlockNumbers,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CompressedFileMeta) Descriptor

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

func (*CompressedFileMeta) GetBlockNumbers

func (m *CompressedFileMeta) GetBlockNumbers() uint64

func (*CompressedFileMeta) GetEndHeight

func (m *CompressedFileMeta) GetEndHeight() uint64

func (*CompressedFileMeta) GetFileSize

func (m *CompressedFileMeta) GetFileSize() int64

func (*CompressedFileMeta) GetFilename

func (m *CompressedFileMeta) GetFilename() string

func (*CompressedFileMeta) GetStartHeight

func (m *CompressedFileMeta) GetStartHeight() uint64

func (*CompressedFileMeta) ProtoMessage

func (*CompressedFileMeta) ProtoMessage()

func (*CompressedFileMeta) Reset

func (m *CompressedFileMeta) Reset()

func (*CompressedFileMeta) String

func (m *CompressedFileMeta) String() string

func (*CompressedFileMeta) XXX_DiscardUnknown

func (m *CompressedFileMeta) XXX_DiscardUnknown()

func (*CompressedFileMeta) XXX_Marshal

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

func (*CompressedFileMeta) XXX_Merge

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

func (*CompressedFileMeta) XXX_Size

func (m *CompressedFileMeta) XXX_Size() int

func (*CompressedFileMeta) XXX_Unmarshal

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

type FileList

type FileList struct {
	Files                []*CompressedFileMeta `protobuf:"bytes,1,rep,name=Files,proto3" json:"Files,omitempty"`
	Chunks               []uint64              `protobuf:"varint,2,rep,packed,name=Chunks,proto3" json:"Chunks,omitempty"`
	Nonce                uint64                `protobuf:"varint,3,opt,name=Nonce,proto3" json:"Nonce,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*FileList) Descriptor

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

func (*FileList) GetChunks

func (m *FileList) GetChunks() []uint64

func (*FileList) GetFiles

func (m *FileList) GetFiles() []*CompressedFileMeta

func (*FileList) GetNonce

func (m *FileList) GetNonce() uint64

func (*FileList) ProtoMessage

func (*FileList) ProtoMessage()

func (*FileList) Reset

func (m *FileList) Reset()

func (*FileList) String

func (m *FileList) String() string

func (*FileList) XXX_DiscardUnknown

func (m *FileList) XXX_DiscardUnknown()

func (*FileList) XXX_Marshal

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

func (*FileList) XXX_Merge

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

func (*FileList) XXX_Size

func (m *FileList) XXX_Size() int

func (*FileList) XXX_Unmarshal

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

type GetAccountBlocks

type GetAccountBlocks struct {
	Address              []byte   `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"`
	From                 *BlockID `protobuf:"bytes,2,opt,name=From,proto3" json:"From,omitempty"`
	Count                uint64   `protobuf:"varint,3,opt,name=Count,proto3" json:"Count,omitempty"`
	Forward              bool     `protobuf:"varint,4,opt,name=Forward,proto3" json:"Forward,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetAccountBlocks) Descriptor

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

func (*GetAccountBlocks) GetAddress

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

func (*GetAccountBlocks) GetCount

func (m *GetAccountBlocks) GetCount() uint64

func (*GetAccountBlocks) GetForward

func (m *GetAccountBlocks) GetForward() bool

func (*GetAccountBlocks) GetFrom

func (m *GetAccountBlocks) GetFrom() *BlockID

func (*GetAccountBlocks) ProtoMessage

func (*GetAccountBlocks) ProtoMessage()

func (*GetAccountBlocks) Reset

func (m *GetAccountBlocks) Reset()

func (*GetAccountBlocks) String

func (m *GetAccountBlocks) String() string

func (*GetAccountBlocks) XXX_DiscardUnknown

func (m *GetAccountBlocks) XXX_DiscardUnknown()

func (*GetAccountBlocks) XXX_Marshal

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

func (*GetAccountBlocks) XXX_Merge

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

func (*GetAccountBlocks) XXX_Size

func (m *GetAccountBlocks) XXX_Size() int

func (*GetAccountBlocks) XXX_Unmarshal

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

type GetChunk

type GetChunk struct {
	Start                uint64   `protobuf:"varint,1,opt,name=Start,proto3" json:"Start,omitempty"`
	End                  uint64   `protobuf:"varint,2,opt,name=End,proto3" json:"End,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetChunk) Descriptor

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

func (*GetChunk) GetEnd

func (m *GetChunk) GetEnd() uint64

func (*GetChunk) GetStart

func (m *GetChunk) GetStart() uint64

func (*GetChunk) ProtoMessage

func (*GetChunk) ProtoMessage()

func (*GetChunk) Reset

func (m *GetChunk) Reset()

func (*GetChunk) String

func (m *GetChunk) String() string

func (*GetChunk) XXX_DiscardUnknown

func (m *GetChunk) XXX_DiscardUnknown()

func (*GetChunk) XXX_Marshal

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

func (*GetChunk) XXX_Merge

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

func (*GetChunk) XXX_Size

func (m *GetChunk) XXX_Size() int

func (*GetChunk) XXX_Unmarshal

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

type GetFiles

type GetFiles struct {
	Names                []string `protobuf:"bytes,1,rep,name=Names,proto3" json:"Names,omitempty"`
	Nonce                uint64   `protobuf:"varint,2,opt,name=Nonce,proto3" json:"Nonce,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetFiles) Descriptor

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

func (*GetFiles) GetNames

func (m *GetFiles) GetNames() []string

func (*GetFiles) GetNonce

func (m *GetFiles) GetNonce() uint64

func (*GetFiles) ProtoMessage

func (*GetFiles) ProtoMessage()

func (*GetFiles) Reset

func (m *GetFiles) Reset()

func (*GetFiles) String

func (m *GetFiles) String() string

func (*GetFiles) XXX_DiscardUnknown

func (m *GetFiles) XXX_DiscardUnknown()

func (*GetFiles) XXX_Marshal

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

func (*GetFiles) XXX_Merge

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

func (*GetFiles) XXX_Size

func (m *GetFiles) XXX_Size() int

func (*GetFiles) XXX_Unmarshal

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

type GetSnapshotBlocks

type GetSnapshotBlocks struct {
	From                 *BlockID `protobuf:"bytes,1,opt,name=From,proto3" json:"From,omitempty"`
	Count                uint64   `protobuf:"varint,2,opt,name=Count,proto3" json:"Count,omitempty"`
	Forward              bool     `protobuf:"varint,3,opt,name=Forward,proto3" json:"Forward,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetSnapshotBlocks) Descriptor

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

func (*GetSnapshotBlocks) GetCount

func (m *GetSnapshotBlocks) GetCount() uint64

func (*GetSnapshotBlocks) GetForward

func (m *GetSnapshotBlocks) GetForward() bool

func (*GetSnapshotBlocks) GetFrom

func (m *GetSnapshotBlocks) GetFrom() *BlockID

func (*GetSnapshotBlocks) ProtoMessage

func (*GetSnapshotBlocks) ProtoMessage()

func (*GetSnapshotBlocks) Reset

func (m *GetSnapshotBlocks) Reset()

func (*GetSnapshotBlocks) String

func (m *GetSnapshotBlocks) String() string

func (*GetSnapshotBlocks) XXX_DiscardUnknown

func (m *GetSnapshotBlocks) XXX_DiscardUnknown()

func (*GetSnapshotBlocks) XXX_Marshal

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

func (*GetSnapshotBlocks) XXX_Merge

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

func (*GetSnapshotBlocks) XXX_Size

func (m *GetSnapshotBlocks) XXX_Size() int

func (*GetSnapshotBlocks) XXX_Unmarshal

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

type Handshake

type Handshake struct {
	CmdSet               uint64   `protobuf:"varint,1,opt,name=CmdSet,proto3" json:"CmdSet,omitempty"`
	Height               uint64   `protobuf:"varint,2,opt,name=Height,proto3" json:"Height,omitempty"`
	Port                 uint32   `protobuf:"varint,3,opt,name=Port,proto3" json:"Port,omitempty"`
	Current              []byte   `protobuf:"bytes,4,opt,name=Current,proto3" json:"Current,omitempty"`
	Genesis              []byte   `protobuf:"bytes,5,opt,name=Genesis,proto3" json:"Genesis,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Handshake) Descriptor

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

func (*Handshake) GetCmdSet

func (m *Handshake) GetCmdSet() uint64

func (*Handshake) GetCurrent

func (m *Handshake) GetCurrent() []byte

func (*Handshake) GetGenesis

func (m *Handshake) GetGenesis() []byte

func (*Handshake) GetHeight

func (m *Handshake) GetHeight() uint64

func (*Handshake) GetPort

func (m *Handshake) GetPort() uint32

func (*Handshake) ProtoMessage

func (*Handshake) ProtoMessage()

func (*Handshake) Reset

func (m *Handshake) Reset()

func (*Handshake) String

func (m *Handshake) String() string

func (*Handshake) XXX_DiscardUnknown

func (m *Handshake) XXX_DiscardUnknown()

func (*Handshake) XXX_Marshal

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

func (*Handshake) XXX_Merge

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

func (*Handshake) XXX_Size

func (m *Handshake) XXX_Size() int

func (*Handshake) XXX_Unmarshal

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

type HashList

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

func (*HashList) Descriptor

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

func (*HashList) GetHashList

func (m *HashList) GetHashList() [][]byte

func (*HashList) ProtoMessage

func (*HashList) ProtoMessage()

func (*HashList) Reset

func (m *HashList) Reset()

func (*HashList) String

func (m *HashList) String() string

func (*HashList) XXX_DiscardUnknown

func (m *HashList) XXX_DiscardUnknown()

func (*HashList) XXX_Marshal

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

func (*HashList) XXX_Merge

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

func (*HashList) XXX_Size

func (m *HashList) XXX_Size() int

func (*HashList) XXX_Unmarshal

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

type Producer

type Producer struct {
	BrokerList           []string `protobuf:"bytes,1,rep,name=brokerList,proto3" json:"brokerList,omitempty"`
	Topic                string   `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Producer) Descriptor

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

func (*Producer) GetBrokerList

func (m *Producer) GetBrokerList() []string

func (*Producer) GetTopic

func (m *Producer) GetTopic() string

func (*Producer) ProtoMessage

func (*Producer) ProtoMessage()

func (*Producer) Reset

func (m *Producer) Reset()

func (*Producer) String

func (m *Producer) String() string

func (*Producer) XXX_DiscardUnknown

func (m *Producer) XXX_DiscardUnknown()

func (*Producer) XXX_Marshal

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

func (*Producer) XXX_Merge

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

func (*Producer) XXX_Size

func (m *Producer) XXX_Size() int

func (*Producer) XXX_Unmarshal

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

type SnapshotBlock

type SnapshotBlock struct {
	Hash                 []byte           `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	PrevHash             []byte           `protobuf:"bytes,2,opt,name=prevHash,proto3" json:"prevHash,omitempty"`
	Height               uint64           `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	PublicKey            []byte           `protobuf:"bytes,4,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	Signature            []byte           `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"`
	Timestamp            int64            `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	StateHash            []byte           `protobuf:"bytes,7,opt,name=stateHash,proto3" json:"stateHash,omitempty"`
	SnapshotContent      *SnapshotContent `protobuf:"bytes,8,opt,name=snapshotContent,proto3" json:"snapshotContent,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*SnapshotBlock) Descriptor

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

func (*SnapshotBlock) GetHash

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

func (*SnapshotBlock) GetHeight

func (m *SnapshotBlock) GetHeight() uint64

func (*SnapshotBlock) GetPrevHash

func (m *SnapshotBlock) GetPrevHash() []byte

func (*SnapshotBlock) GetPublicKey

func (m *SnapshotBlock) GetPublicKey() []byte

func (*SnapshotBlock) GetSignature

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

func (*SnapshotBlock) GetSnapshotContent

func (m *SnapshotBlock) GetSnapshotContent() *SnapshotContent

func (*SnapshotBlock) GetStateHash

func (m *SnapshotBlock) GetStateHash() []byte

func (*SnapshotBlock) GetTimestamp

func (m *SnapshotBlock) GetTimestamp() int64

func (*SnapshotBlock) ProtoMessage

func (*SnapshotBlock) ProtoMessage()

func (*SnapshotBlock) Reset

func (m *SnapshotBlock) Reset()

func (*SnapshotBlock) String

func (m *SnapshotBlock) String() string

func (*SnapshotBlock) XXX_DiscardUnknown

func (m *SnapshotBlock) XXX_DiscardUnknown()

func (*SnapshotBlock) XXX_Marshal

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

func (*SnapshotBlock) XXX_Merge

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

func (*SnapshotBlock) XXX_Size

func (m *SnapshotBlock) XXX_Size() int

func (*SnapshotBlock) XXX_Unmarshal

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

type SnapshotBlocks

type SnapshotBlocks struct {
	Blocks               []*SnapshotBlock `protobuf:"bytes,1,rep,name=Blocks,proto3" json:"Blocks,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*SnapshotBlocks) Descriptor

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

func (*SnapshotBlocks) GetBlocks

func (m *SnapshotBlocks) GetBlocks() []*SnapshotBlock

func (*SnapshotBlocks) ProtoMessage

func (*SnapshotBlocks) ProtoMessage()

func (*SnapshotBlocks) Reset

func (m *SnapshotBlocks) Reset()

func (*SnapshotBlocks) String

func (m *SnapshotBlocks) String() string

func (*SnapshotBlocks) XXX_DiscardUnknown

func (m *SnapshotBlocks) XXX_DiscardUnknown()

func (*SnapshotBlocks) XXX_Marshal

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

func (*SnapshotBlocks) XXX_Merge

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

func (*SnapshotBlocks) XXX_Size

func (m *SnapshotBlocks) XXX_Size() int

func (*SnapshotBlocks) XXX_Unmarshal

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

type SnapshotContent

type SnapshotContent struct {
	Content              map[string]*SnapshotItem `` /* 155-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*SnapshotContent) Descriptor

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

func (*SnapshotContent) GetContent

func (m *SnapshotContent) GetContent() map[string]*SnapshotItem

func (*SnapshotContent) ProtoMessage

func (*SnapshotContent) ProtoMessage()

func (*SnapshotContent) Reset

func (m *SnapshotContent) Reset()

func (*SnapshotContent) String

func (m *SnapshotContent) String() string

func (*SnapshotContent) XXX_DiscardUnknown

func (m *SnapshotContent) XXX_DiscardUnknown()

func (*SnapshotContent) XXX_Marshal

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

func (*SnapshotContent) XXX_Merge

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

func (*SnapshotContent) XXX_Size

func (m *SnapshotContent) XXX_Size() int

func (*SnapshotContent) XXX_Unmarshal

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

type SnapshotItem

type SnapshotItem struct {
	AccountBlockHeight   uint64   `protobuf:"varint,1,opt,name=accountBlockHeight,proto3" json:"accountBlockHeight,omitempty"`
	AccountBlockHash     []byte   `protobuf:"bytes,2,opt,name=accountBlockHash,proto3" json:"accountBlockHash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SnapshotItem) Descriptor

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

func (*SnapshotItem) GetAccountBlockHash

func (m *SnapshotItem) GetAccountBlockHash() []byte

func (*SnapshotItem) GetAccountBlockHeight

func (m *SnapshotItem) GetAccountBlockHeight() uint64

func (*SnapshotItem) ProtoMessage

func (*SnapshotItem) ProtoMessage()

func (*SnapshotItem) Reset

func (m *SnapshotItem) Reset()

func (*SnapshotItem) String

func (m *SnapshotItem) String() string

func (*SnapshotItem) XXX_DiscardUnknown

func (m *SnapshotItem) XXX_DiscardUnknown()

func (*SnapshotItem) XXX_Marshal

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

func (*SnapshotItem) XXX_Merge

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

func (*SnapshotItem) XXX_Size

func (m *SnapshotItem) XXX_Size() int

func (*SnapshotItem) XXX_Unmarshal

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

type SubLedger

type SubLedger struct {
	SBlocks              []*SnapshotBlock `protobuf:"bytes,1,rep,name=SBlocks,proto3" json:"SBlocks,omitempty"`
	ABlocks              []*AccountBlock  `protobuf:"bytes,2,rep,name=ABlocks,proto3" json:"ABlocks,omitempty"`
	AblockNum            uint64           `protobuf:"varint,3,opt,name=AblockNum,proto3" json:"AblockNum,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*SubLedger) Descriptor

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

func (*SubLedger) GetABlocks

func (m *SubLedger) GetABlocks() []*AccountBlock

func (*SubLedger) GetAblockNum

func (m *SubLedger) GetAblockNum() uint64

func (*SubLedger) GetSBlocks

func (m *SubLedger) GetSBlocks() []*SnapshotBlock

func (*SubLedger) ProtoMessage

func (*SubLedger) ProtoMessage()

func (*SubLedger) Reset

func (m *SubLedger) Reset()

func (*SubLedger) String

func (m *SubLedger) String() string

func (*SubLedger) XXX_DiscardUnknown

func (m *SubLedger) XXX_DiscardUnknown()

func (*SubLedger) XXX_Marshal

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

func (*SubLedger) XXX_Merge

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

func (*SubLedger) XXX_Size

func (m *SubLedger) XXX_Size() int

func (*SubLedger) XXX_Unmarshal

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

type TokenInfo

type TokenInfo struct {
	TokenId              []byte   `protobuf:"bytes,1,opt,name=tokenId,proto3" json:"tokenId,omitempty"`
	TotalAmount          []byte   `protobuf:"bytes,2,opt,name=totalAmount,proto3" json:"totalAmount,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TokenInfo) Descriptor

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

func (*TokenInfo) GetTokenId

func (m *TokenInfo) GetTokenId() []byte

func (*TokenInfo) GetTotalAmount

func (m *TokenInfo) GetTotalAmount() []byte

func (*TokenInfo) ProtoMessage

func (*TokenInfo) ProtoMessage()

func (*TokenInfo) Reset

func (m *TokenInfo) Reset()

func (*TokenInfo) String

func (m *TokenInfo) String() string

func (*TokenInfo) XXX_DiscardUnknown

func (m *TokenInfo) XXX_DiscardUnknown()

func (*TokenInfo) XXX_Marshal

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

func (*TokenInfo) XXX_Merge

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

func (*TokenInfo) XXX_Size

func (m *TokenInfo) XXX_Size() int

func (*TokenInfo) XXX_Unmarshal

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

type TrieNode

type TrieNode struct {
	NodeType             uint32            `protobuf:"varint,1,opt,name=NodeType,proto3" json:"NodeType,omitempty"`
	Children             map[uint32][]byte `` /* 158-byte string literal not displayed */
	Key                  []byte            `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	Child                []byte            `protobuf:"bytes,4,opt,name=child,proto3" json:"child,omitempty"`
	Value                []byte            `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*TrieNode) Descriptor

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

func (*TrieNode) GetChild

func (m *TrieNode) GetChild() []byte

func (*TrieNode) GetChildren

func (m *TrieNode) GetChildren() map[uint32][]byte

func (*TrieNode) GetKey

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

func (*TrieNode) GetNodeType

func (m *TrieNode) GetNodeType() uint32

func (*TrieNode) GetValue

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

func (*TrieNode) ProtoMessage

func (*TrieNode) ProtoMessage()

func (*TrieNode) Reset

func (m *TrieNode) Reset()

func (*TrieNode) String

func (m *TrieNode) String() string

func (*TrieNode) XXX_DiscardUnknown

func (m *TrieNode) XXX_DiscardUnknown()

func (*TrieNode) XXX_Marshal

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

func (*TrieNode) XXX_Merge

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

func (*TrieNode) XXX_Size

func (m *TrieNode) XXX_Size() int

func (*TrieNode) XXX_Unmarshal

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

type UnconfirmedMeta

type UnconfirmedMeta struct {
	AccountId            []byte       `protobuf:"bytes,1,opt,name=accountId,proto3" json:"accountId,omitempty"`
	TotalNumber          []byte       `protobuf:"bytes,2,opt,name=totalNumber,proto3" json:"totalNumber,omitempty"`
	TokenInfoList        []*TokenInfo `protobuf:"bytes,3,rep,name=tokenInfoList,proto3" json:"tokenInfoList,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*UnconfirmedMeta) Descriptor

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

func (*UnconfirmedMeta) GetAccountId

func (m *UnconfirmedMeta) GetAccountId() []byte

func (*UnconfirmedMeta) GetTokenInfoList

func (m *UnconfirmedMeta) GetTokenInfoList() []*TokenInfo

func (*UnconfirmedMeta) GetTotalNumber

func (m *UnconfirmedMeta) GetTotalNumber() []byte

func (*UnconfirmedMeta) ProtoMessage

func (*UnconfirmedMeta) ProtoMessage()

func (*UnconfirmedMeta) Reset

func (m *UnconfirmedMeta) Reset()

func (*UnconfirmedMeta) String

func (m *UnconfirmedMeta) String() string

func (*UnconfirmedMeta) XXX_DiscardUnknown

func (m *UnconfirmedMeta) XXX_DiscardUnknown()

func (*UnconfirmedMeta) XXX_Marshal

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

func (*UnconfirmedMeta) XXX_Merge

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

func (*UnconfirmedMeta) XXX_Size

func (m *UnconfirmedMeta) XXX_Size() int

func (*UnconfirmedMeta) XXX_Unmarshal

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

type VmLog

type VmLog struct {
	Topics               [][]byte `protobuf:"bytes,1,rep,name=topics,proto3" json:"topics,omitempty"`
	Data                 []byte   `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VmLog) Descriptor

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

func (*VmLog) GetData

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

func (*VmLog) GetTopics

func (m *VmLog) GetTopics() [][]byte

func (*VmLog) ProtoMessage

func (*VmLog) ProtoMessage()

func (*VmLog) Reset

func (m *VmLog) Reset()

func (*VmLog) String

func (m *VmLog) String() string

func (*VmLog) XXX_DiscardUnknown

func (m *VmLog) XXX_DiscardUnknown()

func (*VmLog) XXX_Marshal

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

func (*VmLog) XXX_Merge

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

func (*VmLog) XXX_Size

func (m *VmLog) XXX_Size() int

func (*VmLog) XXX_Unmarshal

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

type VmLogList

type VmLogList struct {
	List                 []*VmLog `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VmLogList) Descriptor

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

func (*VmLogList) GetList

func (m *VmLogList) GetList() []*VmLog

func (*VmLogList) ProtoMessage

func (*VmLogList) ProtoMessage()

func (*VmLogList) Reset

func (m *VmLogList) Reset()

func (*VmLogList) String

func (m *VmLogList) String() string

func (*VmLogList) XXX_DiscardUnknown

func (m *VmLogList) XXX_DiscardUnknown()

func (*VmLogList) XXX_Marshal

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

func (*VmLogList) XXX_Merge

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

func (*VmLogList) XXX_Size

func (m *VmLogList) XXX_Size() int

func (*VmLogList) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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