Skip to content

Commit 3a0f54d

Browse files
committed
Merge bitcoin#29115: [doc]: add doxygen comment describing what CheckPackageLimits returns
19bb65b [doc]: add doxygen return comment for CheckPackageLimits (ismaelsadeeq) Pull request description: This PR adds a doxygen comment on `CheckPackageLimits` describing what the method returns. Fixes bitcoin#28863 (comment) ACKs for top commit: Sjors: utACK 19bb65b Zero-1729: utACK 19bb65b Tree-SHA512: ccf1cc00a44d3fff60f28ad6766019a9f61b349729eab3cb02bc76b13c2e55441348a1602d806e60e4b2eabeb1f5d1ddacddf86c0bcdb78b078bb3a863b650c2
2 parents e3847f7 + 19bb65b commit 3a0f54d

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)