myIsutxo_spentinmempool

This commit is contained in:
jl777
2018-08-02 01:10:04 -11:00
parent f2e6ae7294
commit 079be98a2e
5 changed files with 29 additions and 15 deletions

View File

@@ -1603,7 +1603,7 @@ bool GetAddressUnspent(uint160 addressHash, int type,
return true;
}
uint64_t myGettxout(uint256 hash,int32_t n)
/*uint64_t myGettxout(uint256 hash,int32_t n)
{
CCoins coins;
LOCK2(cs_main,mempool.cs);
@@ -1613,7 +1613,7 @@ uint64_t myGettxout(uint256 hash,int32_t n)
if ( n < 0 || (unsigned int)n >= coins.vout.size() || coins.vout[n].IsNull() )
return(0);
else return(coins.vout[n].nValue);
}
}*/
bool myAddtomempool(CTransaction &tx)
{