• Suhas Daftuar's avatar
    Fix DoS vulnerability in mempool acceptance · 4bf6fc78
    Suhas Daftuar authored
    Moves the IsStandard check to happen after the premature-witness check,
    so that adding a witness to a transaction can't prevent mempool acceptance.
    
    Note that this doesn't address the broader category of potential mempool DoS
    issues that affect transactions after segwit activation.
    4bf6fc78
main.cpp 292 KB