diff options
author | Zachary Michaels <mikezackles@gmail.com> | 2014-07-17 18:47:18 -0400 |
---|---|---|
committer | Zachary Michaels <mikezackles@gmail.com> | 2014-07-17 18:47:18 -0400 |
commit | e48cf2a3a9c361b3c338598c0a5992186fe496dd (patch) | |
tree | 0419ba66cd3786e2e56cfd1e4831ac88764ebbdb /src/cryptonote_core/tx_pool.cpp | |
parent | Don't check max tx size when adding to block (diff) | |
download | monero-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.cpp | 7 |
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) |