Skip to content

Commit 19bb65b

Browse files
committed
[doc]: add doxygen return comment for CheckPackageLimits
1 parent dd39194 commit 19bb65b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/txmempool.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,7 @@ class CTxMemPool
605605
* to mempool. The transactions need not be direct
606606
* ancestors/descendants of each other.
607607
* @param[in] total_vsize Sum of virtual sizes for all transactions in package.
608+
* @returns {} or the error reason if a limit is hit.
608609
*/
609610
util::Result<void> CheckPackageLimits(const Package& package,
610611
int64_t total_vsize) const EXCLUSIVE_LOCKS_REQUIRED(cs);

0 commit comments

Comments
 (0)