mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-11-29 00:23:14 +00:00
19 lines
452 B
Go
19 lines
452 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
|
|
}
|