`CompareModifiedEntry`, as used in

https://github.com/bitcoin/bitcoin/blob/3c098a8aa0780009c11b66b1a5d488a928629ebf/src/miner.h#L97-L112

will trigger a compile-time error in many `const` operations of index #1 of `indexed_modified_transaction_set` because `CompareModifiedEntry::operator()` is not `const`.

Most likely related to:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224129
/**
 * Information about a mempool transaction.
 */
struct TxMempoolInfo
{
    
    CTransactionRef tx;
    
    int64_t nTime;
    
    CFeeRate feeRate;
    
    int64_t nFeeDelta;
};
/** Reason why a transaction was removed from the mempool,
 * this is passed to the notification signal.
 */
enum class MemPoolRemovalReason {
    UNKNOWN = 0, 
    EXPIRY,      
    SIZELIMIT,   
    REORG,       
    BLOCK,       
    CONFLICT,    
    REPLACED     
};
class SaltedTxidHasher