X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fmain.h;h=b0f713e876e3715e176a961786e63b90efa539ee;hb=8460185dec74383b1e49500683cfc7aa9ceba554;hp=e6f60a6a8db0d8c2afdd3eff26a845b311e8f20b;hpb=678a319888f88cf5bae2312afc3ba73533c0f901;p=novacoin.git diff --git a/src/main.h b/src/main.h index e6f60a6..b0f713e 100644 --- a/src/main.h +++ b/src/main.h @@ -572,9 +572,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)