Documentation ¶
Index ¶
- Variables
- type DBAccumulator
- func (*DBAccumulator) Descriptor() ([]byte, []int)deprecated
- func (x *DBAccumulator) GetAccumulator() [][]byte
- func (x *DBAccumulator) GetLookupMap() []*DBAccumulator_LookupMap
- func (x *DBAccumulator) GetNElements() uint64
- func (x *DBAccumulator) GetProofs() []*DBAccumulator_InclusionProof
- func (*DBAccumulator) ProtoMessage()
- func (x *DBAccumulator) ProtoReflect() protoreflect.Message
- func (x *DBAccumulator) Reset()
- func (x *DBAccumulator) String() string
- type DBAccumulator_InclusionProof
- func (*DBAccumulator_InclusionProof) Descriptor() ([]byte, []int)deprecated
- func (x *DBAccumulator_InclusionProof) GetFlags() uint64
- func (x *DBAccumulator_InclusionProof) GetHashes() [][]byte
- func (x *DBAccumulator_InclusionProof) GetId() []byte
- func (x *DBAccumulator_InclusionProof) GetIndex() uint64
- func (x *DBAccumulator_InclusionProof) GetKey() []byte
- func (x *DBAccumulator_InclusionProof) GetLast() []byte
- func (*DBAccumulator_InclusionProof) ProtoMessage()
- func (x *DBAccumulator_InclusionProof) ProtoReflect() protoreflect.Message
- func (x *DBAccumulator_InclusionProof) Reset()
- func (x *DBAccumulator_InclusionProof) String() string
- type DBAccumulator_LookupMap
- func (*DBAccumulator_LookupMap) Descriptor() ([]byte, []int)deprecated
- func (x *DBAccumulator_LookupMap) GetIndex() uint64
- func (x *DBAccumulator_LookupMap) GetKey() []byte
- func (*DBAccumulator_LookupMap) ProtoMessage()
- func (x *DBAccumulator_LookupMap) ProtoReflect() protoreflect.Message
- func (x *DBAccumulator_LookupMap) Reset()
- func (x *DBAccumulator_LookupMap) String() string
- type DBBlockNode
- func (*DBBlockNode) Descriptor() ([]byte, []int)deprecated
- func (x *DBBlockNode) GetBlockID() []byte
- func (x *DBBlockNode) GetHeight() uint32
- func (x *DBBlockNode) GetTimestamp() int64
- func (*DBBlockNode) ProtoMessage()
- func (x *DBBlockNode) ProtoReflect() protoreflect.Message
- func (x *DBBlockNode) Reset()
- func (x *DBBlockNode) String() string
- type DBTxs
- type DBValidator
- func (*DBValidator) Descriptor() ([]byte, []int)deprecated
- func (x *DBValidator) GetCoinbasePenalty() bool
- func (x *DBValidator) GetEpochBLocks() uint32
- func (x *DBValidator) GetExpectedBlocks() float32
- func (x *DBValidator) GetNullifiers() []*DBValidator_Nullifier
- func (x *DBValidator) GetPeerId() string
- func (x *DBValidator) GetStikes() uint32
- func (x *DBValidator) GetTotalStake() uint64
- func (x *DBValidator) GetUnclaimedCoins() uint64
- func (x *DBValidator) GetWeightedStake() uint64
- func (*DBValidator) ProtoMessage()
- func (x *DBValidator) ProtoReflect() protoreflect.Message
- func (x *DBValidator) Reset()
- func (x *DBValidator) String() string
- type DBValidator_Nullifier
- func (*DBValidator_Nullifier) Descriptor() ([]byte, []int)deprecated
- func (x *DBValidator_Nullifier) GetAmount() uint64
- func (x *DBValidator_Nullifier) GetBlockstamp() *timestamppb.Timestamp
- func (x *DBValidator_Nullifier) GetHash() []byte
- func (x *DBValidator_Nullifier) GetLocktime() *timestamppb.Timestamp
- func (x *DBValidator_Nullifier) GetWeightedAmount() uint64
- func (*DBValidator_Nullifier) ProtoMessage()
- func (x *DBValidator_Nullifier) ProtoReflect() protoreflect.Message
- func (x *DBValidator_Nullifier) Reset()
- func (x *DBValidator_Nullifier) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_db_models_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DBAccumulator ¶
type DBAccumulator struct { Accumulator [][]byte `protobuf:"bytes,1,rep,name=accumulator,proto3" json:"accumulator,omitempty"` NElements uint64 `protobuf:"varint,2,opt,name=nElements,proto3" json:"nElements,omitempty"` Proofs []*DBAccumulator_InclusionProof `protobuf:"bytes,3,rep,name=proofs,proto3" json:"proofs,omitempty"` LookupMap []*DBAccumulator_LookupMap `protobuf:"bytes,4,rep,name=lookupMap,proto3" json:"lookupMap,omitempty"` // contains filtered or unexported fields }
func (*DBAccumulator) Descriptor
deprecated
func (*DBAccumulator) Descriptor() ([]byte, []int)
Deprecated: Use DBAccumulator.ProtoReflect.Descriptor instead.
func (*DBAccumulator) GetAccumulator ¶
func (x *DBAccumulator) GetAccumulator() [][]byte
func (*DBAccumulator) GetLookupMap ¶
func (x *DBAccumulator) GetLookupMap() []*DBAccumulator_LookupMap
func (*DBAccumulator) GetNElements ¶
func (x *DBAccumulator) GetNElements() uint64
func (*DBAccumulator) GetProofs ¶
func (x *DBAccumulator) GetProofs() []*DBAccumulator_InclusionProof
func (*DBAccumulator) ProtoMessage ¶
func (*DBAccumulator) ProtoMessage()
func (*DBAccumulator) ProtoReflect ¶
func (x *DBAccumulator) ProtoReflect() protoreflect.Message
func (*DBAccumulator) Reset ¶
func (x *DBAccumulator) Reset()
func (*DBAccumulator) String ¶
func (x *DBAccumulator) String() string
type DBAccumulator_InclusionProof ¶
type DBAccumulator_InclusionProof struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Id []byte `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Index uint64 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` Hashes [][]byte `protobuf:"bytes,4,rep,name=hashes,proto3" json:"hashes,omitempty"` Flags uint64 `protobuf:"varint,5,opt,name=flags,proto3" json:"flags,omitempty"` Last []byte `protobuf:"bytes,6,opt,name=last,proto3" json:"last,omitempty"` // contains filtered or unexported fields }
func (*DBAccumulator_InclusionProof) Descriptor
deprecated
func (*DBAccumulator_InclusionProof) Descriptor() ([]byte, []int)
Deprecated: Use DBAccumulator_InclusionProof.ProtoReflect.Descriptor instead.
func (*DBAccumulator_InclusionProof) GetFlags ¶
func (x *DBAccumulator_InclusionProof) GetFlags() uint64
func (*DBAccumulator_InclusionProof) GetHashes ¶
func (x *DBAccumulator_InclusionProof) GetHashes() [][]byte
func (*DBAccumulator_InclusionProof) GetId ¶
func (x *DBAccumulator_InclusionProof) GetId() []byte
func (*DBAccumulator_InclusionProof) GetIndex ¶
func (x *DBAccumulator_InclusionProof) GetIndex() uint64
func (*DBAccumulator_InclusionProof) GetKey ¶
func (x *DBAccumulator_InclusionProof) GetKey() []byte
func (*DBAccumulator_InclusionProof) GetLast ¶
func (x *DBAccumulator_InclusionProof) GetLast() []byte
func (*DBAccumulator_InclusionProof) ProtoMessage ¶
func (*DBAccumulator_InclusionProof) ProtoMessage()
func (*DBAccumulator_InclusionProof) ProtoReflect ¶
func (x *DBAccumulator_InclusionProof) ProtoReflect() protoreflect.Message
func (*DBAccumulator_InclusionProof) Reset ¶
func (x *DBAccumulator_InclusionProof) Reset()
func (*DBAccumulator_InclusionProof) String ¶
func (x *DBAccumulator_InclusionProof) String() string
type DBAccumulator_LookupMap ¶
type DBAccumulator_LookupMap struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Index uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
func (*DBAccumulator_LookupMap) Descriptor
deprecated
func (*DBAccumulator_LookupMap) Descriptor() ([]byte, []int)
Deprecated: Use DBAccumulator_LookupMap.ProtoReflect.Descriptor instead.
func (*DBAccumulator_LookupMap) GetIndex ¶
func (x *DBAccumulator_LookupMap) GetIndex() uint64
func (*DBAccumulator_LookupMap) GetKey ¶
func (x *DBAccumulator_LookupMap) GetKey() []byte
func (*DBAccumulator_LookupMap) ProtoMessage ¶
func (*DBAccumulator_LookupMap) ProtoMessage()
func (*DBAccumulator_LookupMap) ProtoReflect ¶
func (x *DBAccumulator_LookupMap) ProtoReflect() protoreflect.Message
func (*DBAccumulator_LookupMap) Reset ¶
func (x *DBAccumulator_LookupMap) Reset()
func (*DBAccumulator_LookupMap) String ¶
func (x *DBAccumulator_LookupMap) String() string
type DBBlockNode ¶
type DBBlockNode struct { BlockID []byte `protobuf:"bytes,1,opt,name=blockID,proto3" json:"blockID,omitempty"` Height uint32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*DBBlockNode) Descriptor
deprecated
func (*DBBlockNode) Descriptor() ([]byte, []int)
Deprecated: Use DBBlockNode.ProtoReflect.Descriptor instead.
func (*DBBlockNode) GetBlockID ¶
func (x *DBBlockNode) GetBlockID() []byte
func (*DBBlockNode) GetHeight ¶
func (x *DBBlockNode) GetHeight() uint32
func (*DBBlockNode) GetTimestamp ¶
func (x *DBBlockNode) GetTimestamp() int64
func (*DBBlockNode) ProtoMessage ¶
func (*DBBlockNode) ProtoMessage()
func (*DBBlockNode) ProtoReflect ¶
func (x *DBBlockNode) ProtoReflect() protoreflect.Message
func (*DBBlockNode) Reset ¶
func (x *DBBlockNode) Reset()
func (*DBBlockNode) String ¶
func (x *DBBlockNode) String() string
type DBTxs ¶
type DBTxs struct { Transactions []*transactions.Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
func (*DBTxs) Descriptor
deprecated
func (*DBTxs) GetTransactions ¶
func (x *DBTxs) GetTransactions() []*transactions.Transaction
func (*DBTxs) ProtoMessage ¶
func (*DBTxs) ProtoMessage()
func (*DBTxs) ProtoReflect ¶
func (x *DBTxs) ProtoReflect() protoreflect.Message
type DBValidator ¶
type DBValidator struct { PeerId string `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` TotalStake uint64 `protobuf:"varint,2,opt,name=total_stake,json=totalStake,proto3" json:"total_stake,omitempty"` WeightedStake uint64 `protobuf:"varint,3,opt,name=weighted_stake,json=weightedStake,proto3" json:"weighted_stake,omitempty"` Nullifiers []*DBValidator_Nullifier `protobuf:"bytes,4,rep,name=nullifiers,proto3" json:"nullifiers,omitempty"` UnclaimedCoins uint64 `protobuf:"varint,5,opt,name=unclaimed_coins,json=unclaimedCoins,proto3" json:"unclaimed_coins,omitempty"` EpochBLocks uint32 `protobuf:"varint,6,opt,name=epochBLocks,proto3" json:"epochBLocks,omitempty"` Stikes uint32 `protobuf:"varint,7,opt,name=stikes,proto3" json:"stikes,omitempty"` CoinbasePenalty bool `protobuf:"varint,8,opt,name=coinbase_penalty,json=coinbasePenalty,proto3" json:"coinbase_penalty,omitempty"` ExpectedBlocks float32 `protobuf:"fixed32,9,opt,name=expected_blocks,json=expectedBlocks,proto3" json:"expected_blocks,omitempty"` // contains filtered or unexported fields }
func (*DBValidator) Descriptor
deprecated
func (*DBValidator) Descriptor() ([]byte, []int)
Deprecated: Use DBValidator.ProtoReflect.Descriptor instead.
func (*DBValidator) GetCoinbasePenalty ¶
func (x *DBValidator) GetCoinbasePenalty() bool
func (*DBValidator) GetEpochBLocks ¶
func (x *DBValidator) GetEpochBLocks() uint32
func (*DBValidator) GetExpectedBlocks ¶
func (x *DBValidator) GetExpectedBlocks() float32
func (*DBValidator) GetNullifiers ¶
func (x *DBValidator) GetNullifiers() []*DBValidator_Nullifier
func (*DBValidator) GetPeerId ¶
func (x *DBValidator) GetPeerId() string
func (*DBValidator) GetStikes ¶
func (x *DBValidator) GetStikes() uint32
func (*DBValidator) GetTotalStake ¶
func (x *DBValidator) GetTotalStake() uint64
func (*DBValidator) GetUnclaimedCoins ¶
func (x *DBValidator) GetUnclaimedCoins() uint64
func (*DBValidator) GetWeightedStake ¶
func (x *DBValidator) GetWeightedStake() uint64
func (*DBValidator) ProtoMessage ¶
func (*DBValidator) ProtoMessage()
func (*DBValidator) ProtoReflect ¶
func (x *DBValidator) ProtoReflect() protoreflect.Message
func (*DBValidator) Reset ¶
func (x *DBValidator) Reset()
func (*DBValidator) String ¶
func (x *DBValidator) String() string
type DBValidator_Nullifier ¶
type DBValidator_Nullifier struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` WeightedAmount uint64 `protobuf:"varint,3,opt,name=weighted_amount,json=weightedAmount,proto3" json:"weighted_amount,omitempty"` Locktime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=locktime,proto3" json:"locktime,omitempty"` Blockstamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=blockstamp,proto3" json:"blockstamp,omitempty"` // contains filtered or unexported fields }
func (*DBValidator_Nullifier) Descriptor
deprecated
func (*DBValidator_Nullifier) Descriptor() ([]byte, []int)
Deprecated: Use DBValidator_Nullifier.ProtoReflect.Descriptor instead.
func (*DBValidator_Nullifier) GetAmount ¶
func (x *DBValidator_Nullifier) GetAmount() uint64
func (*DBValidator_Nullifier) GetBlockstamp ¶
func (x *DBValidator_Nullifier) GetBlockstamp() *timestamppb.Timestamp
func (*DBValidator_Nullifier) GetHash ¶
func (x *DBValidator_Nullifier) GetHash() []byte
func (*DBValidator_Nullifier) GetLocktime ¶
func (x *DBValidator_Nullifier) GetLocktime() *timestamppb.Timestamp
func (*DBValidator_Nullifier) GetWeightedAmount ¶
func (x *DBValidator_Nullifier) GetWeightedAmount() uint64
func (*DBValidator_Nullifier) ProtoMessage ¶
func (*DBValidator_Nullifier) ProtoMessage()
func (*DBValidator_Nullifier) ProtoReflect ¶
func (x *DBValidator_Nullifier) ProtoReflect() protoreflect.Message
func (*DBValidator_Nullifier) Reset ¶
func (x *DBValidator_Nullifier) Reset()
func (*DBValidator_Nullifier) String ¶
func (x *DBValidator_Nullifier) String() string
Click to show internal directories.
Click to hide internal directories.