Merge pull request #8733

3771641 Add a size limit for tx_extra in tx pool (tevador)
This commit is contained in:
luigi1111
2023-03-18 18:18:13 -04:00
6 changed files with 22 additions and 1 deletions
+2
View File
@@ -1348,6 +1348,8 @@ namespace cryptonote
add_reason(reason, "fee too low");
if ((res.too_few_outputs = tvc.m_too_few_outputs))
add_reason(reason, "too few outputs");
if ((res.tx_extra_too_big = tvc.m_tx_extra_too_big))
add_reason(reason, "tx-extra too big");
const std::string punctuation = reason.empty() ? "" : ": ";
if (tvc.m_verifivation_failed)
{