MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / IsAddressPreviouslySpent

Method IsAddressPreviouslySpent

src/wallet/wallet.cpp:2895–2899  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2893}
2894
2895bool CWallet::IsAddressPreviouslySpent(const CTxDestination& dest) const
2896{
2897 if (auto* data{common::FindKey(m_address_book, dest)}) return data->previously_spent;
2898 return false;
2899}
2900
2901std::vector<std::string> CWallet::GetAddressReceiveRequests() const
2902{

Callers 1

BOOST_FIXTURE_TEST_CASEFunction · 0.80

Calls 1

FindKeyFunction · 0.85

Tested by 1

BOOST_FIXTURE_TEST_CASEFunction · 0.64