Documentation ¶
Index ¶
- Variables
- func DBBlockGHOSTDAGDataToBlockGHOSTDAGData(dbBlockGHOSTDAGData *DbBlockGhostdagData) (*externalapi.BlockGHOSTDAGData, error)
- func DBMultisetToMultiset(dbMultiset *DbMultiset) (model.Multiset, error)
- func DBReachablityDataToReachablityData(dbReachabilityData *DbReachabilityData) (model.ReachabilityData, error)
- func DBScriptPublicKeyToScriptPublicKey(dbScriptPublicKey *DbScriptPublicKey) (*externalapi.ScriptPublicKey, error)
- func DBTipsToTips(dbTips *DbTips) ([]*externalapi.DomainHash, error)
- func DBUTXODiffToUTXODiff(diff *DbUtxoDiff) (externalapi.UTXODiff, error)
- func DBUTXOEntryToUTXOEntry(dbUtxoEntry *DbUtxoEntry) (externalapi.UTXOEntry, error)
- func DbAcceptanceDataToDomainAcceptanceData(dbAcceptanceData *DbAcceptanceData) (externalapi.AcceptanceData, error)
- func DbBlockGHOSTDAGDataHashPairToBlockGHOSTDAGDataHashPair(dbPair *DbBlockGHOSTDAGDataHashPair) (*externalapi.BlockGHOSTDAGDataHashPair, error)
- func DbBlockHeaderToDomainBlockHeader(dbBlockHeader *DbBlockHeader) (externalapi.BlockHeader, error)
- func DbBlockLevelParentsToDomainBlockLevelParents(dbBlockLevelParents *DbBlockLevelParents) (externalapi.BlockLevelParents, error)
- func DbBlockRelationsToDomainBlockRelations(dbBlockRelations *DbBlockRelations) (*model.BlockRelations, error)
- func DbBlockStatusToDomainBlockStatus(dbBlockStatus *DbBlockStatus) externalapi.BlockStatus
- func DbBlockToDomainBlock(dbBlock *DbBlock) (*externalapi.DomainBlock, error)
- func DbHashToDomainHash(dbHash *DbHash) (*externalapi.DomainHash, error)
- func DbHashesToDomainHashes(dbHashes []*DbHash) ([]*externalapi.DomainHash, error)
- func DbOutpointToDomainOutpoint(dbOutpoint *DbOutpoint) (*externalapi.DomainOutpoint, error)
- func DbParentsToDomainParents(dbParents []*DbBlockLevelParents) ([]externalapi.BlockLevelParents, error)
- func DbSubnetworkIDToDomainSubnetworkID(dbSubnetworkID *DbSubnetworkId) (*externalapi.DomainSubnetworkID, error)
- func DbTransactionIDToDomainTransactionID(dbTransactionID *DbTransactionId) (*externalapi.DomainTransactionID, error)
- func DbTransactionToDomainTransaction(dbTransaction *DbTransaction) (*externalapi.DomainTransaction, error)
- type DbAcceptanceData
- func (*DbAcceptanceData) Descriptor() ([]byte, []int)deprecated
- func (x *DbAcceptanceData) GetBlockAcceptanceData() []*DbBlockAcceptanceData
- func (*DbAcceptanceData) ProtoMessage()
- func (x *DbAcceptanceData) ProtoReflect() protoreflect.Message
- func (x *DbAcceptanceData) Reset()
- func (x *DbAcceptanceData) String() string
- type DbBlock
- type DbBlockAcceptanceData
- func (*DbBlockAcceptanceData) Descriptor() ([]byte, []int)deprecated
- func (x *DbBlockAcceptanceData) GetBlockHash() *DbHash
- func (x *DbBlockAcceptanceData) GetTransactionAcceptanceData() []*DbTransactionAcceptanceData
- func (*DbBlockAcceptanceData) ProtoMessage()
- func (x *DbBlockAcceptanceData) ProtoReflect() protoreflect.Message
- func (x *DbBlockAcceptanceData) Reset()
- func (x *DbBlockAcceptanceData) String() string
- type DbBlockCount
- type DbBlockGHOSTDAGDataHashPair
- func (*DbBlockGHOSTDAGDataHashPair) Descriptor() ([]byte, []int)deprecated
- func (x *DbBlockGHOSTDAGDataHashPair) GetGhostdagData() *DbBlockGhostdagData
- func (x *DbBlockGHOSTDAGDataHashPair) GetHash() *DbHash
- func (*DbBlockGHOSTDAGDataHashPair) ProtoMessage()
- func (x *DbBlockGHOSTDAGDataHashPair) ProtoReflect() protoreflect.Message
- func (x *DbBlockGHOSTDAGDataHashPair) Reset()
- func (x *DbBlockGHOSTDAGDataHashPair) String() string
- type DbBlockGhostdagData
- func (*DbBlockGhostdagData) Descriptor() ([]byte, []int)deprecated
- func (x *DbBlockGhostdagData) GetBlueScore() uint64
- func (x *DbBlockGhostdagData) GetBlueWork() []byte
- func (x *DbBlockGhostdagData) GetBluesAnticoneSizes() []*DbBluesAnticoneSizes
- func (x *DbBlockGhostdagData) GetMergeSetBlues() []*DbHash
- func (x *DbBlockGhostdagData) GetMergeSetReds() []*DbHash
- func (x *DbBlockGhostdagData) GetSelectedParent() *DbHash
- func (*DbBlockGhostdagData) ProtoMessage()
- func (x *DbBlockGhostdagData) ProtoReflect() protoreflect.Message
- func (x *DbBlockGhostdagData) Reset()
- func (x *DbBlockGhostdagData) String() string
- type DbBlockHeader
- func (*DbBlockHeader) Descriptor() ([]byte, []int)deprecated
- func (x *DbBlockHeader) GetAcceptedIDMerkleRoot() *DbHash
- func (x *DbBlockHeader) GetBits() uint32
- func (x *DbBlockHeader) GetBlueScore() uint64
- func (x *DbBlockHeader) GetBlueWork() []byte
- func (x *DbBlockHeader) GetDaaScore() uint64
- func (x *DbBlockHeader) GetHashMerkleRoot() *DbHash
- func (x *DbBlockHeader) GetNonce() uint64
- func (x *DbBlockHeader) GetParents() []*DbBlockLevelParents
- func (x *DbBlockHeader) GetPruningPoint() *DbHash
- func (x *DbBlockHeader) GetTimeInMilliseconds() int64
- func (x *DbBlockHeader) GetUtxoCommitment() *DbHash
- func (x *DbBlockHeader) GetVersion() uint32
- func (*DbBlockHeader) ProtoMessage()
- func (x *DbBlockHeader) ProtoReflect() protoreflect.Message
- func (x *DbBlockHeader) Reset()
- func (x *DbBlockHeader) String() string
- type DbBlockHeaderCount
- func (*DbBlockHeaderCount) Descriptor() ([]byte, []int)deprecated
- func (x *DbBlockHeaderCount) GetCount() uint64
- func (*DbBlockHeaderCount) ProtoMessage()
- func (x *DbBlockHeaderCount) ProtoReflect() protoreflect.Message
- func (x *DbBlockHeaderCount) Reset()
- func (x *DbBlockHeaderCount) String() string
- type DbBlockLevelParents
- func (*DbBlockLevelParents) Descriptor() ([]byte, []int)deprecated
- func (x *DbBlockLevelParents) GetParentHashes() []*DbHash
- func (*DbBlockLevelParents) ProtoMessage()
- func (x *DbBlockLevelParents) ProtoReflect() protoreflect.Message
- func (x *DbBlockLevelParents) Reset()
- func (x *DbBlockLevelParents) String() string
- type DbBlockRelations
- func (*DbBlockRelations) Descriptor() ([]byte, []int)deprecated
- func (x *DbBlockRelations) GetChildren() []*DbHash
- func (x *DbBlockRelations) GetParents() []*DbHash
- func (*DbBlockRelations) ProtoMessage()
- func (x *DbBlockRelations) ProtoReflect() protoreflect.Message
- func (x *DbBlockRelations) Reset()
- func (x *DbBlockRelations) String() string
- type DbBlockStatus
- type DbBluesAnticoneSizes
- func (*DbBluesAnticoneSizes) Descriptor() ([]byte, []int)deprecated
- func (x *DbBluesAnticoneSizes) GetAnticoneSize() uint32
- func (x *DbBluesAnticoneSizes) GetBlueHash() *DbHash
- func (*DbBluesAnticoneSizes) ProtoMessage()
- func (x *DbBluesAnticoneSizes) ProtoReflect() protoreflect.Message
- func (x *DbBluesAnticoneSizes) Reset()
- func (x *DbBluesAnticoneSizes) String() string
- type DbHash
- type DbMultiset
- type DbOutpoint
- func (*DbOutpoint) Descriptor() ([]byte, []int)deprecated
- func (x *DbOutpoint) GetIndex() uint32
- func (x *DbOutpoint) GetTransactionID() *DbTransactionId
- func (*DbOutpoint) ProtoMessage()
- func (x *DbOutpoint) ProtoReflect() protoreflect.Message
- func (x *DbOutpoint) Reset()
- func (x *DbOutpoint) String() string
- type DbReachabilityData
- func (*DbReachabilityData) Descriptor() ([]byte, []int)deprecated
- func (x *DbReachabilityData) GetChildren() []*DbHash
- func (x *DbReachabilityData) GetFutureCoveringSet() []*DbHash
- func (x *DbReachabilityData) GetInterval() *DbReachabilityInterval
- func (x *DbReachabilityData) GetParent() *DbHash
- func (*DbReachabilityData) ProtoMessage()
- func (x *DbReachabilityData) ProtoReflect() protoreflect.Message
- func (x *DbReachabilityData) Reset()
- func (x *DbReachabilityData) String() string
- type DbReachabilityInterval
- func (*DbReachabilityInterval) Descriptor() ([]byte, []int)deprecated
- func (x *DbReachabilityInterval) GetEnd() uint64
- func (x *DbReachabilityInterval) GetStart() uint64
- func (*DbReachabilityInterval) ProtoMessage()
- func (x *DbReachabilityInterval) ProtoReflect() protoreflect.Message
- func (x *DbReachabilityInterval) Reset()
- func (x *DbReachabilityInterval) String() string
- type DbScriptPublicKey
- func (*DbScriptPublicKey) Descriptor() ([]byte, []int)deprecated
- func (x *DbScriptPublicKey) GetScript() []byte
- func (x *DbScriptPublicKey) GetVersion() uint32
- func (*DbScriptPublicKey) ProtoMessage()
- func (x *DbScriptPublicKey) ProtoReflect() protoreflect.Message
- func (x *DbScriptPublicKey) Reset()
- func (x *DbScriptPublicKey) String() string
- type DbSubnetworkId
- type DbTips
- type DbTransaction
- func (*DbTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *DbTransaction) GetGas() uint64
- func (x *DbTransaction) GetInputs() []*DbTransactionInput
- func (x *DbTransaction) GetLockTime() uint64
- func (x *DbTransaction) GetOutputs() []*DbTransactionOutput
- func (x *DbTransaction) GetPayload() []byte
- func (x *DbTransaction) GetSubnetworkID() *DbSubnetworkId
- func (x *DbTransaction) GetVersion() uint32
- func (*DbTransaction) ProtoMessage()
- func (x *DbTransaction) ProtoReflect() protoreflect.Message
- func (x *DbTransaction) Reset()
- func (x *DbTransaction) String() string
- type DbTransactionAcceptanceData
- func (*DbTransactionAcceptanceData) Descriptor() ([]byte, []int)deprecated
- func (x *DbTransactionAcceptanceData) GetFee() uint64
- func (x *DbTransactionAcceptanceData) GetIsAccepted() bool
- func (x *DbTransactionAcceptanceData) GetTransaction() *DbTransaction
- func (x *DbTransactionAcceptanceData) GetTransactionInputUtxoEntries() []*DbUtxoEntry
- func (*DbTransactionAcceptanceData) ProtoMessage()
- func (x *DbTransactionAcceptanceData) ProtoReflect() protoreflect.Message
- func (x *DbTransactionAcceptanceData) Reset()
- func (x *DbTransactionAcceptanceData) String() string
- type DbTransactionId
- type DbTransactionInput
- func (*DbTransactionInput) Descriptor() ([]byte, []int)deprecated
- func (x *DbTransactionInput) GetPreviousOutpoint() *DbOutpoint
- func (x *DbTransactionInput) GetSequence() uint64
- func (x *DbTransactionInput) GetSigOpCount() uint32
- func (x *DbTransactionInput) GetSignatureScript() []byte
- func (*DbTransactionInput) ProtoMessage()
- func (x *DbTransactionInput) ProtoReflect() protoreflect.Message
- func (x *DbTransactionInput) Reset()
- func (x *DbTransactionInput) String() string
- type DbTransactionOutput
- func (*DbTransactionOutput) Descriptor() ([]byte, []int)deprecated
- func (x *DbTransactionOutput) GetScriptPublicKey() *DbScriptPublicKey
- func (x *DbTransactionOutput) GetValue() uint64
- func (*DbTransactionOutput) ProtoMessage()
- func (x *DbTransactionOutput) ProtoReflect() protoreflect.Message
- func (x *DbTransactionOutput) Reset()
- func (x *DbTransactionOutput) String() string
- type DbUtxoCollectionItem
- func (*DbUtxoCollectionItem) Descriptor() ([]byte, []int)deprecated
- func (x *DbUtxoCollectionItem) GetOutpoint() *DbOutpoint
- func (x *DbUtxoCollectionItem) GetUtxoEntry() *DbUtxoEntry
- func (*DbUtxoCollectionItem) ProtoMessage()
- func (x *DbUtxoCollectionItem) ProtoReflect() protoreflect.Message
- func (x *DbUtxoCollectionItem) Reset()
- func (x *DbUtxoCollectionItem) String() string
- type DbUtxoDiff
- func (*DbUtxoDiff) Descriptor() ([]byte, []int)deprecated
- func (x *DbUtxoDiff) GetToAdd() []*DbUtxoCollectionItem
- func (x *DbUtxoDiff) GetToRemove() []*DbUtxoCollectionItem
- func (*DbUtxoDiff) ProtoMessage()
- func (x *DbUtxoDiff) ProtoReflect() protoreflect.Message
- func (x *DbUtxoDiff) Reset()
- func (x *DbUtxoDiff) String() string
- type DbUtxoEntry
- func (*DbUtxoEntry) Descriptor() ([]byte, []int)deprecated
- func (x *DbUtxoEntry) GetAmount() uint64
- func (x *DbUtxoEntry) GetBlockDaaScore() uint64
- func (x *DbUtxoEntry) GetIsCoinbase() bool
- func (x *DbUtxoEntry) GetScriptPublicKey() *DbScriptPublicKey
- func (*DbUtxoEntry) ProtoMessage()
- func (x *DbUtxoEntry) ProtoReflect() protoreflect.Message
- func (x *DbUtxoEntry) Reset()
- func (x *DbUtxoEntry) String() string
- type DbUtxoSet
Constants ¶
This section is empty.
Variables ¶
var File_dbobjects_proto protoreflect.FileDescriptor
Functions ¶
func DBBlockGHOSTDAGDataToBlockGHOSTDAGData ¶
func DBBlockGHOSTDAGDataToBlockGHOSTDAGData(dbBlockGHOSTDAGData *DbBlockGhostdagData) (*externalapi.BlockGHOSTDAGData, error)
DBBlockGHOSTDAGDataToBlockGHOSTDAGData converts DbBlockGhostdagData to BlockGHOSTDAGData
func DBMultisetToMultiset ¶
func DBMultisetToMultiset(dbMultiset *DbMultiset) (model.Multiset, error)
DBMultisetToMultiset converts DbMultiset to Multiset
func DBReachablityDataToReachablityData ¶
func DBReachablityDataToReachablityData(dbReachabilityData *DbReachabilityData) (model.ReachabilityData, error)
DBReachablityDataToReachablityData converts DbReachabilityData to ReachabilityData
func DBScriptPublicKeyToScriptPublicKey ¶
func DBScriptPublicKeyToScriptPublicKey(dbScriptPublicKey *DbScriptPublicKey) (*externalapi.ScriptPublicKey, error)
DBScriptPublicKeyToScriptPublicKey convert DbScriptPublicKey ro ScriptPublicKey
func DBTipsToTips ¶
func DBTipsToTips(dbTips *DbTips) ([]*externalapi.DomainHash, error)
DBTipsToTips converts DbTips to a slice of hashes
func DBUTXODiffToUTXODiff ¶
func DBUTXODiffToUTXODiff(diff *DbUtxoDiff) (externalapi.UTXODiff, error)
DBUTXODiffToUTXODiff converts DbUtxoDiff to UTXODiff
func DBUTXOEntryToUTXOEntry ¶
func DBUTXOEntryToUTXOEntry(dbUtxoEntry *DbUtxoEntry) (externalapi.UTXOEntry, error)
DBUTXOEntryToUTXOEntry convert DbUtxoEntry ro UTXOEntry
func DbAcceptanceDataToDomainAcceptanceData ¶
func DbAcceptanceDataToDomainAcceptanceData(dbAcceptanceData *DbAcceptanceData) (externalapi.AcceptanceData, error)
DbAcceptanceDataToDomainAcceptanceData converts DbAcceptanceData to model.AcceptanceData
func DbBlockGHOSTDAGDataHashPairToBlockGHOSTDAGDataHashPair ¶ added in v0.11.0
func DbBlockGHOSTDAGDataHashPairToBlockGHOSTDAGDataHashPair(dbPair *DbBlockGHOSTDAGDataHashPair) (*externalapi.BlockGHOSTDAGDataHashPair, error)
DbBlockGHOSTDAGDataHashPairToBlockGHOSTDAGDataHashPair converts *DbBlockGHOSTDAGDataHashPair to *externalapi.BlockGHOSTDAGDataHashPair
func DbBlockHeaderToDomainBlockHeader ¶
func DbBlockHeaderToDomainBlockHeader(dbBlockHeader *DbBlockHeader) (externalapi.BlockHeader, error)
DbBlockHeaderToDomainBlockHeader converts DbBlockHeader to BlockHeader
func DbBlockLevelParentsToDomainBlockLevelParents ¶ added in v0.11.0
func DbBlockLevelParentsToDomainBlockLevelParents(dbBlockLevelParents *DbBlockLevelParents) (externalapi.BlockLevelParents, error)
DbBlockLevelParentsToDomainBlockLevelParents converts a DbBlockLevelParents to a BlockLevelParents
func DbBlockRelationsToDomainBlockRelations ¶
func DbBlockRelationsToDomainBlockRelations(dbBlockRelations *DbBlockRelations) (*model.BlockRelations, error)
DbBlockRelationsToDomainBlockRelations converts DbBlockRelations to model.BlockRelations
func DbBlockStatusToDomainBlockStatus ¶
func DbBlockStatusToDomainBlockStatus(dbBlockStatus *DbBlockStatus) externalapi.BlockStatus
DbBlockStatusToDomainBlockStatus converts DbBlockStatus to model.BlockStatus
func DbBlockToDomainBlock ¶
func DbBlockToDomainBlock(dbBlock *DbBlock) (*externalapi.DomainBlock, error)
DbBlockToDomainBlock converts DbBlock to DomainBlock
func DbHashToDomainHash ¶
func DbHashToDomainHash(dbHash *DbHash) (*externalapi.DomainHash, error)
DbHashToDomainHash converts a DbHash to a DomainHash
func DbHashesToDomainHashes ¶
func DbHashesToDomainHashes(dbHashes []*DbHash) ([]*externalapi.DomainHash, error)
DbHashesToDomainHashes converts a slice of DbHash to a slice of DomainHash
func DbOutpointToDomainOutpoint ¶
func DbOutpointToDomainOutpoint(dbOutpoint *DbOutpoint) (*externalapi.DomainOutpoint, error)
DbOutpointToDomainOutpoint converts DbOutpoint to DomainOutpoint
func DbParentsToDomainParents ¶ added in v0.11.0
func DbParentsToDomainParents(dbParents []*DbBlockLevelParents) ([]externalapi.BlockLevelParents, error)
DbParentsToDomainParents converts a slice of DbBlockLevelParents to a slice of BlockLevelParents
func DbSubnetworkIDToDomainSubnetworkID ¶
func DbSubnetworkIDToDomainSubnetworkID(dbSubnetworkID *DbSubnetworkId) (*externalapi.DomainSubnetworkID, error)
DbSubnetworkIDToDomainSubnetworkID converts DbSubnetworkId to DomainSubnetworkID
func DbTransactionIDToDomainTransactionID ¶
func DbTransactionIDToDomainTransactionID(dbTransactionID *DbTransactionId) (*externalapi.DomainTransactionID, error)
DbTransactionIDToDomainTransactionID converts DbTransactionId to DomainTransactionID
func DbTransactionToDomainTransaction ¶
func DbTransactionToDomainTransaction(dbTransaction *DbTransaction) (*externalapi.DomainTransaction, error)
DbTransactionToDomainTransaction converts DbTransaction to DomainTransaction
Types ¶
type DbAcceptanceData ¶
type DbAcceptanceData struct { BlockAcceptanceData []*DbBlockAcceptanceData `protobuf:"bytes,1,rep,name=blockAcceptanceData,proto3" json:"blockAcceptanceData,omitempty"` // contains filtered or unexported fields }
func DomainAcceptanceDataToDbAcceptanceData ¶
func DomainAcceptanceDataToDbAcceptanceData(domainAcceptanceData externalapi.AcceptanceData) *DbAcceptanceData
DomainAcceptanceDataToDbAcceptanceData converts model.AcceptanceData to DbAcceptanceData
func (*DbAcceptanceData) Descriptor
deprecated
func (*DbAcceptanceData) Descriptor() ([]byte, []int)
Deprecated: Use DbAcceptanceData.ProtoReflect.Descriptor instead.
func (*DbAcceptanceData) GetBlockAcceptanceData ¶
func (x *DbAcceptanceData) GetBlockAcceptanceData() []*DbBlockAcceptanceData
func (*DbAcceptanceData) ProtoMessage ¶
func (*DbAcceptanceData) ProtoMessage()
func (*DbAcceptanceData) ProtoReflect ¶
func (x *DbAcceptanceData) ProtoReflect() protoreflect.Message
func (*DbAcceptanceData) Reset ¶
func (x *DbAcceptanceData) Reset()
func (*DbAcceptanceData) String ¶
func (x *DbAcceptanceData) String() string
type DbBlock ¶
type DbBlock struct { Header *DbBlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Transactions []*DbTransaction `protobuf:"bytes,2,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
func DomainBlockToDbBlock ¶
func DomainBlockToDbBlock(domainBlock *externalapi.DomainBlock) *DbBlock
DomainBlockToDbBlock converts DomainBlocks to DbBlock
func (*DbBlock) Descriptor
deprecated
func (*DbBlock) GetHeader ¶
func (x *DbBlock) GetHeader() *DbBlockHeader
func (*DbBlock) GetTransactions ¶
func (x *DbBlock) GetTransactions() []*DbTransaction
func (*DbBlock) ProtoMessage ¶
func (*DbBlock) ProtoMessage()
func (*DbBlock) ProtoReflect ¶
func (x *DbBlock) ProtoReflect() protoreflect.Message
type DbBlockAcceptanceData ¶
type DbBlockAcceptanceData struct { TransactionAcceptanceData []*DbTransactionAcceptanceData `protobuf:"bytes,1,rep,name=transactionAcceptanceData,proto3" json:"transactionAcceptanceData,omitempty"` BlockHash *DbHash `protobuf:"bytes,2,opt,name=blockHash,proto3" json:"blockHash,omitempty"` // contains filtered or unexported fields }
func (*DbBlockAcceptanceData) Descriptor
deprecated
func (*DbBlockAcceptanceData) Descriptor() ([]byte, []int)
Deprecated: Use DbBlockAcceptanceData.ProtoReflect.Descriptor instead.
func (*DbBlockAcceptanceData) GetBlockHash ¶
func (x *DbBlockAcceptanceData) GetBlockHash() *DbHash
func (*DbBlockAcceptanceData) GetTransactionAcceptanceData ¶
func (x *DbBlockAcceptanceData) GetTransactionAcceptanceData() []*DbTransactionAcceptanceData
func (*DbBlockAcceptanceData) ProtoMessage ¶
func (*DbBlockAcceptanceData) ProtoMessage()
func (*DbBlockAcceptanceData) ProtoReflect ¶
func (x *DbBlockAcceptanceData) ProtoReflect() protoreflect.Message
func (*DbBlockAcceptanceData) Reset ¶
func (x *DbBlockAcceptanceData) Reset()
func (*DbBlockAcceptanceData) String ¶
func (x *DbBlockAcceptanceData) String() string
type DbBlockCount ¶
type DbBlockCount struct { Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*DbBlockCount) Descriptor
deprecated
func (*DbBlockCount) Descriptor() ([]byte, []int)
Deprecated: Use DbBlockCount.ProtoReflect.Descriptor instead.
func (*DbBlockCount) GetCount ¶
func (x *DbBlockCount) GetCount() uint64
func (*DbBlockCount) ProtoMessage ¶
func (*DbBlockCount) ProtoMessage()
func (*DbBlockCount) ProtoReflect ¶
func (x *DbBlockCount) ProtoReflect() protoreflect.Message
func (*DbBlockCount) Reset ¶
func (x *DbBlockCount) Reset()
func (*DbBlockCount) String ¶
func (x *DbBlockCount) String() string
type DbBlockGHOSTDAGDataHashPair ¶ added in v0.11.0
type DbBlockGHOSTDAGDataHashPair struct { Hash *DbHash `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` GhostdagData *DbBlockGhostdagData `protobuf:"bytes,2,opt,name=GhostdagData,proto3" json:"GhostdagData,omitempty"` // contains filtered or unexported fields }
func BlockGHOSTDAGDataHashPairToDbBlockGhostdagDataHashPair ¶ added in v0.11.0
func BlockGHOSTDAGDataHashPairToDbBlockGhostdagDataHashPair(pair *externalapi.BlockGHOSTDAGDataHashPair) *DbBlockGHOSTDAGDataHashPair
BlockGHOSTDAGDataHashPairToDbBlockGhostdagDataHashPair converts *externalapi.BlockGHOSTDAGDataHashPair to *DbBlockGHOSTDAGDataHashPair
func (*DbBlockGHOSTDAGDataHashPair) Descriptor
deprecated
added in
v0.11.0
func (*DbBlockGHOSTDAGDataHashPair) Descriptor() ([]byte, []int)
Deprecated: Use DbBlockGHOSTDAGDataHashPair.ProtoReflect.Descriptor instead.
func (*DbBlockGHOSTDAGDataHashPair) GetGhostdagData ¶ added in v0.11.0
func (x *DbBlockGHOSTDAGDataHashPair) GetGhostdagData() *DbBlockGhostdagData
func (*DbBlockGHOSTDAGDataHashPair) GetHash ¶ added in v0.11.0
func (x *DbBlockGHOSTDAGDataHashPair) GetHash() *DbHash
func (*DbBlockGHOSTDAGDataHashPair) ProtoMessage ¶ added in v0.11.0
func (*DbBlockGHOSTDAGDataHashPair) ProtoMessage()
func (*DbBlockGHOSTDAGDataHashPair) ProtoReflect ¶ added in v0.11.0
func (x *DbBlockGHOSTDAGDataHashPair) ProtoReflect() protoreflect.Message
func (*DbBlockGHOSTDAGDataHashPair) Reset ¶ added in v0.11.0
func (x *DbBlockGHOSTDAGDataHashPair) Reset()
func (*DbBlockGHOSTDAGDataHashPair) String ¶ added in v0.11.0
func (x *DbBlockGHOSTDAGDataHashPair) String() string
type DbBlockGhostdagData ¶
type DbBlockGhostdagData struct { BlueScore uint64 `protobuf:"varint,1,opt,name=blueScore,proto3" json:"blueScore,omitempty"` BlueWork []byte `protobuf:"bytes,2,opt,name=blueWork,proto3" json:"blueWork,omitempty"` SelectedParent *DbHash `protobuf:"bytes,3,opt,name=selectedParent,proto3" json:"selectedParent,omitempty"` MergeSetBlues []*DbHash `protobuf:"bytes,4,rep,name=mergeSetBlues,proto3" json:"mergeSetBlues,omitempty"` MergeSetReds []*DbHash `protobuf:"bytes,5,rep,name=mergeSetReds,proto3" json:"mergeSetReds,omitempty"` BluesAnticoneSizes []*DbBluesAnticoneSizes `protobuf:"bytes,6,rep,name=bluesAnticoneSizes,proto3" json:"bluesAnticoneSizes,omitempty"` // contains filtered or unexported fields }
func BlockGHOSTDAGDataToDBBlockGHOSTDAGData ¶
func BlockGHOSTDAGDataToDBBlockGHOSTDAGData(blockGHOSTDAGData *externalapi.BlockGHOSTDAGData) *DbBlockGhostdagData
BlockGHOSTDAGDataToDBBlockGHOSTDAGData converts BlockGHOSTDAGData to DbBlockGhostdagData
func (*DbBlockGhostdagData) Descriptor
deprecated
func (*DbBlockGhostdagData) Descriptor() ([]byte, []int)
Deprecated: Use DbBlockGhostdagData.ProtoReflect.Descriptor instead.
func (*DbBlockGhostdagData) GetBlueScore ¶
func (x *DbBlockGhostdagData) GetBlueScore() uint64
func (*DbBlockGhostdagData) GetBlueWork ¶
func (x *DbBlockGhostdagData) GetBlueWork() []byte
func (*DbBlockGhostdagData) GetBluesAnticoneSizes ¶
func (x *DbBlockGhostdagData) GetBluesAnticoneSizes() []*DbBluesAnticoneSizes
func (*DbBlockGhostdagData) GetMergeSetBlues ¶
func (x *DbBlockGhostdagData) GetMergeSetBlues() []*DbHash
func (*DbBlockGhostdagData) GetMergeSetReds ¶
func (x *DbBlockGhostdagData) GetMergeSetReds() []*DbHash
func (*DbBlockGhostdagData) GetSelectedParent ¶
func (x *DbBlockGhostdagData) GetSelectedParent() *DbHash
func (*DbBlockGhostdagData) ProtoMessage ¶
func (*DbBlockGhostdagData) ProtoMessage()
func (*DbBlockGhostdagData) ProtoReflect ¶
func (x *DbBlockGhostdagData) ProtoReflect() protoreflect.Message
func (*DbBlockGhostdagData) Reset ¶
func (x *DbBlockGhostdagData) Reset()
func (*DbBlockGhostdagData) String ¶
func (x *DbBlockGhostdagData) String() string
type DbBlockHeader ¶
type DbBlockHeader struct { Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` Parents []*DbBlockLevelParents `protobuf:"bytes,2,rep,name=parents,proto3" json:"parents,omitempty"` HashMerkleRoot *DbHash `protobuf:"bytes,3,opt,name=hashMerkleRoot,proto3" json:"hashMerkleRoot,omitempty"` AcceptedIDMerkleRoot *DbHash `protobuf:"bytes,4,opt,name=acceptedIDMerkleRoot,proto3" json:"acceptedIDMerkleRoot,omitempty"` UtxoCommitment *DbHash `protobuf:"bytes,5,opt,name=utxoCommitment,proto3" json:"utxoCommitment,omitempty"` TimeInMilliseconds int64 `protobuf:"varint,6,opt,name=timeInMilliseconds,proto3" json:"timeInMilliseconds,omitempty"` Bits uint32 `protobuf:"varint,7,opt,name=bits,proto3" json:"bits,omitempty"` Nonce uint64 `protobuf:"varint,8,opt,name=nonce,proto3" json:"nonce,omitempty"` DaaScore uint64 `protobuf:"varint,9,opt,name=daaScore,proto3" json:"daaScore,omitempty"` BlueWork []byte `protobuf:"bytes,10,opt,name=blueWork,proto3" json:"blueWork,omitempty"` PruningPoint *DbHash `protobuf:"bytes,12,opt,name=pruningPoint,proto3" json:"pruningPoint,omitempty"` BlueScore uint64 `protobuf:"varint,13,opt,name=blueScore,proto3" json:"blueScore,omitempty"` // contains filtered or unexported fields }
func DomainBlockHeaderToDbBlockHeader ¶
func DomainBlockHeaderToDbBlockHeader(domainBlockHeader externalapi.BlockHeader) *DbBlockHeader
DomainBlockHeaderToDbBlockHeader converts BlockHeader to DbBlockHeader
func (*DbBlockHeader) Descriptor
deprecated
func (*DbBlockHeader) Descriptor() ([]byte, []int)
Deprecated: Use DbBlockHeader.ProtoReflect.Descriptor instead.
func (*DbBlockHeader) GetAcceptedIDMerkleRoot ¶
func (x *DbBlockHeader) GetAcceptedIDMerkleRoot() *DbHash
func (*DbBlockHeader) GetBits ¶
func (x *DbBlockHeader) GetBits() uint32
func (*DbBlockHeader) GetBlueScore ¶ added in v0.11.0
func (x *DbBlockHeader) GetBlueScore() uint64
func (*DbBlockHeader) GetBlueWork ¶ added in v0.11.0
func (x *DbBlockHeader) GetBlueWork() []byte
func (*DbBlockHeader) GetDaaScore ¶ added in v0.11.0
func (x *DbBlockHeader) GetDaaScore() uint64
func (*DbBlockHeader) GetHashMerkleRoot ¶
func (x *DbBlockHeader) GetHashMerkleRoot() *DbHash
func (*DbBlockHeader) GetNonce ¶
func (x *DbBlockHeader) GetNonce() uint64
func (*DbBlockHeader) GetParents ¶ added in v0.11.0
func (x *DbBlockHeader) GetParents() []*DbBlockLevelParents
func (*DbBlockHeader) GetPruningPoint ¶ added in v0.11.0
func (x *DbBlockHeader) GetPruningPoint() *DbHash
func (*DbBlockHeader) GetTimeInMilliseconds ¶
func (x *DbBlockHeader) GetTimeInMilliseconds() int64
func (*DbBlockHeader) GetUtxoCommitment ¶
func (x *DbBlockHeader) GetUtxoCommitment() *DbHash
func (*DbBlockHeader) GetVersion ¶
func (x *DbBlockHeader) GetVersion() uint32
func (*DbBlockHeader) ProtoMessage ¶
func (*DbBlockHeader) ProtoMessage()
func (*DbBlockHeader) ProtoReflect ¶
func (x *DbBlockHeader) ProtoReflect() protoreflect.Message
func (*DbBlockHeader) Reset ¶
func (x *DbBlockHeader) Reset()
func (*DbBlockHeader) String ¶
func (x *DbBlockHeader) String() string
type DbBlockHeaderCount ¶
type DbBlockHeaderCount struct { Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*DbBlockHeaderCount) Descriptor
deprecated
func (*DbBlockHeaderCount) Descriptor() ([]byte, []int)
Deprecated: Use DbBlockHeaderCount.ProtoReflect.Descriptor instead.
func (*DbBlockHeaderCount) GetCount ¶
func (x *DbBlockHeaderCount) GetCount() uint64
func (*DbBlockHeaderCount) ProtoMessage ¶
func (*DbBlockHeaderCount) ProtoMessage()
func (*DbBlockHeaderCount) ProtoReflect ¶
func (x *DbBlockHeaderCount) ProtoReflect() protoreflect.Message
func (*DbBlockHeaderCount) Reset ¶
func (x *DbBlockHeaderCount) Reset()
func (*DbBlockHeaderCount) String ¶
func (x *DbBlockHeaderCount) String() string
type DbBlockLevelParents ¶ added in v0.11.0
type DbBlockLevelParents struct { ParentHashes []*DbHash `protobuf:"bytes,1,rep,name=parentHashes,proto3" json:"parentHashes,omitempty"` // contains filtered or unexported fields }
func DomainBlockLevelParentsToDbBlockLevelParents ¶ added in v0.11.0
func DomainBlockLevelParentsToDbBlockLevelParents(domainBlockLevelParents externalapi.BlockLevelParents) *DbBlockLevelParents
DomainBlockLevelParentsToDbBlockLevelParents converts a BlockLevelParents to a DbBlockLevelParents
func DomainParentsToDbParents ¶ added in v0.11.0
func DomainParentsToDbParents(domainParents []externalapi.BlockLevelParents) []*DbBlockLevelParents
DomainParentsToDbParents converts a slice of BlockLevelParents to a slice of DbBlockLevelParents
func (*DbBlockLevelParents) Descriptor
deprecated
added in
v0.11.0
func (*DbBlockLevelParents) Descriptor() ([]byte, []int)
Deprecated: Use DbBlockLevelParents.ProtoReflect.Descriptor instead.
func (*DbBlockLevelParents) GetParentHashes ¶ added in v0.11.0
func (x *DbBlockLevelParents) GetParentHashes() []*DbHash
func (*DbBlockLevelParents) ProtoMessage ¶ added in v0.11.0
func (*DbBlockLevelParents) ProtoMessage()
func (*DbBlockLevelParents) ProtoReflect ¶ added in v0.11.0
func (x *DbBlockLevelParents) ProtoReflect() protoreflect.Message
func (*DbBlockLevelParents) Reset ¶ added in v0.11.0
func (x *DbBlockLevelParents) Reset()
func (*DbBlockLevelParents) String ¶ added in v0.11.0
func (x *DbBlockLevelParents) String() string
type DbBlockRelations ¶
type DbBlockRelations struct { Parents []*DbHash `protobuf:"bytes,1,rep,name=parents,proto3" json:"parents,omitempty"` Children []*DbHash `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
func DomainBlockRelationsToDbBlockRelations ¶
func DomainBlockRelationsToDbBlockRelations(domainBlockRelations *model.BlockRelations) *DbBlockRelations
DomainBlockRelationsToDbBlockRelations converts model.BlockRelations to DbBlockRelations
func (*DbBlockRelations) Descriptor
deprecated
func (*DbBlockRelations) Descriptor() ([]byte, []int)
Deprecated: Use DbBlockRelations.ProtoReflect.Descriptor instead.
func (*DbBlockRelations) GetChildren ¶
func (x *DbBlockRelations) GetChildren() []*DbHash
func (*DbBlockRelations) GetParents ¶
func (x *DbBlockRelations) GetParents() []*DbHash
func (*DbBlockRelations) ProtoMessage ¶
func (*DbBlockRelations) ProtoMessage()
func (*DbBlockRelations) ProtoReflect ¶
func (x *DbBlockRelations) ProtoReflect() protoreflect.Message
func (*DbBlockRelations) Reset ¶
func (x *DbBlockRelations) Reset()
func (*DbBlockRelations) String ¶
func (x *DbBlockRelations) String() string
type DbBlockStatus ¶
type DbBlockStatus struct { Status uint32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func DomainBlockStatusToDbBlockStatus ¶
func DomainBlockStatusToDbBlockStatus(domainBlockStatus externalapi.BlockStatus) *DbBlockStatus
DomainBlockStatusToDbBlockStatus converts model.BlockStatus to DbBlockStatus
func (*DbBlockStatus) Descriptor
deprecated
func (*DbBlockStatus) Descriptor() ([]byte, []int)
Deprecated: Use DbBlockStatus.ProtoReflect.Descriptor instead.
func (*DbBlockStatus) GetStatus ¶
func (x *DbBlockStatus) GetStatus() uint32
func (*DbBlockStatus) ProtoMessage ¶
func (*DbBlockStatus) ProtoMessage()
func (*DbBlockStatus) ProtoReflect ¶
func (x *DbBlockStatus) ProtoReflect() protoreflect.Message
func (*DbBlockStatus) Reset ¶
func (x *DbBlockStatus) Reset()
func (*DbBlockStatus) String ¶
func (x *DbBlockStatus) String() string
type DbBluesAnticoneSizes ¶
type DbBluesAnticoneSizes struct { BlueHash *DbHash `protobuf:"bytes,1,opt,name=blueHash,proto3" json:"blueHash,omitempty"` AnticoneSize uint32 `protobuf:"varint,2,opt,name=anticoneSize,proto3" json:"anticoneSize,omitempty"` // contains filtered or unexported fields }
func (*DbBluesAnticoneSizes) Descriptor
deprecated
func (*DbBluesAnticoneSizes) Descriptor() ([]byte, []int)
Deprecated: Use DbBluesAnticoneSizes.ProtoReflect.Descriptor instead.
func (*DbBluesAnticoneSizes) GetAnticoneSize ¶
func (x *DbBluesAnticoneSizes) GetAnticoneSize() uint32
func (*DbBluesAnticoneSizes) GetBlueHash ¶
func (x *DbBluesAnticoneSizes) GetBlueHash() *DbHash
func (*DbBluesAnticoneSizes) ProtoMessage ¶
func (*DbBluesAnticoneSizes) ProtoMessage()
func (*DbBluesAnticoneSizes) ProtoReflect ¶
func (x *DbBluesAnticoneSizes) ProtoReflect() protoreflect.Message
func (*DbBluesAnticoneSizes) Reset ¶
func (x *DbBluesAnticoneSizes) Reset()
func (*DbBluesAnticoneSizes) String ¶
func (x *DbBluesAnticoneSizes) String() string
type DbHash ¶
type DbHash struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func DomainHashToDbHash ¶
func DomainHashToDbHash(domainHash *externalapi.DomainHash) *DbHash
DomainHashToDbHash converts a DomainHash to a DbHash
func DomainHashesToDbHashes ¶
func DomainHashesToDbHashes(domainHashes []*externalapi.DomainHash) []*DbHash
DomainHashesToDbHashes converts a slice of DomainHash to a slice of DbHash
func (*DbHash) Descriptor
deprecated
func (*DbHash) ProtoMessage ¶
func (*DbHash) ProtoMessage()
func (*DbHash) ProtoReflect ¶
func (x *DbHash) ProtoReflect() protoreflect.Message
type DbMultiset ¶
type DbMultiset struct { Multiset []byte `protobuf:"bytes,1,opt,name=multiset,proto3" json:"multiset,omitempty"` // contains filtered or unexported fields }
func MultisetToDBMultiset ¶
func MultisetToDBMultiset(multiset model.Multiset) *DbMultiset
MultisetToDBMultiset converts Multiset to DbMultiset
func (*DbMultiset) Descriptor
deprecated
func (*DbMultiset) Descriptor() ([]byte, []int)
Deprecated: Use DbMultiset.ProtoReflect.Descriptor instead.
func (*DbMultiset) GetMultiset ¶
func (x *DbMultiset) GetMultiset() []byte
func (*DbMultiset) ProtoMessage ¶
func (*DbMultiset) ProtoMessage()
func (*DbMultiset) ProtoReflect ¶
func (x *DbMultiset) ProtoReflect() protoreflect.Message
func (*DbMultiset) Reset ¶
func (x *DbMultiset) Reset()
func (*DbMultiset) String ¶
func (x *DbMultiset) String() string
type DbOutpoint ¶
type DbOutpoint struct { TransactionID *DbTransactionId `protobuf:"bytes,1,opt,name=transactionID,proto3" json:"transactionID,omitempty"` Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
func DomainOutpointToDbOutpoint ¶
func DomainOutpointToDbOutpoint(domainOutpoint *externalapi.DomainOutpoint) *DbOutpoint
DomainOutpointToDbOutpoint converts DomainOutpoint to DbOutpoint
func (*DbOutpoint) Descriptor
deprecated
func (*DbOutpoint) Descriptor() ([]byte, []int)
Deprecated: Use DbOutpoint.ProtoReflect.Descriptor instead.
func (*DbOutpoint) GetIndex ¶
func (x *DbOutpoint) GetIndex() uint32
func (*DbOutpoint) GetTransactionID ¶
func (x *DbOutpoint) GetTransactionID() *DbTransactionId
func (*DbOutpoint) ProtoMessage ¶
func (*DbOutpoint) ProtoMessage()
func (*DbOutpoint) ProtoReflect ¶
func (x *DbOutpoint) ProtoReflect() protoreflect.Message
func (*DbOutpoint) Reset ¶
func (x *DbOutpoint) Reset()
func (*DbOutpoint) String ¶
func (x *DbOutpoint) String() string
type DbReachabilityData ¶
type DbReachabilityData struct { Children []*DbHash `protobuf:"bytes,1,rep,name=children,proto3" json:"children,omitempty"` Parent *DbHash `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` Interval *DbReachabilityInterval `protobuf:"bytes,3,opt,name=interval,proto3" json:"interval,omitempty"` FutureCoveringSet []*DbHash `protobuf:"bytes,4,rep,name=futureCoveringSet,proto3" json:"futureCoveringSet,omitempty"` // contains filtered or unexported fields }
func ReachablityDataToDBReachablityData ¶
func ReachablityDataToDBReachablityData(reachabilityData model.ReachabilityData) *DbReachabilityData
ReachablityDataToDBReachablityData converts ReachabilityData to DbReachabilityData
func (*DbReachabilityData) Descriptor
deprecated
func (*DbReachabilityData) Descriptor() ([]byte, []int)
Deprecated: Use DbReachabilityData.ProtoReflect.Descriptor instead.
func (*DbReachabilityData) GetChildren ¶
func (x *DbReachabilityData) GetChildren() []*DbHash
func (*DbReachabilityData) GetFutureCoveringSet ¶
func (x *DbReachabilityData) GetFutureCoveringSet() []*DbHash
func (*DbReachabilityData) GetInterval ¶
func (x *DbReachabilityData) GetInterval() *DbReachabilityInterval
func (*DbReachabilityData) GetParent ¶
func (x *DbReachabilityData) GetParent() *DbHash
func (*DbReachabilityData) ProtoMessage ¶
func (*DbReachabilityData) ProtoMessage()
func (*DbReachabilityData) ProtoReflect ¶
func (x *DbReachabilityData) ProtoReflect() protoreflect.Message
func (*DbReachabilityData) Reset ¶
func (x *DbReachabilityData) Reset()
func (*DbReachabilityData) String ¶
func (x *DbReachabilityData) String() string
type DbReachabilityInterval ¶
type DbReachabilityInterval struct { Start uint64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` End uint64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
func (*DbReachabilityInterval) Descriptor
deprecated
func (*DbReachabilityInterval) Descriptor() ([]byte, []int)
Deprecated: Use DbReachabilityInterval.ProtoReflect.Descriptor instead.
func (*DbReachabilityInterval) GetEnd ¶
func (x *DbReachabilityInterval) GetEnd() uint64
func (*DbReachabilityInterval) GetStart ¶
func (x *DbReachabilityInterval) GetStart() uint64
func (*DbReachabilityInterval) ProtoMessage ¶
func (*DbReachabilityInterval) ProtoMessage()
func (*DbReachabilityInterval) ProtoReflect ¶
func (x *DbReachabilityInterval) ProtoReflect() protoreflect.Message
func (*DbReachabilityInterval) Reset ¶
func (x *DbReachabilityInterval) Reset()
func (*DbReachabilityInterval) String ¶
func (x *DbReachabilityInterval) String() string
type DbScriptPublicKey ¶
type DbScriptPublicKey struct { Script []byte `protobuf:"bytes,1,opt,name=script,proto3" json:"script,omitempty"` Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func ScriptPublicKeyToDBScriptPublicKey ¶
func ScriptPublicKeyToDBScriptPublicKey(scriptPublicKey *externalapi.ScriptPublicKey) *DbScriptPublicKey
ScriptPublicKeyToDBScriptPublicKey converts ScriptPublicKey to DBScriptPublicKey
func (*DbScriptPublicKey) Descriptor
deprecated
func (*DbScriptPublicKey) Descriptor() ([]byte, []int)
Deprecated: Use DbScriptPublicKey.ProtoReflect.Descriptor instead.
func (*DbScriptPublicKey) GetScript ¶
func (x *DbScriptPublicKey) GetScript() []byte
func (*DbScriptPublicKey) GetVersion ¶
func (x *DbScriptPublicKey) GetVersion() uint32
func (*DbScriptPublicKey) ProtoMessage ¶
func (*DbScriptPublicKey) ProtoMessage()
func (*DbScriptPublicKey) ProtoReflect ¶
func (x *DbScriptPublicKey) ProtoReflect() protoreflect.Message
func (*DbScriptPublicKey) Reset ¶
func (x *DbScriptPublicKey) Reset()
func (*DbScriptPublicKey) String ¶
func (x *DbScriptPublicKey) String() string
type DbSubnetworkId ¶
type DbSubnetworkId struct { SubnetworkId []byte `protobuf:"bytes,1,opt,name=subnetworkId,proto3" json:"subnetworkId,omitempty"` // contains filtered or unexported fields }
func DomainSubnetworkIDToDbSubnetworkID ¶
func DomainSubnetworkIDToDbSubnetworkID(domainSubnetworkID *externalapi.DomainSubnetworkID) *DbSubnetworkId
DomainSubnetworkIDToDbSubnetworkID converts DomainSubnetworkID to DbSubnetworkId
func (*DbSubnetworkId) Descriptor
deprecated
func (*DbSubnetworkId) Descriptor() ([]byte, []int)
Deprecated: Use DbSubnetworkId.ProtoReflect.Descriptor instead.
func (*DbSubnetworkId) GetSubnetworkId ¶
func (x *DbSubnetworkId) GetSubnetworkId() []byte
func (*DbSubnetworkId) ProtoMessage ¶
func (*DbSubnetworkId) ProtoMessage()
func (*DbSubnetworkId) ProtoReflect ¶
func (x *DbSubnetworkId) ProtoReflect() protoreflect.Message
func (*DbSubnetworkId) Reset ¶
func (x *DbSubnetworkId) Reset()
func (*DbSubnetworkId) String ¶
func (x *DbSubnetworkId) String() string
type DbTips ¶
type DbTips struct { Tips []*DbHash `protobuf:"bytes,1,rep,name=tips,proto3" json:"tips,omitempty"` // contains filtered or unexported fields }
func TipsToDBTips ¶
func TipsToDBTips(tips []*externalapi.DomainHash) *DbTips
TipsToDBTips converts a slice of hashes to DbTips
func (*DbTips) Descriptor
deprecated
func (*DbTips) ProtoMessage ¶
func (*DbTips) ProtoMessage()
func (*DbTips) ProtoReflect ¶
func (x *DbTips) ProtoReflect() protoreflect.Message
type DbTransaction ¶
type DbTransaction struct { Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` Inputs []*DbTransactionInput `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"` Outputs []*DbTransactionOutput `protobuf:"bytes,3,rep,name=outputs,proto3" json:"outputs,omitempty"` LockTime uint64 `protobuf:"varint,4,opt,name=lockTime,proto3" json:"lockTime,omitempty"` SubnetworkID *DbSubnetworkId `protobuf:"bytes,5,opt,name=subnetworkID,proto3" json:"subnetworkID,omitempty"` Gas uint64 `protobuf:"varint,6,opt,name=gas,proto3" json:"gas,omitempty"` Payload []byte `protobuf:"bytes,8,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func DomainTransactionToDbTransaction ¶
func DomainTransactionToDbTransaction(domainTransaction *externalapi.DomainTransaction) *DbTransaction
DomainTransactionToDbTransaction converts DomainTransaction to DbTransaction
func (*DbTransaction) Descriptor
deprecated
func (*DbTransaction) Descriptor() ([]byte, []int)
Deprecated: Use DbTransaction.ProtoReflect.Descriptor instead.
func (*DbTransaction) GetGas ¶
func (x *DbTransaction) GetGas() uint64
func (*DbTransaction) GetInputs ¶
func (x *DbTransaction) GetInputs() []*DbTransactionInput
func (*DbTransaction) GetLockTime ¶
func (x *DbTransaction) GetLockTime() uint64
func (*DbTransaction) GetOutputs ¶
func (x *DbTransaction) GetOutputs() []*DbTransactionOutput
func (*DbTransaction) GetPayload ¶
func (x *DbTransaction) GetPayload() []byte
func (*DbTransaction) GetSubnetworkID ¶
func (x *DbTransaction) GetSubnetworkID() *DbSubnetworkId
func (*DbTransaction) GetVersion ¶
func (x *DbTransaction) GetVersion() uint32
func (*DbTransaction) ProtoMessage ¶
func (*DbTransaction) ProtoMessage()
func (*DbTransaction) ProtoReflect ¶
func (x *DbTransaction) ProtoReflect() protoreflect.Message
func (*DbTransaction) Reset ¶
func (x *DbTransaction) Reset()
func (*DbTransaction) String ¶
func (x *DbTransaction) String() string
type DbTransactionAcceptanceData ¶
type DbTransactionAcceptanceData struct { Transaction *DbTransaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` Fee uint64 `protobuf:"varint,2,opt,name=fee,proto3" json:"fee,omitempty"` IsAccepted bool `protobuf:"varint,3,opt,name=isAccepted,proto3" json:"isAccepted,omitempty"` TransactionInputUtxoEntries []*DbUtxoEntry `protobuf:"bytes,4,rep,name=transactionInputUtxoEntries,proto3" json:"transactionInputUtxoEntries,omitempty"` // contains filtered or unexported fields }
func (*DbTransactionAcceptanceData) Descriptor
deprecated
func (*DbTransactionAcceptanceData) Descriptor() ([]byte, []int)
Deprecated: Use DbTransactionAcceptanceData.ProtoReflect.Descriptor instead.
func (*DbTransactionAcceptanceData) GetFee ¶
func (x *DbTransactionAcceptanceData) GetFee() uint64
func (*DbTransactionAcceptanceData) GetIsAccepted ¶
func (x *DbTransactionAcceptanceData) GetIsAccepted() bool
func (*DbTransactionAcceptanceData) GetTransaction ¶
func (x *DbTransactionAcceptanceData) GetTransaction() *DbTransaction
func (*DbTransactionAcceptanceData) GetTransactionInputUtxoEntries ¶
func (x *DbTransactionAcceptanceData) GetTransactionInputUtxoEntries() []*DbUtxoEntry
func (*DbTransactionAcceptanceData) ProtoMessage ¶
func (*DbTransactionAcceptanceData) ProtoMessage()
func (*DbTransactionAcceptanceData) ProtoReflect ¶
func (x *DbTransactionAcceptanceData) ProtoReflect() protoreflect.Message
func (*DbTransactionAcceptanceData) Reset ¶
func (x *DbTransactionAcceptanceData) Reset()
func (*DbTransactionAcceptanceData) String ¶
func (x *DbTransactionAcceptanceData) String() string
type DbTransactionId ¶
type DbTransactionId struct { TransactionId []byte `protobuf:"bytes,1,opt,name=transactionId,proto3" json:"transactionId,omitempty"` // contains filtered or unexported fields }
func DomainTransactionIDToDbTransactionID ¶
func DomainTransactionIDToDbTransactionID(domainTransactionID *externalapi.DomainTransactionID) *DbTransactionId
DomainTransactionIDToDbTransactionID converts DomainTransactionID to DbTransactionId
func (*DbTransactionId) Descriptor
deprecated
func (*DbTransactionId) Descriptor() ([]byte, []int)
Deprecated: Use DbTransactionId.ProtoReflect.Descriptor instead.
func (*DbTransactionId) GetTransactionId ¶
func (x *DbTransactionId) GetTransactionId() []byte
func (*DbTransactionId) ProtoMessage ¶
func (*DbTransactionId) ProtoMessage()
func (*DbTransactionId) ProtoReflect ¶
func (x *DbTransactionId) ProtoReflect() protoreflect.Message
func (*DbTransactionId) Reset ¶
func (x *DbTransactionId) Reset()
func (*DbTransactionId) String ¶
func (x *DbTransactionId) String() string
type DbTransactionInput ¶
type DbTransactionInput struct { PreviousOutpoint *DbOutpoint `protobuf:"bytes,1,opt,name=previousOutpoint,proto3" json:"previousOutpoint,omitempty"` SignatureScript []byte `protobuf:"bytes,2,opt,name=signatureScript,proto3" json:"signatureScript,omitempty"` Sequence uint64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"` SigOpCount uint32 `protobuf:"varint,4,opt,name=sigOpCount,proto3" json:"sigOpCount,omitempty"` // contains filtered or unexported fields }
func (*DbTransactionInput) Descriptor
deprecated
func (*DbTransactionInput) Descriptor() ([]byte, []int)
Deprecated: Use DbTransactionInput.ProtoReflect.Descriptor instead.
func (*DbTransactionInput) GetPreviousOutpoint ¶
func (x *DbTransactionInput) GetPreviousOutpoint() *DbOutpoint
func (*DbTransactionInput) GetSequence ¶
func (x *DbTransactionInput) GetSequence() uint64
func (*DbTransactionInput) GetSigOpCount ¶ added in v0.11.0
func (x *DbTransactionInput) GetSigOpCount() uint32
func (*DbTransactionInput) GetSignatureScript ¶
func (x *DbTransactionInput) GetSignatureScript() []byte
func (*DbTransactionInput) ProtoMessage ¶
func (*DbTransactionInput) ProtoMessage()
func (*DbTransactionInput) ProtoReflect ¶
func (x *DbTransactionInput) ProtoReflect() protoreflect.Message
func (*DbTransactionInput) Reset ¶
func (x *DbTransactionInput) Reset()
func (*DbTransactionInput) String ¶
func (x *DbTransactionInput) String() string
type DbTransactionOutput ¶
type DbTransactionOutput struct { Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` ScriptPublicKey *DbScriptPublicKey `protobuf:"bytes,2,opt,name=scriptPublicKey,proto3" json:"scriptPublicKey,omitempty"` // contains filtered or unexported fields }
func (*DbTransactionOutput) Descriptor
deprecated
func (*DbTransactionOutput) Descriptor() ([]byte, []int)
Deprecated: Use DbTransactionOutput.ProtoReflect.Descriptor instead.
func (*DbTransactionOutput) GetScriptPublicKey ¶
func (x *DbTransactionOutput) GetScriptPublicKey() *DbScriptPublicKey
func (*DbTransactionOutput) GetValue ¶
func (x *DbTransactionOutput) GetValue() uint64
func (*DbTransactionOutput) ProtoMessage ¶
func (*DbTransactionOutput) ProtoMessage()
func (*DbTransactionOutput) ProtoReflect ¶
func (x *DbTransactionOutput) ProtoReflect() protoreflect.Message
func (*DbTransactionOutput) Reset ¶
func (x *DbTransactionOutput) Reset()
func (*DbTransactionOutput) String ¶
func (x *DbTransactionOutput) String() string
type DbUtxoCollectionItem ¶
type DbUtxoCollectionItem struct { Outpoint *DbOutpoint `protobuf:"bytes,1,opt,name=outpoint,proto3" json:"outpoint,omitempty"` UtxoEntry *DbUtxoEntry `protobuf:"bytes,2,opt,name=utxoEntry,proto3" json:"utxoEntry,omitempty"` // contains filtered or unexported fields }
func (*DbUtxoCollectionItem) Descriptor
deprecated
func (*DbUtxoCollectionItem) Descriptor() ([]byte, []int)
Deprecated: Use DbUtxoCollectionItem.ProtoReflect.Descriptor instead.
func (*DbUtxoCollectionItem) GetOutpoint ¶
func (x *DbUtxoCollectionItem) GetOutpoint() *DbOutpoint
func (*DbUtxoCollectionItem) GetUtxoEntry ¶
func (x *DbUtxoCollectionItem) GetUtxoEntry() *DbUtxoEntry
func (*DbUtxoCollectionItem) ProtoMessage ¶
func (*DbUtxoCollectionItem) ProtoMessage()
func (*DbUtxoCollectionItem) ProtoReflect ¶
func (x *DbUtxoCollectionItem) ProtoReflect() protoreflect.Message
func (*DbUtxoCollectionItem) Reset ¶
func (x *DbUtxoCollectionItem) Reset()
func (*DbUtxoCollectionItem) String ¶
func (x *DbUtxoCollectionItem) String() string
type DbUtxoDiff ¶
type DbUtxoDiff struct { ToAdd []*DbUtxoCollectionItem `protobuf:"bytes,1,rep,name=toAdd,proto3" json:"toAdd,omitempty"` ToRemove []*DbUtxoCollectionItem `protobuf:"bytes,2,rep,name=toRemove,proto3" json:"toRemove,omitempty"` // contains filtered or unexported fields }
func UTXODiffToDBUTXODiff ¶
func UTXODiffToDBUTXODiff(diff externalapi.UTXODiff) (*DbUtxoDiff, error)
UTXODiffToDBUTXODiff converts UTXODiff to DbUtxoDiff
func (*DbUtxoDiff) Descriptor
deprecated
func (*DbUtxoDiff) Descriptor() ([]byte, []int)
Deprecated: Use DbUtxoDiff.ProtoReflect.Descriptor instead.
func (*DbUtxoDiff) GetToAdd ¶
func (x *DbUtxoDiff) GetToAdd() []*DbUtxoCollectionItem
func (*DbUtxoDiff) GetToRemove ¶
func (x *DbUtxoDiff) GetToRemove() []*DbUtxoCollectionItem
func (*DbUtxoDiff) ProtoMessage ¶
func (*DbUtxoDiff) ProtoMessage()
func (*DbUtxoDiff) ProtoReflect ¶
func (x *DbUtxoDiff) ProtoReflect() protoreflect.Message
func (*DbUtxoDiff) Reset ¶
func (x *DbUtxoDiff) Reset()
func (*DbUtxoDiff) String ¶
func (x *DbUtxoDiff) String() string
type DbUtxoEntry ¶
type DbUtxoEntry struct { Amount uint64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` ScriptPublicKey *DbScriptPublicKey `protobuf:"bytes,2,opt,name=scriptPublicKey,proto3" json:"scriptPublicKey,omitempty"` BlockDaaScore uint64 `protobuf:"varint,3,opt,name=blockDaaScore,proto3" json:"blockDaaScore,omitempty"` IsCoinbase bool `protobuf:"varint,4,opt,name=isCoinbase,proto3" json:"isCoinbase,omitempty"` // contains filtered or unexported fields }
func UTXOEntryToDBUTXOEntry ¶
func UTXOEntryToDBUTXOEntry(utxoEntry externalapi.UTXOEntry) *DbUtxoEntry
UTXOEntryToDBUTXOEntry converts UTXOEntry to DbUtxoEntry
func (*DbUtxoEntry) Descriptor
deprecated
func (*DbUtxoEntry) Descriptor() ([]byte, []int)
Deprecated: Use DbUtxoEntry.ProtoReflect.Descriptor instead.
func (*DbUtxoEntry) GetAmount ¶
func (x *DbUtxoEntry) GetAmount() uint64
func (*DbUtxoEntry) GetBlockDaaScore ¶ added in v0.10.0
func (x *DbUtxoEntry) GetBlockDaaScore() uint64
func (*DbUtxoEntry) GetIsCoinbase ¶
func (x *DbUtxoEntry) GetIsCoinbase() bool
func (*DbUtxoEntry) GetScriptPublicKey ¶
func (x *DbUtxoEntry) GetScriptPublicKey() *DbScriptPublicKey
func (*DbUtxoEntry) ProtoMessage ¶
func (*DbUtxoEntry) ProtoMessage()
func (*DbUtxoEntry) ProtoReflect ¶
func (x *DbUtxoEntry) ProtoReflect() protoreflect.Message
func (*DbUtxoEntry) Reset ¶
func (x *DbUtxoEntry) Reset()
func (*DbUtxoEntry) String ¶
func (x *DbUtxoEntry) String() string
type DbUtxoSet ¶
type DbUtxoSet struct { Items []*DbUtxoCollectionItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*DbUtxoSet) Descriptor
deprecated
func (*DbUtxoSet) GetItems ¶
func (x *DbUtxoSet) GetItems() []*DbUtxoCollectionItem
func (*DbUtxoSet) ProtoMessage ¶
func (*DbUtxoSet) ProtoMessage()
func (*DbUtxoSet) ProtoReflect ¶
func (x *DbUtxoSet) ProtoReflect() protoreflect.Message
Source Files ¶
- acceptancedata.go
- block.go
- block_ghostdag_data.go
- blockheader.go
- blocklevelparents.go
- blockrelations.go
- blockstatus.go
- blues_anticone_sizes.go
- daa_block.go
- dbobjects.pb.go
- generate.go
- hash.go
- multiset.go
- outpoint.go
- reachability_data.go
- reachablity_interval.go
- subnetworkid.go
- tips.go
- transaction.go
- transactionid.go
- utxo_collection.go
- utxo_diff.go
- utxo_entry.go