From e48cf2a3a9c361b3c338598c0a5992186fe496dd Mon Sep 17 00:00:00 2001 From: Zachary Michaels Date: Thu, 17 Jul 2014 18:47:18 -0400 Subject: [PATCH] Remove second tx size check --- src/cryptonote_core/tx_pool.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/cryptonote_core/tx_pool.cpp b/src/cryptonote_core/tx_pool.cpp index 5f2bc1571..b72562b89 100644 --- a/src/cryptonote_core/tx_pool.cpp +++ b/src/cryptonote_core/tx_pool.cpp @@ -426,13 +426,6 @@ namespace cryptonote if ( (total_size + tx.second.blob_size) > CRYPTONOTE_GETBLOCKTEMPLATE_MAX_BLOCK_SIZE ) continue; - // If adding this tx will make the block size - // greater than 130% of the median, reject the - // tx; this will keep down largely punitive tx - // from being included - if ( (total_size + tx.second.blob_size) > ((130 * median_size) / 100) ) - continue; - // If we've exceeded the penalty free size, // stop including more tx if (total_size > median_size)