diff options
author | Zachary Michaels <mikezackles@gmail.com> | 2014-07-17 17:11:21 -0400 |
---|---|---|
committer | Zachary Michaels <mikezackles@gmail.com> | 2014-07-17 17:11:21 -0400 |
commit | 23c914ccfe471d3c46b5a294f14acc9db5ec4a92 (patch) | |
tree | aaed8df93e23e5f984da70174a2d8f3f37f1716e /src | |
parent | Don't check for min fee when adding tx to block (diff) | |
download | monero-23c914ccfe471d3c46b5a294f14acc9db5ec4a92.tar.xz |
Don't check max tx size when adding to block
This is now done when adding transactions to the pool.
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptonote_core/tx_pool.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/cryptonote_core/tx_pool.cpp b/src/cryptonote_core/tx_pool.cpp index 38f7f29cd..5f2bc1571 100644 --- a/src/cryptonote_core/tx_pool.cpp +++ b/src/cryptonote_core/tx_pool.cpp @@ -418,14 +418,6 @@ namespace cryptonote if (max_total_size < total_size + tx.second.blob_size) continue; - // Skip transactions that are too large - // TODO: Correct upper_transactions_size_limit - // such that it is based on median block size; - // We need to make a similar patch for - // wallet2.h - if (tx.second.blob_size > upper_transaction_size_limit) - continue; - // If adding this tx will make the block size // greater than CRYPTONOTE_GETBLOCKTEMPLATE_MAX // _BLOCK_SIZE bytes, reject the tx; this will |