MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / SetBackend

Method SetBackend

src/coins.cpp:27–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25uint256 CCoinsViewBacked::GetBestBlock() const { return base->GetBestBlock(); }
26std::vector<uint256> CCoinsViewBacked::GetHeadBlocks() const { return base->GetHeadBlocks(); }
27void CCoinsViewBacked::SetBackend(CCoinsView &viewIn) { base = &viewIn; }
28bool CCoinsViewBacked::BatchWrite(CCoinsMap &mapCoins, const uint256 &hashBlock) { return base->BatchWrite(mapCoins, hashBlock); }
29CCoinsViewCursor *CCoinsViewBacked::Cursor() const { return base->Cursor(); }
30size_t CCoinsViewBacked::EstimateSize() const { return base->EstimateSize(); }

Callers 3

AcceptToMemoryPoolWorkerFunction · 0.80
combinerawtransactionFunction · 0.80
SignTransactionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected