Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ HaveCoin
Method
HaveCoin
src/txdb.cpp:96–98 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
94
}
95
96
bool CCoinsViewDB::HaveCoin(const COutPoint &outpoint) const {
97
return m_db->Exists(CoinEntry(&outpoint));
98
}
99
100
// ELEMENTS:
101
bool CCoinsViewDB::IsPeginSpent(const std::pair<uint256, COutPoint> &outpoint) const {
Callers
10
check
Method · 0.45
PreChecks
Method · 0.45
AcceptPackage
Method · 0.45
ApplyTxInUndo
Function · 0.45
ConnectBlock
Method · 0.45
SimulationTest
Function · 0.45
BOOST_AUTO_TEST_CASE
Function · 0.45
BOOST_FIXTURE_TEST_CASE
Function · 0.45
FUZZ_TARGET_INIT
Function · 0.45
FUZZ_TARGET_INIT
Function · 0.45
Calls
2
CoinEntry
Class · 0.85
Exists
Method · 0.45
Tested by
5
SimulationTest
Function · 0.36
BOOST_AUTO_TEST_CASE
Function · 0.36
BOOST_FIXTURE_TEST_CASE
Function · 0.36
FUZZ_TARGET_INIT
Function · 0.36
FUZZ_TARGET_INIT
Function · 0.36