0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-08 10:31:50 -05:00

[doc]: add doxygen return comment for CheckPackageLimits

This commit is contained in:
ismaelsadeeq 2023-12-19 17:08:40 +01:00
parent dd391944dc
commit 19bb65bf25

View file

@ -605,6 +605,7 @@ public:
* to mempool. The transactions need not be direct * to mempool. The transactions need not be direct
* ancestors/descendants of each other. * ancestors/descendants of each other.
* @param[in] total_vsize Sum of virtual sizes for all transactions in package. * @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, util::Result<void> CheckPackageLimits(const Package& package,
int64_t total_vsize) const EXCLUSIVE_LOCKS_REQUIRED(cs); int64_t total_vsize) const EXCLUSIVE_LOCKS_REQUIRED(cs);