refactor: update MAX_DISCONNECTED_TX_POOL from kb to bytes

This commit is contained in:
ismaelsadeeq
2023-09-25 13:00:52 +01:00
parent 5b4478418b
commit 81dfeddea7
4 changed files with 6 additions and 6 deletions

View File

@@ -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