Versions in this module Expand all Collapse all v1 v1.2.0 Oct 10, 2024 v1.0.0 May 18, 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 + RemoveTransactions func(txs []*externalapi.DomainTransaction, removeRedeemers bool) 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)