proto

package
v0.0.0-...-80b22ab Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2021 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type BlockchainInfo

type BlockchainInfo struct {
	Network           string                 `protobuf:"bytes,1,opt,name=Network,proto3" json:"Network,omitempty"`
	Version           string                 `protobuf:"bytes,2,opt,name=Version,proto3" json:"Version,omitempty"`
	LatestBlockHeight int64                  `protobuf:"varint,3,opt,name=LatestBlockHeight,proto3" json:"LatestBlockHeight,omitempty"`
	GenesisTimeStamp  *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=GenesisTimeStamp,proto3" json:"GenesisTimeStamp,omitempty"`
	ChainID           string                 `protobuf:"bytes,5,opt,name=ChainID,proto3" json:"ChainID,omitempty"`
	BlockTime         []int32                `protobuf:"varint,6,rep,packed,name=BlockTime,proto3" json:"BlockTime,omitempty"`
	BlockTimeStamp    int32                  `protobuf:"varint,7,opt,name=BlockTimeStamp,proto3" json:"BlockTimeStamp,omitempty"`
	Height            int64                  `protobuf:"varint,8,opt,name=Height,proto3" json:"Height,omitempty"`
	MaxBytes          int64                  `protobuf:"varint,9,opt,name=MaxBytes,proto3" json:"MaxBytes,omitempty"`
	Syncing           bool                   `protobuf:"varint,10,opt,name=syncing,proto3" json:"syncing,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockchainInfo) Descriptor deprecated

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

Deprecated: Use BlockchainInfo.ProtoReflect.Descriptor instead.

func (*BlockchainInfo) GetBlockTime

func (x *BlockchainInfo) GetBlockTime() []int32

func (*BlockchainInfo) GetBlockTimeStamp

func (x *BlockchainInfo) GetBlockTimeStamp() int32

func (*BlockchainInfo) GetChainID

func (x *BlockchainInfo) GetChainID() string

func (*BlockchainInfo) GetGenesisTimeStamp

func (x *BlockchainInfo) GetGenesisTimeStamp() *timestamppb.Timestamp

func (*BlockchainInfo) GetHeight

func (x *BlockchainInfo) GetHeight() int64

func (*BlockchainInfo) GetLatestBlockHeight

func (x *BlockchainInfo) GetLatestBlockHeight() int64

func (*BlockchainInfo) GetMaxBytes

func (x *BlockchainInfo) GetMaxBytes() int64

func (*BlockchainInfo) GetNetwork

func (x *BlockchainInfo) GetNetwork() string

func (*BlockchainInfo) GetSyncing

func (x *BlockchainInfo) GetSyncing() bool

func (*BlockchainInfo) GetVersion

func (x *BlockchainInfo) GetVersion() string

func (*BlockchainInfo) Mirror

func (t *BlockchainInfo) Mirror() *dbtypes.BlockchainInfo

Mirror returns the mirrored type

func (*BlockchainInfo) ProtoMessage

func (*BlockchainInfo) ProtoMessage()

func (*BlockchainInfo) ProtoReflect

func (x *BlockchainInfo) ProtoReflect() protoreflect.Message

func (*BlockchainInfo) Reset

func (x *BlockchainInfo) Reset()

func (*BlockchainInfo) String

func (x *BlockchainInfo) String() string

type Envelope

type Envelope struct {
	EncryptionKeyIndexes []int32 `protobuf:"varint,1,rep,packed,name=EncryptionKeyIndexes,proto3" json:"EncryptionKeyIndexes,omitempty"`
	Nullifier            []byte  `protobuf:"bytes,2,opt,name=Nullifier,proto3" json:"Nullifier,omitempty"`
	ProcessID            []byte  `protobuf:"bytes,3,opt,name=ProcessID,proto3" json:"ProcessID,omitempty"`
	Package              []byte  `protobuf:"bytes,4,opt,name=Package,proto3" json:"Package,omitempty"`
	ProcessHeight        int64   `protobuf:"varint,5,opt,name=ProcessHeight,proto3" json:"ProcessHeight,omitempty"`
	GlobalHeight         int64   `protobuf:"varint,6,opt,name=GlobalHeight,proto3" json:"GlobalHeight,omitempty"`
	TxHeight             int64   `protobuf:"varint,7,opt,name=TxHeight,proto3" json:"TxHeight,omitempty"`
	// contains filtered or unexported fields
}

func (*Envelope) Descriptor deprecated

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

Deprecated: Use Envelope.ProtoReflect.Descriptor instead.

func (*Envelope) GetEncryptionKeyIndexes

func (x *Envelope) GetEncryptionKeyIndexes() []int32

func (*Envelope) GetGlobalHeight

func (x *Envelope) GetGlobalHeight() int64

func (*Envelope) GetNullifier

func (x *Envelope) GetNullifier() []byte

func (*Envelope) GetPackage

func (x *Envelope) GetPackage() []byte

func (*Envelope) GetProcessHeight

func (x *Envelope) GetProcessHeight() int64

func (*Envelope) GetProcessID

func (x *Envelope) GetProcessID() []byte

func (*Envelope) GetTxHeight

func (x *Envelope) GetTxHeight() int64

func (*Envelope) Mirror

func (t *Envelope) Mirror() *dbtypes.Envelope

Mirror returns the mirrored type

func (*Envelope) ProtoMessage

func (*Envelope) ProtoMessage()

func (*Envelope) ProtoReflect

func (x *Envelope) ProtoReflect() protoreflect.Message

func (*Envelope) Reset

func (x *Envelope) Reset()

func (*Envelope) String

func (x *Envelope) String() string

type Height

type Height struct {
	Height int64 `protobuf:"varint,1,opt,name=Height,proto3" json:"Height,omitempty"`
	// contains filtered or unexported fields
}

func (*Height) Descriptor deprecated

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

Deprecated: Use Height.ProtoReflect.Descriptor instead.

func (*Height) GetHeight

func (x *Height) GetHeight() int64

func (*Height) Mirror

func (t *Height) Mirror() *dbtypes.Height

Mirror returns the mirrored type

func (*Height) ProtoMessage

func (*Height) ProtoMessage()

func (*Height) ProtoReflect

func (x *Height) ProtoReflect() protoreflect.Message

func (*Height) Reset

func (x *Height) Reset()

func (*Height) String

func (x *Height) String() string

type HeightMap

type HeightMap struct {
	Heights map[string]int64 `` /* 156-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*HeightMap) Descriptor deprecated

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

Deprecated: Use HeightMap.ProtoReflect.Descriptor instead.

func (*HeightMap) GetHeights

func (x *HeightMap) GetHeights() map[string]int64

func (*HeightMap) Mirror

func (t *HeightMap) Mirror() *dbtypes.HeightMap

Mirror returns the mirrored type

func (*HeightMap) ProtoMessage

func (*HeightMap) ProtoMessage()

func (*HeightMap) ProtoReflect

func (x *HeightMap) ProtoReflect() protoreflect.Message

func (*HeightMap) Reset

func (x *HeightMap) Reset()

func (*HeightMap) String

func (x *HeightMap) String() string

type ItemList

type ItemList struct {
	Items [][]byte `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ItemList) Descriptor deprecated

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

