aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/tx_pool.cpp
diff options
context:
space:
mode:
authorZachary Michaels <mikezackles@gmail.com>2014-07-17 18:47:18 -0400
committerZachary Michaels <mikezackles@gmail.com>2014-07-17 18:47:18 -0400
commite48cf2a3a9c361b3c338598c0a5992186fe496dd (patch)
tree0419ba66cd3786e2e56cfd1e4831ac88764ebbdb /src/cryptonote_core/tx_pool.cpp
parentDon't check max tx size when adding to block (diff)
downloadmonero-e48cf2a3a9c361b3c338598c0a5992186fe496dd.tar.xz
Remove second tx size check
Diffstat (limited to 'src/cryptonote_core/tx_pool.cpp')
-rw-r--r--src/cryptonote_core/tx_pool.cpp7
1 files changed, 0 insertions, 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)