aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.h
diff options
context:
space:
mode:
authorismaelsadeeq <ask4ismailsadiq@gmail.com>2023-12-19 17:08:40 +0100
committerismaelsadeeq <ask4ismailsadiq@gmail.com>2023-12-19 17:12:45 +0100
commit19bb65bf255df0f876e37de90fb8c4c6229cdf52 (patch)
tree7ca4793d77a47bbee97a55438f786406b9c770b1 /src/txmempool.h
parentdd391944dc2d4e7dda9439647e603b41ba751b78 (diff)
downloadbitcoin-19bb65bf255df0f876e37de90fb8c4c6229cdf52.tar.xz
[doc]: add doxygen return comment for CheckPackageLimits
Diffstat (limited to 'src/txmempool.h')
-rw-r--r--src/txmempool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/txmempool.h b/src/txmempool.h
index 60640acdb0..9da51756e6 100644
--- a/src/txmempool.h
+++ b/src/txmempool.h
@@ -605,6 +605,7 @@ public:
* to mempool. The transactions need not be direct
* ancestors/descendants of each other.
* @param[in] total_vsize Sum of virtual sizes for all transactions in package.
+ * @returns {} or the error reason if a limit is hit.
*/
util::Result<void> CheckPackageLimits(const Package& package,
int64_t total_vsize) const EXCLUSIVE_LOCKS_REQUIRED(cs);