Add header file that got lost in the shuffle
This commit is contained in:
@@ -526,10 +526,10 @@ unsigned int CCoinsViewCache::GetCacheSize() const {
|
||||
const CTxOut &CCoinsViewCache::GetOutputFor(const CTxIn& input) const
|
||||
{
|
||||
const CCoins* coins = AccessCoins(input.prevout.hash);
|
||||
fprintf(stderr, "GetOutputFor: input=%s", input.ToString().c_str());
|
||||
fprintf(stderr, "GetOutputFor: prevout n=%d,txid=%s\n", input.prevout.n, input.prevout.hash.ToString().c_str());
|
||||
//fprintf(stderr, "GetOutputFor: input=%s", input.ToString().c_str());
|
||||
//fprintf(stderr, "GetOutputFor: prevout n=%d,txid=%s\n", input.prevout.n, input.prevout.hash.ToString().c_str());
|
||||
assert(coins && coins->IsAvailable(input.prevout.n));
|
||||
fprintf(stderr, "GetOutputFor: IsAvailable\n");
|
||||
//fprintf(stderr, "GetOutputFor: IsAvailable\n");
|
||||
return coins->vout[input.prevout.n];
|
||||
}
|
||||
|
||||
|
||||
@@ -240,7 +240,7 @@ public:
|
||||
bool IsAvailable(unsigned int nPos) const {
|
||||
//fprintf(stderr,"IsAvailable(nPos=%d), vout.size()=%li, vout[%d].IsNull()=%d", nPos, vout.size(), nPos, vout[nPos].IsNull() );
|
||||
//fprintf(stderr,"IsAvailable(nPos=%d), vout.size()=%li, vout[%d]=%d", nPos, vout.size(), nPos, vout[nPos] );
|
||||
fprintf(stderr,"IsAvailable(nPos=%d), vout.size()=%li", nPos, vout.size() );
|
||||
//fprintf(stderr,"IsAvailable(nPos=%d), vout.size()=%li", nPos, vout.size() );
|
||||
return (nPos < vout.size() && !vout[nPos].IsNull());
|
||||
}
|
||||
|
||||
@@ -569,9 +569,7 @@ private:
|
||||
CCoinsMap::iterator FetchCoins(const uint256 &txid);
|
||||
CCoinsMap::const_iterator FetchCoins(const uint256 &txid) const;
|
||||
|
||||
/**
|
||||
* By making the copy constructor private, we prevent accidentally using it when one intends to create a cache on top of a base cache.
|
||||
*/
|
||||
// By making the copy constructor private, we prevent accidentally using it when one intends to create a cache on top of a base cache.
|
||||
CCoinsViewCache(const CCoinsViewCache &);
|
||||
|
||||
//! Generalized interface for popping anchors
|
||||
|
||||
2102
src/hush_bitcoind.h
Normal file
2102
src/hush_bitcoind.h
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user