aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2023-03-18 18:23:14 -0400
committerluigi1111 <luigi1111w@gmail.com>2023-03-18 18:23:14 -0400
commit225e5ba571264eb9ceb1e7defa732d8ea28ab5cb (patch)
tree0ad4ec7c9845447eff358f6a863b7c981e584a97 /src/rpc/core_rpc_server.cpp
parent66f57299a220db539fdfb280c27483660664875d (diff)
parent5900ed3706caa1beeef88738e7b62194280af5d9 (diff)
downloadmonzero-core-225e5ba571264eb9ceb1e7defa732d8ea28ab5cb.tar.gz
monzero-core-225e5ba571264eb9ceb1e7defa732d8ea28ab5cb.tar.xz
monzero-core-225e5ba571264eb9ceb1e7defa732d8ea28ab5cb.zip
Merge pull request #8784
5900ed3 Add a size limit for tx_extra in tx pool (tevador)
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r--src/rpc/core_rpc_server.cpp2
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)
{