Versions in this module Expand all Collapse all v0 v0.12.17 Sep 12, 2024 Changes in this version + type BlockTemplateBuilder interface + BuildBlockTemplate func(coinbaseData *consensusexternalapi.DomainCoinbaseData) (*consensusexternalapi.DomainBlockTemplate, error) + ModifyBlockTemplate func(newCoinbaseData *consensusexternalapi.DomainCoinbaseData, ...) (*consensusexternalapi.DomainBlockTemplate, error) + type Mempool interface + AllTransactions func(includeTransactionPool bool, includeOrphanPool bool) (transactionPoolTransactions []*externalapi.DomainTransaction, ...) + BlockCandidateTransactions func() []*externalapi.DomainTransaction + 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) + IsTransactionOutputDust func(output *externalapi.DomainTransactionOutput) bool + RemoveInvalidTransactions func(err *ruleerrors.ErrInvalidTransactionsInNewBlock) 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)