Deprecated: Use ItemList.ProtoReflect.Descriptor instead.

func (*ItemList) GetItems

func (x *ItemList) GetItems() [][]byte

func (*ItemList) Mirror

func (t *ItemList) Mirror() *dbtypes.ItemList

Mirror returns the mirrored type

func (*ItemList) ProtoMessage

func (*ItemList) ProtoMessage()

func (*ItemList) ProtoReflect

func (x *ItemList) ProtoReflect() protoreflect.Message

func (*ItemList) Reset

func (x *ItemList) Reset()

func (*ItemList) String

func (x *ItemList) String() string

type Process

type Process struct {
	ID          string  `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	EntityID    string  `protobuf:"bytes,2,opt,name=EntityID,proto3" json:"EntityID,omitempty"`
	LocalHeight *Height `protobuf:"bytes,3,opt,name=LocalHeight,proto3" json:"LocalHeight,omitempty"`
	// contains filtered or unexported fields
}

func (*Process) Descriptor deprecated

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

Deprecated: Use Process.ProtoReflect.Descriptor instead.

func (*Process) GetEntityID

func (x *Process) GetEntityID() string

func (*Process) GetID

func (x *Process) GetID() string

func (*Process) GetLocalHeight

func (x *Process) GetLocalHeight() *Height

func (*Process) Mirror

func (t *Process) Mirror() *dbtypes.Process

Mirror returns the mirrored type

func (*Process) ProtoMessage

func (*Process) ProtoMessage()

func (*Process) ProtoReflect

func (x *Process) ProtoReflect() protoreflect.Message

func (*Process) Reset

func (x *Process) Reset()

func (*Process) String

func (x *Process) String() string

type StoreBlock

type StoreBlock struct {
	Hash     []byte                 `protobuf:"bytes,1,opt,name=Hash,proto3" json:"Hash,omitempty"`
	Height   int64                  `protobuf:"varint,2,opt,name=Height,proto3" json:"Height,omitempty"`
	NumTxs   int64                  `protobuf:"varint,3,opt,name=NumTxs,proto3" json:"NumTxs,omitempty"`
	Time     *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=Time,proto3" json:"Time,omitempty"`
	Proposer []byte                 `protobuf:"bytes,5,opt,name=Proposer,proto3" json:"Proposer,omitempty"`
	// contains filtered or unexported fields
}

func (*StoreBlock) Descriptor deprecated

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

Deprecated: Use StoreBlock.ProtoReflect.Descriptor instead.

func (*StoreBlock) GetHash

