diff options
author | luigi1111 <luigi1111w@gmail.com> | 2019-08-21 15:23:58 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2019-08-21 15:23:58 -0500 |
commit | eea0123de4bf6ecafd7579d57149a423a6315992 (patch) | |
tree | 0039f1932b491d85642f9d93fc42b27bddd04731 | |
parent | Merge pull request #5735 (diff) | |
parent | improve tx_sanity_check clarification (diff) | |
download | monero-eea0123de4bf6ecafd7579d57149a423a6315992.tar.xz |
Merge pull request #5755
7a3e458 improve tx_sanity_check clarification (vicsn)
-rw-r--r-- | src/cryptonote_core/tx_sanity_check.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptonote_core/tx_sanity_check.cpp b/src/cryptonote_core/tx_sanity_check.cpp index e95350f76..03cbb5c26 100644 --- a/src/cryptonote_core/tx_sanity_check.cpp +++ b/src/cryptonote_core/tx_sanity_check.cpp @@ -82,7 +82,7 @@ bool tx_sanity_check(Blockchain &blockchain, const cryptonote::blobdata &tx_blob if (rct_indices.size() < n_indices * 8 / 10) { - MERROR("unique indices is only " << rct_indices.size() << "/" << n_indices); + MERROR("amount of unique indices is too low (amount of rct indices is " << rct_indices.size() << ", out of total " << n_indices << "indices."); return false; } @@ -90,7 +90,7 @@ bool tx_sanity_check(Blockchain &blockchain, const cryptonote::blobdata &tx_blob uint64_t median = epee::misc_utils::median(offsets); if (median < n_available * 6 / 10) { - MERROR("median is " << median << "/" << n_available); + MERROR("median offset index is too low (median is " << median << " out of total " << n_available << "offsets). Transactions should contain a higher fraction of recent outputs."); return false; } |