mirror of
https://github.com/monero-project/monero.git
synced 2025-08-16 21:00:27 -04:00
Add a size limit for tx_extra in tx pool
This commit is contained in:
parent
99be9a044f
commit
5900ed3706
6 changed files with 22 additions and 1 deletions
|
@ -1275,6 +1275,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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue