MCPcopy Create free account
hub / github.com/ElementsProject/elements / SetBackend

Method SetBackend

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

Source from the content-addressed store, hash-verified

30uint256 CCoinsViewBacked::GetBestBlock() const { return base->GetBestBlock(); }
31std::vector<uint256> CCoinsViewBacked::GetHeadBlocks() const { return base->GetHeadBlocks(); }
32void CCoinsViewBacked::SetBackend(CCoinsView &viewIn) { base = &viewIn; }
33bool CCoinsViewBacked::BatchWrite(CCoinsMap &mapCoins, const uint256 &hashBlock) { return base->BatchWrite(mapCoins, hashBlock); }
34std::unique_ptr<CCoinsViewCursor> CCoinsViewBacked::Cursor() const { return base->Cursor(); }
35size_t CCoinsViewBacked::EstimateSize() const { return base->EstimateSize(); }

Callers 5

PreChecksMethod · 0.80
AcceptPackageMethod · 0.80
FUZZ_TARGET_INITFunction · 0.80
combinerawtransactionFunction · 0.80
utxoupdatepsbtFunction · 0.80

Calls

no outgoing calls

Tested by 1

FUZZ_TARGET_INITFunction · 0.64