Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitcoin/bitcoin
/ HaveCoin
Method
HaveCoin
src/txdb.cpp:102–105 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
100
}
101
102
bool CCoinsViewDB::HaveCoin(const COutPoint& outpoint) const
103
{
104
return m_db->Exists(CoinEntry(&outpoint));
105
}
106
107
uint256 CCoinsViewDB::GetBestBlock() const {
108
uint256 hashBestChain;
Callers
12
check
Method · 0.45
PreChecks
Method · 0.45
ApplyTxInUndo
Function · 0.45
ConnectBlock
Method · 0.45
BOOST_AUTO_TEST_CASE
Function · 0.45
SimulationTest
Method · 0.45
BOOST_FIXTURE_TEST_CASE
Function · 0.45
TestFlushBehavior
Method · 0.45
SetupSnapshot
Method · 0.45
TestCoinsView
Function · 0.45
utxo_snapshot_fuzz
Function · 0.45
FUZZ_TARGET
Function · 0.45
Calls
2
CoinEntry
Class · 0.70
Exists
Method · 0.45
Tested by
8
BOOST_AUTO_TEST_CASE
Function · 0.36
SimulationTest
Method · 0.36
BOOST_FIXTURE_TEST_CASE
Function · 0.36
TestFlushBehavior
Method · 0.36
SetupSnapshot
Method · 0.36
TestCoinsView
Function · 0.36
utxo_snapshot_fuzz
Function · 0.36
FUZZ_TARGET
Function · 0.36