X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fmain.h;h=70d83b90e0648d00677c141b34542647dd070443;hb=79fc752b6104b796aa5e0a8a8b6d2822fb0f3299;hp=e400bd96abe3f9760c029f2df0e3cfdf963cf300;hpb=fdcafa35359b3ad9af79d2367a1884d01607fb84;p=novacoin.git diff --git a/src/main.h b/src/main.h index e400bd9..70d83b9 100644 --- a/src/main.h +++ b/src/main.h @@ -578,9 +578,11 @@ public: // To limit dust spam, require MIN_TX_FEE/MIN_RELAY_TX_FEE if any output is less than 0.01 if (nMinFee < nBaseFee) + { BOOST_FOREACH(const CTxOut& txout, vout) if (txout.nValue < CENT) nMinFee = nBaseFee; + } // Raise the price as the block approaches full if (nBlockSize != 1 && nNewBlockSize >= MAX_BLOCK_SIZE_GEN/2)