Documentation ¶
Index ¶
- Variables
- type BlockchainInfo
- func (*BlockchainInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BlockchainInfo) GetBlockTime() []int32
- func (x *BlockchainInfo) GetBlockTimeStamp() int32
- func (x *BlockchainInfo) GetChainID() string
- func (x *BlockchainInfo) GetGenesisTimeStamp() *timestamppb.Timestamp
- func (x *BlockchainInfo) GetHeight() int64
- func (x *BlockchainInfo) GetLatestBlockHeight() int64
- func (x *BlockchainInfo) GetMaxBytes() int64
- func (x *BlockchainInfo) GetNetwork() string
- func (x *BlockchainInfo) GetSyncing() bool
- func (x *BlockchainInfo) GetVersion() string
- func (t *BlockchainInfo) Mirror() *dbtypes.BlockchainInfo
- func (*BlockchainInfo) ProtoMessage()
- func (x *BlockchainInfo) ProtoReflect() protoreflect.Message
- func (x *BlockchainInfo) Reset()
- func (x *BlockchainInfo) String() string
- type Envelope
- func (*Envelope) Descriptor() ([]byte, []int)deprecated
- func (x *Envelope) GetEncryptionKeyIndexes() []int32
- func (x *Envelope) GetGlobalHeight() int64
- func (x *Envelope) GetNullifier() []byte
- func (x *Envelope) GetPackage() []byte
- func (x *Envelope) GetProcessHeight() int64
- func (x *Envelope) GetProcessID() []byte
- func (x *Envelope) GetTxHeight() int64
- func (t *Envelope) Mirror() *dbtypes.Envelope
- func (*Envelope) ProtoMessage()
- func (x *Envelope) ProtoReflect() protoreflect.Message
- func (x *Envelope) Reset()
- func (x *Envelope) String() string
- type Height
- type HeightMap
- func (*HeightMap) Descriptor() ([]byte, []int)deprecated
- func (x *HeightMap) GetHeights() map[string]int64
- func (t *HeightMap) Mirror() *dbtypes.HeightMap
- func (*HeightMap) ProtoMessage()
- func (x *HeightMap) ProtoReflect() protoreflect.Message
- func (x *HeightMap) Reset()
- func (x *HeightMap) String() string
- type ItemList
- type Process
- func (*Process) Descriptor() ([]byte, []int)deprecated
- func (x *Process) GetEntityID() string
- func (x *Process) GetID() string
- func (x *Process) GetLocalHeight() *Height
- func (t *Process) Mirror() *dbtypes.Process
- func (*Process) ProtoMessage()
- func (x *Process) ProtoReflect() protoreflect.Message
- func (x *Process) Reset()
- func (x *Process) String() string
- type StoreBlock
- func (*StoreBlock) Descriptor() ([]byte, []int)deprecated
- func (x *StoreBlock) GetHash() []byte
- func (x *StoreBlock) GetHeight() int64
- func (x *StoreBlock) GetNumTxs() int64
- func (x *StoreBlock) GetProposer() []byte
- func (x *StoreBlock) GetTime() *timestamppb.Timestamp
- func (t *StoreBlock) Mirror() *dbtypes.StoreBlock
- func (*StoreBlock) ProtoMessage()
- func (x *StoreBlock) ProtoReflect() protoreflect.Message
- func (x *StoreBlock) Reset()
- func (x *StoreBlock) String() string
- type StringList
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction) GetHash() []byte
- func (x *Transaction) GetHeight() int64
- func (x *Transaction) GetIndex() uint32
- func (x *Transaction) GetNullifier() []byte
- func (x *Transaction) GetTx() []byte
- func (x *Transaction) GetTxHeight() int64
- func (t *Transaction) Mirror() *dbtypes.Transaction
- func (*Transaction) ProtoMessage()
- func (x *Transaction) ProtoReflect() protoreflect.Message
- func (x *Transaction) Reset()
- func (x *Transaction) String() string
- type Validator
- func (*Validator) Descriptor() ([]byte, []int)deprecated
- func (x *Validator) GetAddress() []byte
- func (x *Validator) GetHeight() *Height
- func (x *Validator) GetProposerPriority() int64
- func (x *Validator) GetPubKey() []byte
- func (x *Validator) GetVotingPower() int64
- func (t *Validator) Mirror() *dbtypes.Validator
- func (*Validator) ProtoMessage()
- func (x *Validator) ProtoReflect() protoreflect.Message
- func (x *Validator) Reset()
- func (x *Validator) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_db_proto protoreflect.FileDescriptor
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) GetEncryptionKeyIndexes ¶
func (*Envelope) GetGlobalHeight ¶
func (*Envelope) GetNullifier ¶
func (*Envelope) GetPackage ¶
func (*Envelope) GetProcessHeight ¶
func (*Envelope) GetProcessID ¶
func (*Envelope) GetTxHeight ¶
func (*Envelope) ProtoMessage ¶
func (*Envelope) ProtoMessage()
func (*Envelope) ProtoReflect ¶
func (x *Envelope) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Height) ProtoMessage()
func (*Height) ProtoReflect ¶
func (x *Height) ProtoReflect() protoreflect.Message
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) GetHeights ¶
func (*HeightMap) ProtoMessage ¶
func (*HeightMap) ProtoMessage()
func (*HeightMap) ProtoReflect ¶
func (x *HeightMap) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*ItemList) ProtoMessage()
func (*ItemList) ProtoReflect ¶
func (x *ItemList) ProtoReflect() protoreflect.Message
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) GetEntityID ¶
func (*Process) GetLocalHeight ¶
func (*Process) ProtoMessage ¶
func (*Process) ProtoMessage()
func (*Process) ProtoReflect ¶
func (x *Process) ProtoReflect() protoreflect.Message
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) GetAddress ¶
func (*Validator) GetProposerPriority ¶
func (*Validator) GetVotingPower ¶
func (*Validator) ProtoMessage ¶
func (*Validator) ProtoMessage()
func (*Validator) ProtoReflect ¶
func (x *Validator) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.