mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
refactor: update MAX_DISCONNECTED_TX_POOL from kb to bytes
This commit is contained in:
@@ -14,8 +14,8 @@
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
/** Maximum kilobytes for transactions to store for processing during reorg */
|
||||
static const unsigned int MAX_DISCONNECTED_TX_POOL_SIZE = 20'000;
|
||||
/** Maximum bytes for transactions to store for processing during reorg */
|
||||
static const unsigned int MAX_DISCONNECTED_TX_POOL_BYTES{20'000'000};
|
||||
/**
|
||||
* DisconnectedBlockTransactions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user