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

Method IsPeginSpent

src/test/pegin_spent_tests.cpp:30–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28public:
29 bool IsPeginSpentCalled;
30 bool IsPeginSpent(const std::pair<uint256, COutPoint> &outpoint) const override {
31 const_cast<bool&>(IsPeginSpentCalled) = true;
32 return CCoinsView::IsPeginSpent(outpoint);
33 }
34
35 CCoinsMap mapCoinsWritten;
36 bool BatchWrite(CCoinsMap &mapCoins, const uint256 &hashBlock) override {

Callers 2

BOOST_AUTO_TEST_CASEFunction · 0.45
CheckTxInputsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected