src/miner.cpp
bool BlockAssembler::TestPackageFinality(const CTxMemPool::setEntries& package)
{
    for (CTxMemPool::txiter it : package) {
        if (!IsFinalTx(it->GetTx(), nHeight, nLockTimeCutoff))
            return false;
    }
    return true;
}
// Block size and sigops have already been tested.  Check that all transactions
// are final.
Block size and sigops have already been tested.  Check that all transactions
are final.
Block size and sigops have already been tested . Check that all transactions are final .
bool BlockAssembler::TestPackageFinality(const CTxMemPool::setEntries& package)
{
    for (CTxMemPool::txiter it : package) {
        if (!IsFinalTx(it->GetTx(), nHeight, nLockTimeCutoff))
            return false;
    }
    return true;
}
bool BlockAssembler :: TestPackageFinality ( const CTxMemPool :: setEntries & package ) { for ( CTxMemPool :: txiter it : package ) { if ( ! IsFinalTx ( it -> GetTx ( ) , nHeight , nLockTimeCutoff ) ) return false ; } return true ; }
Block size and sigops have already been tested.
Block size and sigops have already been tested .