vitepb

package
v2.10.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: GPL-3.0 Imports: 3 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AccountBlock_BlockType_name = map[int32]string{
	0: "Unknown",
	1: "SendCreate",
	2: "SendCall",
	3: "SendReward",
	4: "Receive",
	5: "ReceiveError",
	6: "SendRefund",
	7: "GenesisReceive",
}
View Source
var AccountBlock_BlockType_value = map[string]int32{
	"Unknown":        0,
	"SendCreate":     1,
	"SendCall":       2,
	"SendReward":     3,
	"Receive":        4,
	"ReceiveError":   5,
	"SendRefund":     6,
	"GenesisReceive": 7,
}
View Source
var State_PeerStatus_name = map[int32]string{
	0: "Connected",
	1: "Disconnected",
}
View Source
var State_PeerStatus_value = map[string]int32{
	"Connected":    0,
	"Disconnected": 1,
}

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            AccountBlock_BlockType `protobuf:"varint,1,opt,name=blockType,proto3,enum=vitepb.AccountBlock_BlockType" 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"`
	Amount               []byte                 `protobuf:"bytes,8,opt,name=amount,proto3" json:"amount,omitempty"`
	TokenId              []byte                 `protobuf:"bytes,9,opt,name=tokenId,proto3" json:"tokenId,omitempty"`
	FromBlockHash        []byte                 `protobuf:"bytes,10,opt,name=fromBlockHash,proto3" json:"fromBlockHash,omitempty"`
	Data                 []byte                 `protobuf:"bytes,11,opt,name=data,proto3" json:"data,omitempty"`
	Quota                uint64                 `protobuf:"varint,12,opt,name=quota,proto3" json:"quota,omitempty"`
	Fee                  []byte                 `protobuf:"bytes,13,opt,name=fee,proto3" json:"fee,omitempty"`
	StateHash            []byte                 `protobuf:"bytes,14,opt,name=StateHash,proto3" json:"StateHash,omitempty"`
	LogHash              []byte                 `protobuf:"bytes,15,opt,name=logHash,proto3" json:"logHash,omitempty"`
	Difficulty           []byte                 `protobuf:"bytes,16,opt,name=difficulty,proto3" json:"difficulty,omitempty"`
	Nonce                []byte                 `protobuf:"bytes,17,opt,name=nonce,proto3" json:"nonce,omitempty"`
	SendBlockList        []*AccountBlock        `protobuf:"bytes,18,rep,name=SendBlockList,proto3" json:"SendBlockList,omitempty"`
	Signature            []byte                 `protobuf:"bytes,19,opt,name=signature,proto3" json:"signature,omitempty"`
	QuotaUsed            uint64                 `protobuf:"varint,20,opt,name=quotaUsed,proto3" json:"quotaUsed,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() AccountBlock_BlockType

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) GetQuotaUsed

func (m *AccountBlock) GetQuotaUsed() uint64

func (*AccountBlock) GetSendBlockList

func (m *AccountBlock) GetSendBlockList() []*AccountBlock

func (*AccountBlock) GetSignature

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

func (*AccountBlock) GetStateHash

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

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 AccountBlock_BlockType

type AccountBlock_BlockType int32
const (
	AccountBlock_Unknown        AccountBlock_BlockType = 0
	AccountBlock_SendCreate     AccountBlock_BlockType = 1
	AccountBlock_SendCall       AccountBlock_BlockType = 2
	AccountBlock_SendReward     AccountBlock_BlockType = 3
	AccountBlock_Receive        AccountBlock_BlockType = 4
	AccountBlock_ReceiveError   AccountBlock_BlockType = 5
	AccountBlock_SendRefund     AccountBlock_BlockType = 6
	AccountBlock_GenesisReceive AccountBlock_BlockType = 7
)

func (AccountBlock_BlockType) EnumDescriptor

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

func (AccountBlock_BlockType) String

func (x AccountBlock_BlockType) String() string

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 CacheItem

type CacheItem struct {
	From                 uint64        `protobuf:"varint,1,opt,name=from,proto3" json:"from,omitempty"`
	To                   uint64        `protobuf:"varint,2,opt,name=to,proto3" json:"to,omitempty"`
	PrevHash             []byte        `protobuf:"bytes,3,opt,name=prevHash,proto3" json:"prevHash,omitempty"`
	Hash                 []byte        `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
	Points               []*HashHeight `protobuf:"bytes,5,rep,name=points,proto3" json:"points,omitempty"`
	Verified             bool          `protobuf:"varint,6,opt,name=verified,proto3" json:"verified,omitempty"`
	Filename             string        `protobuf:"bytes,7,opt,name=filename,proto3" json:"filename,omitempty"`
	Done                 bool          `protobuf:"varint,8,opt,name=done,proto3" json:"done,omitempty"`
	Size                 int64         `protobuf:"varint,9,opt,name=size,proto3" json:"size,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*CacheItem) Descriptor

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

func (*CacheItem) GetDone

func (m *CacheItem) GetDone() bool

func (*CacheItem) GetFilename

func (m *CacheItem) GetFilename() string

func (*CacheItem) GetFrom

func (m *CacheItem) GetFrom() uint64

func (*CacheItem) GetHash

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

func (*CacheItem) GetPoints

func (m *CacheItem) GetPoints() []*HashHeight

func (*CacheItem) GetPrevHash

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

func (*CacheItem) GetSize

func (m *CacheItem) GetSize() int64

func (*CacheItem) GetTo

func (m *CacheItem) GetTo() uint64

func (*CacheItem) GetVerified

func (m *CacheItem) GetVerified() bool

func (*CacheItem) ProtoMessage

func (*CacheItem) ProtoMessage()

func (*CacheItem) Reset

func (m *CacheItem) Reset()

func (*CacheItem) String

func (m *CacheItem) String() string

func (*CacheItem) XXX_DiscardUnknown

func (m *CacheItem) XXX_DiscardUnknown()

func (*CacheItem) XXX_Marshal

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

func (*CacheItem) XXX_Merge

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

func (*CacheItem) XXX_Size

func (m *CacheItem) XXX_Size() int

func (*CacheItem) XXX_Unmarshal

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

type CacheItems

type CacheItems struct {
	Items                []*CacheItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*CacheItems) Descriptor

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

func (*CacheItems) GetItems

func (m *CacheItems) GetItems() []*CacheItem

func (*CacheItems) ProtoMessage

func (*CacheItems) ProtoMessage()

func (*CacheItems) Reset

func (m *CacheItems) Reset()

func (*CacheItems) String

func (m *CacheItems) String() string

func (*CacheItems) XXX_DiscardUnknown

func (m *CacheItems) XXX_DiscardUnknown()

func (*CacheItems) XXX_Marshal

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

func (*CacheItems) XXX_Merge

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

func (*CacheItems) XXX_Size

func (m *CacheItems) XXX_Size() int

func (*CacheItems) XXX_Unmarshal

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

type ChunkRequest

type ChunkRequest struct {
	From                 uint64   `protobuf:"varint,1,opt,name=From,proto3" json:"From,omitempty"`
	To                   uint64   `protobuf:"varint,2,opt,name=To,proto3" json:"To,omitempty"`
	PrevHash             []byte   `protobuf:"bytes,3,opt,name=PrevHash,proto3" json:"PrevHash,omitempty"`
	EndHash              []byte   `protobuf:"bytes,4,opt,name=EndHash,proto3" json:"EndHash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChunkRequest) Descriptor

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