func (x *StoreBlock) GetHash() []byte

func (*StoreBlock) GetHeight

func (x *StoreBlock) GetHeight() int64

func (*StoreBlock) GetNumTxs

func (x *StoreBlock) GetNumTxs() int64

func (*StoreBlock) GetProposer

func (x *StoreBlock) GetProposer() []byte

func (*StoreBlock) GetTime

func (x *StoreBlock) GetTime() *timestamppb.Timestamp

func (*StoreBlock) Mirror

func (t *StoreBlock) Mirror() *dbtypes.StoreBlock

Mirror returns the mirrored type

func (*StoreBlock) ProtoMessage

func (*StoreBlock) ProtoMessage()

func (*StoreBlock) ProtoReflect

func (x *StoreBlock) ProtoReflect() protoreflect.Message

func (*StoreBlock) Reset

func (x *StoreBlock) Reset()

func (*StoreBlock) String

func (x *StoreBlock) String() string

type StringList

type StringList struct {
	Items []string `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*StringList) Descriptor deprecated

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

Deprecated: Use StringList.ProtoReflect.Descriptor instead.

func (*StringList) GetItems

func (x *StringList) GetItems() []string

func (*StringList) ProtoMessage

func (*StringList) ProtoMessage()

func (*StringList) ProtoReflect

func (x *StringList) ProtoReflect() protoreflect.Message

func (*StringList) Reset

func (x *StringList) Reset()

func (*StringList) String

func (x *StringList) String() string

type Transaction

type Transaction struct {
	Height    int64  `protobuf:"varint,1,opt,name=Height,proto3" json:"Height,omitempty"`
	Index     uint32 `protobuf:"varint,2,opt,name=Index,proto3" json:"Index,omitempty"`
	Tx        []byte `protobuf:"bytes,3,opt,name=Tx,proto3" json:"Tx,omitempty"`
	TxHeight  int64  `protobuf:"varint,4,opt,name=TxHeight,proto3" json:"TxHeight,omitempty"`
	Nullifier []byte `protobuf:"bytes,5,opt,name=Nullifier,proto3" json:"Nullifier,omitempty"`
	Hash      []byte `protobuf:"bytes,6,opt,name=Hash,proto3" json:"Hash,omitempty"`
	// contains filtered or unexported fields
}

func (*Transaction) Descriptor deprecated

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

Deprecated: Use Transaction.ProtoReflect.Descriptor instead.

func (*Transaction) GetHash

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

func (*Transaction) GetHeight

func (x *Transaction) GetHeight() int64

func (*Transaction) GetIndex

func (x *Transaction) GetIndex() uint32

func (*Transaction) GetNullifier

func (x *Transaction) GetNullifier() []byte

func (*Transaction) GetTx

func (x *Transaction) GetTx() []byte

func (*Transaction) GetTxHeight

func (x *Transaction) GetTxHeight() int64

func (*Transaction) Mirror

func (t *Transaction) Mirror() *dbtypes.Transaction

Mirror returns the mirrored type

func (*Transaction) ProtoMessage

func (*Transaction) ProtoMessage()

func (*Transaction) ProtoReflect

func (x *Transaction) ProtoReflect() protoreflect.Message

func (*Transaction) Reset

func (x *Transaction) Reset()

func (*Transaction) String

func (x *Transaction) String() string

type Validator

type Validator struct {
	Address []byte `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"`
	// Bytes-representation of PubKey. Could be nested pubkey struct
	PubKey           []byte  `protobuf:"bytes,2,opt,name=PubKey,proto3" json:"PubKey,omitempty"`
	VotingPower      int64   `protobuf:"varint,3,opt,name=VotingPower,proto3" json:"VotingPower,omitempty"`
	ProposerPriority int64   `protobuf:"varint,4,opt,name=ProposerPriority,proto3" json:"ProposerPriority,omitempty"`
	Height           *Height `protobuf:"bytes,5,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

func (*Validator) Descriptor deprecated

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

Deprecated: Use Validator.ProtoReflect.Descriptor instead.

func (*Validator) GetAddress

func (x *Validator) GetAddress() []byte

func (*Validator) GetHeight

func (x *Validator) GetHeight() *Height

func (*Validator) GetProposerPriority

func (x *Validator) GetProposerPriority() int64

func (*Validator) GetPubKey

func (x *Validator) GetPubKey() []byte

func (*Validator) GetVotingPower

func (x *Validator) GetVotingPower() int64

func (*Validator) Mirror

func (t *Validator) Mirror() *dbtypes.Validator

Mirror returns the mirrored type

func (*Validator) ProtoMessage

func (*Validator) ProtoMessage()

func (*Validator) ProtoReflect

func (x *Validator) ProtoReflect() protoreflect.Message

func (*Validator) Reset

func (x *Validator) Reset()

func (*Validator) String

func (x *Validator) String() string

Jump to

Keyboard shortcuts

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