MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / GetDestValues

Method GetDestValues

src/wallet/wallet.cpp:3940–3952  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3938}
3939
3940std::vector<std::string> CWallet::GetDestValues(const std::string& prefix) const
3941{
3942 LOCK(cs_wallet);
3943 std::vector<std::string> values;
3944 for (const auto& address : mapAddressBook) {
3945 for (const auto& data : address.second.destdata) {
3946 if (!data.first.compare(0, prefix.size(), prefix)) {
3947 values.emplace_back(data.second);
3948 }
3949 }
3950 }
3951 return values;
3952}
3953
3954void CWallet::MarkPreSplitKeys()
3955{

Callers 2

BOOST_AUTO_TEST_CASEFunction · 0.80
getDestValuesMethod · 0.80

Calls 2

compareMethod · 0.80
sizeMethod · 0.45

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64