Merge pull request #10156

0fc5e87 cryptonote_core: rm confusing/redundant BP consensus rule (jeffro256)
This commit is contained in:
tobtoht
2025-10-27 18:47:58 +00:00

View File

@@ -3591,22 +3591,6 @@ bool Blockchain::check_tx_inputs(transaction& tx, tx_verification_context &tvc,
MERROR_VER("Unsupported rct type: " << rv.type); MERROR_VER("Unsupported rct type: " << rv.type);
return false; return false;
} }
// for bulletproofs, check they're only multi-output after v8
if (rct::is_rct_bulletproof(rv.type))
{
if (hf_version < 8)
{
for (const rct::Bulletproof &proof: rv.p.bulletproofs)
{
if (proof.V.size() > 1)
{
MERROR_VER("Multi output bulletproofs are invalid before v8");
return false;
}
}
}
}
} }
return true; return true;
} }