func (*ChunkRequest) GetEndHash

func (m *ChunkRequest) GetEndHash() []byte

func (*ChunkRequest) GetFrom

func (m *ChunkRequest) GetFrom() uint64

func (*ChunkRequest) GetPrevHash

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

func (*ChunkRequest) GetTo

func (m *ChunkRequest) GetTo() uint64

func (*ChunkRequest) ProtoMessage

func (*ChunkRequest) ProtoMessage()

func (*ChunkRequest) Reset

func (m *ChunkRequest) Reset()

func (*ChunkRequest) String

func (m *ChunkRequest) String() string

func (*ChunkRequest) XXX_DiscardUnknown

func (m *ChunkRequest) XXX_DiscardUnknown()

func (*ChunkRequest) XXX_Marshal

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

func (*ChunkRequest) XXX_Merge

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

func (*ChunkRequest) XXX_Size

func (m *ChunkRequest) XXX_Size() int

func (*ChunkRequest) XXX_Unmarshal

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

type ChunkResponse

type ChunkResponse struct {
	From                 uint64   `protobuf:"varint,1,opt,name=From,proto3" json:"From,omitempty"`
	To                   uint64   `protobuf:"varint,2,opt,name=To,proto3" json:"To,omitempty"`
	PrevHash             []byte   `protobuf:"bytes,3,opt,name=PrevHash,proto3" json:"PrevHash,omitempty"`
	EndHash              []byte   `protobuf:"bytes,4,opt,name=EndHash,proto3" json:"EndHash,omitempty"`
	Size                 uint64   `protobuf:"varint,5,opt,name=Size,proto3" json:"Size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChunkResponse) Descriptor

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

func (*ChunkResponse) GetEndHash

func (m *ChunkResponse) GetEndHash() []byte

func (*ChunkResponse) GetFrom

func (m *ChunkResponse) GetFrom() uint64

func (*ChunkResponse) GetPrevHash

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

func (*ChunkResponse) GetSize

func (m *ChunkResponse) GetSize() uint64

func (*ChunkResponse) GetTo

func (m *ChunkResponse) GetTo() uint64

func (*ChunkResponse) ProtoMessage

func (*ChunkResponse) ProtoMessage()

func (*ChunkResponse) Reset

func (m *ChunkResponse) Reset()

func (*ChunkResponse) String

func (m *ChunkResponse) String() string

func (*ChunkResponse) XXX_DiscardUnknown

func (m *ChunkResponse) XXX_DiscardUnknown()

func (*ChunkResponse) XXX_Marshal

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

func (*ChunkResponse) XXX_Merge

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

func (*ChunkResponse) XXX_Size

func (m *ChunkResponse) XXX_Size() int

func (*ChunkResponse) XXX_Unmarshal

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

type ConsensusPoint

type ConsensusPoint struct {
	PrevHash             []byte              `protobuf:"bytes,1,opt,name=prevHash,proto3" json:"prevHash,omitempty"`
	Hash                 []byte              `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	Contents             []*PointContent     `protobuf:"bytes,7,rep,name=contents,proto3" json:"contents,omitempty"`
	Votes                []*PointVoteContent `protobuf:"bytes,8,rep,name=votes,proto3" json:"votes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*ConsensusPoint) Descriptor

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

func (*ConsensusPoint) GetContents

func (m *ConsensusPoint) GetContents() []*PointContent

func (*ConsensusPoint) GetHash

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

func (*ConsensusPoint) GetPrevHash

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

func (*ConsensusPoint) GetVotes

func (m *ConsensusPoint) GetVotes() []*PointVoteContent

func (*ConsensusPoint) ProtoMessage

func (*ConsensusPoint) ProtoMessage()

func (*ConsensusPoint) Reset

func (m *ConsensusPoint) Reset()

func (*ConsensusPoint) String

func (m *ConsensusPoint) String() string

func (*ConsensusPoint) XXX_DiscardUnknown

func (m *ConsensusPoint) XXX_DiscardUnknown()

func (*ConsensusPoint) XXX_Marshal

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

func (*ConsensusPoint) XXX_Merge

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

func (*ConsensusPoint) XXX_Size

func (m *ConsensusPoint) XXX_Size() int

func (*ConsensusPoint) XXX_Unmarshal

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

type GetAccountBlocks

type GetAccountBlocks struct {
	Address              []byte      `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"`
	From                 *HashHeight `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() *HashHeight

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 GetHashHeightList

type GetHashHeightList struct {
	From                 []*HashHeight `protobuf:"bytes,1,rep,name=From,proto3" json:"From,omitempty"`
	Step                 uint64        `protobuf:"varint,2,opt,name=Step,proto3" json:"Step,omitempty"`
	To                   uint64        `protobuf:"varint,3,opt,name=To,proto3" json:"To,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*GetHashHeightList) Descriptor

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

func (*GetHashHeightList) GetFrom

func (m *GetHashHeightList) GetFrom() []*HashHeight

func (*GetHashHeightList) GetStep

func (m *GetHashHeightList) GetStep() uint64

func (*GetHashHeightList) GetTo

func (m *GetHashHeightList) GetTo() uint64

func (*GetHashHeightList) ProtoMessage

func (*GetHashHeightList) ProtoMessage()

func (*GetHashHeightList) Reset

func (m *GetHashHeightList) Reset()

func (*GetHashHeightList) String

func (m *GetHashHeightList) String() string

func (*GetHashHeightList) XXX_DiscardUnknown

func (m *GetHashHeightList) XXX_DiscardUnknown()

func (*GetHashHeightList) XXX_Marshal

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

func (*GetHashHeightList) XXX_Merge

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

func (*GetHashHeightList) XXX_Size

func (m *GetHashHeightList) XXX_Size() int

func (*GetHashHeightList) XXX_Unmarshal

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

type GetSnapshotBlocks

type GetSnapshotBlocks struct {
	From                 *HashHeight `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() *HashHeight

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 {
	Version              int64    `protobuf:"varint,1,opt,name=Version,proto3" json:"Version,omitempty"`
	NetId                int64    `protobuf:"varint,2,opt,name=NetId,proto3" json:"NetId,omitempty"`
	Name                 string   `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
	ID                   []byte   `protobuf:"bytes,4,opt,name=ID,proto3" json:"ID,omitempty"`
	Timestamp            int64    `protobuf:"varint,5,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Genesis              []byte   `protobuf:"bytes,6,opt,name=Genesis,proto3" json:"Genesis,omitempty"`
	Height               uint64   `protobuf:"varint,7,opt,name=Height,proto3" json:"Height,omitempty"`
	Head                 []byte   `protobuf:"bytes,8,opt,name=Head,proto3" json:"Head,omitempty"`
	FileAddress          []byte   `protobuf:"bytes,9,opt,name=FileAddress,proto3" json:"FileAddress,omitempty"`
	Key                  []byte   `protobuf:"bytes,10,opt,name=Key,proto3" json:"Key,omitempty"`
	Token                []byte   `protobuf:"bytes,11,opt,name=Token,proto3" json:"Token,omitempty"`
	PublicAddress        []byte   `protobuf:"bytes,12,opt,name=PublicAddress,proto3" json:"PublicAddress,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Handshake) Descriptor

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

func (*Handshake) GetFileAddress

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

func (*Handshake) GetGenesis

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

func (*Handshake) GetHead

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

func (*Handshake) GetHeight

func (m *Handshake) GetHeight() uint64

func (*Handshake) GetID

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

func (*Handshake) GetKey

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

func (*Handshake) GetName

func (m *Handshake) GetName() string

func (*Handshake) GetNetId

func (m *Handshake) GetNetId() int64

func (*Handshake) GetPublicAddress

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

func (*Handshake) GetTimestamp

func (m *Handshake) GetTimestamp() int64

func (*Handshake) GetToken

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

func (*Handshake) GetVersion

func (m *Handshake) GetVersion() int64

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 HashHeight added in v1.2.0

type HashHeight 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 (*HashHeight) Descriptor added in v1.2.0

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

func (*HashHeight) GetHash added in v1.2.0

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

func (*HashHeight) GetHeight added in v1.2.0

func (m *HashHeight) GetHeight() uint64

func (*HashHeight) ProtoMessage added in v1.2.0

func (*HashHeight) ProtoMessage()

func (*HashHeight) Reset added in v1.2.0

func (m *HashHeight) Reset()

func (*HashHeight) String added in v1.2.0

func (m *HashHeight) String() string

func (*HashHeight) XXX_DiscardUnknown added in v1.2.0

func (m *HashHeight) XXX_DiscardUnknown()

func (*HashHeight) XXX_Marshal added in v1.2.0

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

func (*HashHeight) XXX_Merge added in v1.2.0

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

func (*HashHeight) XXX_Size added in v1.2.0

func (m *HashHeight) XXX_Size() int

func (*HashHeight) XXX_Unmarshal added in v1.2.0

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

type HashHeightList

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

func (*HashHeightList) Descriptor

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

func (*HashHeightList) GetPoints

func (m *HashHeightList) GetPoints() []*HashHeightPoint

func (*HashHeightList) ProtoMessage

func (*HashHeightList) ProtoMessage()

func (*HashHeightList) Reset

func (m *HashHeightList) Reset()

func (*HashHeightList) String

func (m *HashHeightList) String() string

func (*HashHeightList) XXX_DiscardUnknown

func (m *HashHeightList) XXX_DiscardUnknown()

func (*HashHeightList) XXX_Marshal

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

func (*HashHeightList) XXX_Merge

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

func (*HashHeightList) XXX_Size

func (m *HashHeightList) XXX_Size() int

func (*HashHeightList) XXX_Unmarshal

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

type HashHeightPoint

type HashHeightPoint struct {
	Point                *HashHeight `protobuf:"bytes,1,opt,name=Point,proto3" json:"Point,omitempty"`
	Size                 uint64      `protobuf:"varint,2,opt,name=Size,proto3" json:"Size,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*HashHeightPoint) Descriptor

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

func (*HashHeightPoint) GetPoint

func (m *HashHeightPoint) GetPoint() *HashHeight

func (*HashHeightPoint) GetSize

func (m *HashHeightPoint) GetSize() uint64

func (*HashHeightPoint) ProtoMessage

func (*HashHeightPoint) ProtoMessage()

func (*HashHeightPoint) Reset

func (m *HashHeightPoint) Reset()

func (*HashHeightPoint) String

func (m *HashHeightPoint) String() string

func (*HashHeightPoint) XXX_DiscardUnknown

func (m *HashHeightPoint) XXX_DiscardUnknown()

func (*HashHeightPoint) XXX_Marshal

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

func (*HashHeightPoint) XXX_Merge

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

func (*HashHeightPoint) XXX_Size

func (m *HashHeightPoint) XXX_Size() int

func (*HashHeightPoint) XXX_Unmarshal

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

type NewAccountBlock

type NewAccountBlock struct {
	Block                *AccountBlock `protobuf:"bytes,1,opt,name=Block,proto3" json:"Block,omitempty"`
	TTL                  int32         `protobuf:"varint,2,opt,name=TTL,proto3" json:"TTL,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*NewAccountBlock) Descriptor

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

func (*NewAccountBlock) GetBlock

func (m *NewAccountBlock) GetBlock() *AccountBlock

func (*NewAccountBlock) GetTTL

func (m *NewAccountBlock) GetTTL() int32

func (*NewAccountBlock) ProtoMessage

func (*NewAccountBlock) ProtoMessage()

func (*NewAccountBlock) Reset

func (m *NewAccountBlock) Reset()

func (*NewAccountBlock) String

func (m *NewAccountBlock) String() string

func (*NewAccountBlock) XXX_DiscardUnknown

func (m *NewAccountBlock) XXX_DiscardUnknown()

func (*NewAccountBlock) XXX_Marshal

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

func (*NewAccountBlock) XXX_Merge

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

func (*NewAccountBlock) XXX_Size

func (m *NewAccountBlock) XXX_Size() int

func (*NewAccountBlock) XXX_Unmarshal

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

type NewAccountBlockBytes

type NewAccountBlockBytes struct {
	Block                []byte   `protobuf:"bytes,1,opt,name=Block,proto3" json:"Block,omitempty"`
	TTL                  int32    `protobuf:"varint,2,opt,name=TTL,proto3" json:"TTL,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NewAccountBlockBytes) Descriptor

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

func (*NewAccountBlockBytes) GetBlock

func (m *NewAccountBlockBytes) GetBlock() []byte

func (*NewAccountBlockBytes) GetTTL

func (m *NewAccountBlockBytes) GetTTL() int32

func (*NewAccountBlockBytes) ProtoMessage

func (*NewAccountBlockBytes) ProtoMessage()

func (*NewAccountBlockBytes) Reset

func (m *NewAccountBlockBytes) Reset()

func (*NewAccountBlockBytes) String

func (m *NewAccountBlockBytes) String() string

func (*NewAccountBlockBytes) XXX_DiscardUnknown

func (m *NewAccountBlockBytes) XXX_DiscardUnknown()

func (*NewAccountBlockBytes) XXX_Marshal

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

func (*NewAccountBlockBytes) XXX_Merge

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

func (*NewAccountBlockBytes) XXX_Size

func (m *NewAccountBlockBytes) XXX_Size() int

func (*NewAccountBlockBytes) XXX_Unmarshal

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

type NewSnapshotBlock

type NewSnapshotBlock struct {
	Block                *SnapshotBlock `protobuf:"bytes,1,opt,name=Block,proto3" json:"Block,omitempty"`
	TTL                  int32          `protobuf:"varint,2,opt,name=TTL,proto3" json:"TTL,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*NewSnapshotBlock) Descriptor

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

func (*NewSnapshotBlock) GetBlock

func (m *NewSnapshotBlock) GetBlock() *SnapshotBlock

func (*NewSnapshotBlock) GetTTL

func (m *NewSnapshotBlock) GetTTL() int32

func (*NewSnapshotBlock) ProtoMessage

func (*NewSnapshotBlock) ProtoMessage()

func (*NewSnapshotBlock) Reset

func (m *NewSnapshotBlock) Reset()

func (*NewSnapshotBlock) String

func (m *NewSnapshotBlock) String() string

func (*NewSnapshotBlock) XXX_DiscardUnknown

func (m *NewSnapshotBlock) XXX_DiscardUnknown()

func (*NewSnapshotBlock) XXX_Marshal

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

func (*NewSnapshotBlock) XXX_Merge

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

func (*NewSnapshotBlock) XXX_Size

func (m *NewSnapshotBlock) XXX_Size() int

func (*NewSnapshotBlock) XXX_Unmarshal

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

type OnroadMeta

type OnroadMeta struct {
	Num                  uint64   `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"`
	Amount               []byte   `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*OnroadMeta) Descriptor

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

func (*OnroadMeta) GetAmount

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

func (*OnroadMeta) GetNum

func (m *OnroadMeta) GetNum() uint64

func (*OnroadMeta) ProtoMessage

func (*OnroadMeta) ProtoMessage()

func (*OnroadMeta) Reset

func (m *OnroadMeta) Reset()

func (*OnroadMeta) String

func (m *OnroadMeta) String() string

func (*OnroadMeta) XXX_DiscardUnknown

func (m *OnroadMeta) XXX_DiscardUnknown()

func (*OnroadMeta) XXX_Marshal

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

func (*OnroadMeta) XXX_Merge

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

func (*OnroadMeta) XXX_Size

func (m *OnroadMeta) XXX_Size() int

func (*OnroadMeta) XXX_Unmarshal

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

type PointContent

type PointContent struct {
	Address              []byte   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	FNum                 uint32   `protobuf:"fixed32,2,opt,name=fNum,proto3" json:"fNum,omitempty"`
	ENum                 uint32   `protobuf:"fixed32,3,opt,name=eNum,proto3" json:"eNum,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PointContent) Descriptor

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

func (*PointContent) GetAddress

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

func (*PointContent) GetENum

func (m *PointContent) GetENum() uint32

func (*PointContent) GetFNum

func (m *PointContent) GetFNum() uint32

func (*PointContent) ProtoMessage

func (*PointContent) ProtoMessage()

func (*PointContent) Reset

func (m *PointContent) Reset()

func (*PointContent) String

func (m *PointContent) String() string

func (*PointContent) XXX_DiscardUnknown

func (m *PointContent) XXX_DiscardUnknown()

func (*PointContent) XXX_Marshal

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

func (*PointContent) XXX_Merge

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

func (*PointContent) XXX_Size

func (m *PointContent) XXX_Size() int

func (*PointContent) XXX_Unmarshal

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

type PointVoteContent

type PointVoteContent struct {
	VoteCnt              []byte   `protobuf:"bytes,1,opt,name=voteCnt,proto3" json:"voteCnt,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PointVoteContent) Descriptor

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

func (*PointVoteContent) GetName

func (m *PointVoteContent) GetName() string

func (*PointVoteContent) GetVoteCnt

func (m *PointVoteContent) GetVoteCnt() []byte

func (*PointVoteContent) ProtoMessage

func (*PointVoteContent) ProtoMessage()

func (*PointVoteContent) Reset

func (m *PointVoteContent) Reset()

func (*PointVoteContent) String

func (m *PointVoteContent) String() string

func (*PointVoteContent) XXX_DiscardUnknown

func (m *PointVoteContent) XXX_DiscardUnknown()

func (*PointVoteContent) XXX_Marshal

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

func (*PointVoteContent) XXX_Merge

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

func (*PointVoteContent) XXX_Size

func (m *PointVoteContent) XXX_Size() int

func (*PointVoteContent) XXX_Unmarshal

func (m *PointVoteContent) 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"`
	Seed                 uint64   `protobuf:"varint,7,opt,name=Seed,proto3" json:"Seed,omitempty"`
	SeedHash             []byte   `protobuf:"bytes,8,opt,name=SeedHash,proto3" json:"SeedHash,omitempty"`
	SnapshotContent      []byte   `protobuf:"bytes,9,opt,name=snapshotContent,proto3" json:"snapshotContent,omitempty"`
	Version              uint32   `protobuf:"varint,10,opt,name=version,proto3" json:"version,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) GetSeed

func (m *SnapshotBlock) GetSeed() uint64

func (*SnapshotBlock) GetSeedHash

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

func (*SnapshotBlock) GetSignature

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

func (*SnapshotBlock) GetSnapshotContent

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

func (*SnapshotBlock) GetTimestamp

func (m *SnapshotBlock) GetTimestamp() int64

func (*SnapshotBlock) GetVersion

func (m *SnapshotBlock) GetVersion() uint32

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 State

type State struct {
	Peers                []*State_Peer `protobuf:"bytes,1,rep,name=Peers,proto3" json:"Peers,omitempty"`
	Patch                bool          `protobuf:"varint,2,opt,name=Patch,proto3" json:"Patch,omitempty"`
	Head                 []byte        `protobuf:"bytes,3,opt,name=Head,proto3" json:"Head,omitempty"`
	Height               uint64        `protobuf:"varint,4,opt,name=Height,proto3" json:"Height,omitempty"`
	Timestamp            int64         `protobuf:"varint,10,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*State) Descriptor

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

func (*State) GetHead

func (m *State) GetHead() []byte

func (*State) GetHeight

func (m *State) GetHeight() uint64

func (*State) GetPatch

func (m *State) GetPatch() bool

func (*State) GetPeers

func (m *State) GetPeers() []*State_Peer

func (*State) GetTimestamp

func (m *State) GetTimestamp() int64

func (*State) ProtoMessage

func (*State) ProtoMessage()

func (*State) Reset

func (m *State) Reset()

func (*State) String

func (m *State) String() string

func (*State) XXX_DiscardUnknown

func (m *State) XXX_DiscardUnknown()

func (*State) XXX_Marshal

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

func (*State) XXX_Merge

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

func (*State) XXX_Size

func (m *State) XXX_Size() int

func (*State) XXX_Unmarshal

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

type State_Peer

type State_Peer struct {
	ID                   []byte           `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Status               State_PeerStatus `protobuf:"varint,3,opt,name=Status,proto3,enum=vitepb.State_PeerStatus" json:"Status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*State_Peer) Descriptor

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

func (*State_Peer) GetID

func (m *State_Peer) GetID() []byte

func (*State_Peer) GetStatus

func (m *State_Peer) GetStatus() State_PeerStatus

func (*State_Peer) ProtoMessage

func (*State_Peer) ProtoMessage()

func (*State_Peer) Reset

func (m *State_Peer) Reset()

func (*State_Peer) String

func (m *State_Peer) String() string

func (*State_Peer) XXX_DiscardUnknown

func (m *State_Peer) XXX_DiscardUnknown()

func (*State_Peer) XXX_Marshal

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

func (*State_Peer) XXX_Merge

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

func (*State_Peer) XXX_Size

func (m *State_Peer) XXX_Size() int

func (*State_Peer) XXX_Unmarshal

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

type State_PeerStatus

type State_PeerStatus int32
const (
	State_Connected    State_PeerStatus = 0
	State_Disconnected State_PeerStatus = 1
)

func (State_PeerStatus) EnumDescriptor

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

func (State_PeerStatus) String

func (x State_PeerStatus) String() string

type SyncConnHandshake

type SyncConnHandshake struct {
	ID                   []byte   `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Timestamp            int64    `protobuf:"varint,2,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	Key                  []byte   `protobuf:"bytes,3,opt,name=Key,proto3" json:"Key,omitempty"`
	Token                []byte   `protobuf:"bytes,4,opt,name=Token,proto3" json:"Token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SyncConnHandshake) Descriptor

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

func (*SyncConnHandshake) GetID

func (m *SyncConnHandshake) GetID() []byte

func (*SyncConnHandshake) GetKey

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

func (*SyncConnHandshake) GetTimestamp

func (m *SyncConnHandshake) GetTimestamp() int64

func (*SyncConnHandshake) GetToken

func (m *SyncConnHandshake) GetToken() []byte

func (*SyncConnHandshake) ProtoMessage

func (*SyncConnHandshake) ProtoMessage()

func (*SyncConnHandshake) Reset

func (m *SyncConnHandshake) Reset()

func (*SyncConnHandshake) String

func (m *SyncConnHandshake) String() string

func (*SyncConnHandshake) XXX_DiscardUnknown

func (m *SyncConnHandshake) XXX_DiscardUnknown()

func (*SyncConnHandshake) XXX_Marshal

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

func (*SyncConnHandshake) XXX_Merge

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

func (*SyncConnHandshake) XXX_Size

func (m *SyncConnHandshake) XXX_Size() int

func (*SyncConnHandshake) XXX_Unmarshal

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

type Trace

type Trace struct {
	Hash                 []byte   `protobuf:"bytes,1,opt,name=Hash,proto3" json:"Hash,omitempty"`
	Path                 [][]byte `protobuf:"bytes,2,rep,name=Path,proto3" json:"Path,omitempty"`
	TTL                  uint32   `protobuf:"varint,3,opt,name=TTL,proto3" json:"TTL,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Trace) Descriptor

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

func (*Trace) GetHash

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

func (*Trace) GetPath

func (m *Trace) GetPath() [][]byte

func (*Trace) GetTTL

func (m *Trace) GetTTL() uint32

func (*Trace) ProtoMessage

func (*Trace) ProtoMessage()

func (*Trace) Reset

func (m *Trace) Reset()

func (*Trace) String

func (m *Trace) String() string

func (*Trace) XXX_DiscardUnknown

func (m *Trace) XXX_DiscardUnknown()

func (*Trace) XXX_Marshal

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

func (*Trace) XXX_Merge

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

func (*Trace) XXX_Size

func (m *Trace) XXX_Size() int

func (*Trace) XXX_Unmarshal

func (m *Trace) 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