2021-06-06 12:53:37 +03:00

19 lines
453 B
Go

package mempool
import "github.com/kaspanet/kaspad/domain/consensus/model/externalapi"
type idToTransaction map[externalapi.DomainTransactionID]*mempoolTransaction
type mempoolTransaction struct {
transaction *externalapi.DomainTransaction
parentsInPool idToTransaction
isHighPriority bool
addAtDAAScore uint64
}
type orphanTransaction struct {
transaction externalapi.DomainTransaction
isHighPriority bool
addedAtDAAScore uint64
}