diff options
author | luigi1111 <luigi1111w@gmail.com> | 2022-08-09 17:43:32 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2022-08-09 17:43:32 -0500 |
commit | b9e8504cfb0cc539abf1d27057ff567df86d2e37 (patch) | |
tree | d5ca6c5dffda1c31f968d71e6205323f87b77197 /src/cryptonote_core/tx_pool.h | |
parent | Merge pull request #8463 (diff) | |
parent | continue pool pruning even if a tx can't be found (diff) | |
download | monero-b9e8504cfb0cc539abf1d27057ff567df86d2e37.tar.xz |
Merge pull request #8467
fac7c43 continue pool pruning even if a tx can't be found (j-berman)
Diffstat (limited to 'src/cryptonote_core/tx_pool.h')
-rw-r--r-- | src/cryptonote_core/tx_pool.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cryptonote_core/tx_pool.h b/src/cryptonote_core/tx_pool.h index accd8c863..45623fd14 100644 --- a/src/cryptonote_core/tx_pool.h +++ b/src/cryptonote_core/tx_pool.h @@ -412,6 +412,13 @@ namespace cryptonote */ void set_txpool_max_weight(size_t bytes); + /** + * @brief reduce the cumulative txpool weight by the weight provided + * + * @param weight the weight to reduce the total txpool weight by + */ + void reduce_txpool_weight(size_t weight); + #define CURRENT_MEMPOOL_ARCHIVE_VER 11 #define CURRENT_MEMPOOL_TX_DETAILS_ARCHIVE_VER 13 |