mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-08 05:39:38 +02:00
Bugfix: Pass correct virtual size to CheckPackageLimits
This commit is contained in:
committed by
Greg Sanders
parent
533660c58a
commit
bc013fe8e3
@@ -606,9 +606,11 @@ public:
|
||||
* @param[in] package Transaction package being evaluated for acceptance
|
||||
* 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.
|
||||
* @param[out] errString Populated with error reason if a limit is hit.
|
||||
*/
|
||||
bool CheckPackageLimits(const Package& package,
|
||||
int64_t total_vsize,
|
||||
std::string &errString) const EXCLUSIVE_LOCKS_REQUIRED(cs);
|
||||
|
||||
/** Populate setDescendants with all in-mempool descendants of hash.
|
||||
|
||||
Reference in New Issue
Block a user