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
commit 76dd14dfb1
No known key found for this signature in database
GPG key ID: F4ACA0183641E010
6 changed files with 22 additions and 1 deletions

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)
{