Versions in this module Expand all Collapse all v1 v1.2.0 Jun 21, 2024 v1.0.0 Mar 29, 2024 Changes in this version + type Factory interface + NewMiningManager func(consensus consensusreference.ConsensusReference, params *dagconfig.Params, ...) MiningManager + func NewFactory() Factory + type MiningManager interface + AllTransactions func(includeTransactionPool bool, includeOrphanPool bool) (transactionPoolTransactions []*externalapi.DomainTransaction, ...) + ClearBlockTemplate func() + GetBlockTemplate func(coinbaseData *externalapi.DomainCoinbaseData) (block *externalapi.DomainBlock, isNearlySynced bool, err error) + GetBlockTemplateBuilder func() miningmanagermodel.BlockTemplateBuilder + GetTransaction func(transactionID *externalapi.DomainTransactionID, includeTransactionPool bool, ...) (transactionPoolTransaction *externalapi.DomainTransaction, isOrphan bool, ...) + GetTransactionsByAddresses func(includeTransactionPool bool, includeOrphanPool bool) (sendingInTransactionPool map[string]*externalapi.DomainTransaction, ...) + HandleNewBlockTransactions func(txs []*externalapi.DomainTransaction) ([]*externalapi.DomainTransaction, error) + RevalidateHighPriorityTransactions func() (validTransactions []*externalapi.DomainTransaction, err error) + TransactionCount func(includeTransactionPool bool, includeOrphanPool bool) int + ValidateAndInsertTransaction func(transaction *externalapi.DomainTransaction, isHighPriority bool, ...) (acceptedTransactions []*externalapi.DomainTransaction, err error)