diff --git a/src/txmempool.h b/src/txmempool.h index bbf59bf667..35799b764d 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -662,6 +662,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);