diff options
author | tevador <tevador@gmail.com> | 2023-02-05 21:53:32 +0100 |
---|---|---|
committer | selsta <selsta@sent.at> | 2023-03-18 20:01:58 +0100 |
commit | 5900ed3706caa1beeef88738e7b62194280af5d9 (patch) | |
tree | 7aff8902624d7dbf8952267eee28823054e0f703 /src/rpc/core_rpc_server.cpp | |
parent | Merge pull request #8739 (diff) | |
download | monero-5900ed3706caa1beeef88738e7b62194280af5d9.tar.xz |
Add a size limit for tx_extra in tx pool
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r-- | src/rpc/core_rpc_server.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp index 16bcf2c04..d9d851d47 100644 --- a/src/rpc/core_rpc_server.cpp +++ b/src/rpc/core_rpc_server.cpp @@ -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) { |