Currently, the multisig descriptor constructions are limited to 16 keys only possibly because of template parsing reasons. Under p2sh context, such scripts would be invalid anyway because of 520-byte rule, but we can support up to 20 keys for CHECKMULTISIG in witness script context. 


if (nLockTime > (int64_t)txTo->nLockTime)
        return false;
    
    
    
    
    
    
    
    
    
    
    if (CTxIn::SEQUENCE_FINAL == txTo->vin[nIn].nSequence)
        return false;
    return true;
}
template <class T>
bool GenericTransactionSignatureChecker<T>::CheckSequence(const CScriptNum& nSequence) const
{
    
    
    const int64_t txToSequence = (int64_t)txTo->vin[nIn].nSequence;
    
    
    if (static_cast<uint32_t>(txTo->nVersion) < 2)
        return false;