merge dev; tests broken, need to use wallet for block rewards

This commit is contained in:
Scott Sadler
2018-05-29 19:04:47 -03:00
74 changed files with 557 additions and 340 deletions

View File

@@ -466,6 +466,7 @@ bool CCoinsViewCache::HaveInputs(const CTransaction& tx) const
const COutPoint &prevout = tx.vin[i].prevout;
const CCoins* coins = AccessCoins(prevout.hash);
if (!coins || !coins->IsAvailable(prevout.n)) {
fprintf(stderr,"HaveInputs missing input %s/v%d\n",prevout.hash.ToString().c_str(),prevout.n);
return false;
}
}