From 19bb65bf255df0f876e37de90fb8c4c6229cdf52 Mon Sep 17 00:00:00 2001 From: ismaelsadeeq Date: Tue, 19 Dec 2023 17:08:40 +0100 Subject: [PATCH] [doc]: add doxygen return comment for CheckPackageLimits --- src/txmempool.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/txmempool.h b/src/txmempool.h index 60640acdb0e..9da51756e60 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 CheckPackageLimits(const Package& package, int64_t total_vsize) const EXCLUSIVE_LOCKS_REQUIRED(cs);