Add spam prevention

This commit is contained in:
jl777
2018-07-30 09:25:51 -11:00
parent 03660ecce6
commit c2342f7b24
2 changed files with 4 additions and 0 deletions

View File

@@ -273,6 +273,8 @@ uint64_t AddRewardsInputs(CScript &scriptPubKey,int32_t fundsflag,struct CCcontr
{
txid = it->first.txhash;
vout = (int32_t)it->first.index;
if ( it->second.satoshis < 10000 )
continue;
fprintf(stderr,"(%s) %s/v%d %.8f\n",coinaddr,uint256_str(str,txid),vout,(double)it->second.satoshis/COIN);
for (j=0; j<mtx.vin.size(); j++)
if ( txid == mtx.vin[j].prevout.hash && vout == mtx.vin[j].prevout.n )