aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/tx_pool.h
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2022-08-08 20:29:56 -0500
committerluigi1111 <luigi1111w@gmail.com>2022-08-08 20:29:56 -0500
commit5c33f40cd8b75ad6f486fa1738df1f3462ca1ac1 (patch)
treedf124190c4928356412d23382a36ee813d986dda /src/cryptonote_core/tx_pool.h
parentMerge pull request #8483 (diff)
parentFixed get_block_template_backlog performance (diff)
downloadmonero-5c33f40cd8b75ad6f486fa1738df1f3462ca1ac1.tar.xz
Merge pull request #8455
099fc1f Fixed get_block_template_backlog performance (SChernykh)
Diffstat (limited to 'src/cryptonote_core/tx_pool.h')
-rw-r--r--src/cryptonote_core/tx_pool.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cryptonote_core/tx_pool.h b/src/cryptonote_core/tx_pool.h
index 65c39f87c..accd8c863 100644
--- a/src/cryptonote_core/tx_pool.h
+++ b/src/cryptonote_core/tx_pool.h
@@ -266,7 +266,11 @@ namespace cryptonote
void get_transaction_backlog(std::vector<tx_backlog_entry>& backlog, bool include_sensitive = false) const;
/**
- * @brief get (hash, weight, fee) for all transactions in the pool - the minimum required information to create a block template
+ * @brief get (hash, weight, fee) for transactions in the pool - the minimum required information to create a block template
+ *
+ * Not all transactions in the pool will be returned for performance reasons
+ * If there are too many transactions in the pool, only the highest-paying transactions
+ * will be returned - but enough for the miner to create a full block
*
* @param backlog return-by-reference that data
* @param include_sensitive return stempool, anonymity-pool, and unrelayed txes