Versions in this module Expand all Collapse all v1 v1.0.0 Nov 29, 2023 Changes in this version + var ErrTransactionNotFound = errors.New("Couldn't find transaction in mp.orderedTransactionsByFeeRate") + type IDToTransactionMap map[externalapi.DomainTransactionID]*MempoolTransaction + type IDToTransactionsSliceMap map[externalapi.DomainTransactionID][]*MempoolTransaction + type MempoolTransaction struct + func NewMempoolTransaction(transaction *externalapi.DomainTransaction, ...) *MempoolTransaction + func (mt *MempoolTransaction) AddedAtDAAScore() uint64 + func (mt *MempoolTransaction) IsHighPriority() bool + func (mt *MempoolTransaction) ParentTransactionsInPool() IDToTransactionMap + func (mt *MempoolTransaction) RemoveParentTransactionInPool(transactionID *externalapi.DomainTransactionID) + func (mt *MempoolTransaction) Transaction() *externalapi.DomainTransaction + func (mt *MempoolTransaction) TransactionID() *externalapi.DomainTransactionID + type OrphanTransaction struct + func NewOrphanTransaction(transaction *externalapi.DomainTransaction, isHighPriority bool, ...) *OrphanTransaction + func (ot *OrphanTransaction) AddedAtDAAScore() uint64 + func (ot *OrphanTransaction) IsHighPriority() bool + func (ot *OrphanTransaction) Transaction() *externalapi.DomainTransaction + func (ot *OrphanTransaction) TransactionID() *externalapi.DomainTransactionID + type OutpointToTransactionMap map[externalapi.DomainOutpoint]*MempoolTransaction + type OutpointToUTXOEntryMap map[externalapi.DomainOutpoint]externalapi.UTXOEntry + type ScriptPublicKeyStringToDomainTransaction map[string]*externalapi.DomainTransaction + type Transaction interface + Transaction func() *externalapi.DomainTransaction + TransactionID func() *externalapi.DomainTransactionID + type TransactionsOrderedByFeeRate struct + func (tobf *TransactionsOrderedByFeeRate) GetByIndex(index int) *MempoolTransaction + func (tobf *TransactionsOrderedByFeeRate) Push(transaction *MempoolTransaction) error + func (tobf *TransactionsOrderedByFeeRate) Remove(transaction *MempoolTransaction) error + func (tobf *TransactionsOrderedByFeeRate) RemoveAtIndex(index int) error