mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-24 06:07:46 +00:00
Remove second tx size check
This commit is contained in:
parent
23c914ccfe
commit
e48cf2a3a9
1 changed files with 0 additions and 7 deletions
|
@ -426,13 +426,6 @@ namespace cryptonote
|
||||||
if ( (total_size + tx.second.blob_size) > CRYPTONOTE_GETBLOCKTEMPLATE_MAX_BLOCK_SIZE )
|
if ( (total_size + tx.second.blob_size) > CRYPTONOTE_GETBLOCKTEMPLATE_MAX_BLOCK_SIZE )
|
||||||
continue;
|
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,
|
// If we've exceeded the penalty free size,
|
||||||
// stop including more tx
|
// stop including more tx
|
||||||
if (total_size > median_size)
|
if (total_size > median_size)
|
||||||
|
|
Loading…
Reference in a new issue