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

Method Size

src/wallet/spend.cpp:194–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194size_t CoinsResult::Size() const
195{
196 size_t size{0};
197 for (const auto& it : coins) {
198 size += it.second.size();
199 }
200 return size;
201}
202
203std::vector<COutput> CoinsResult::All() const
204{

Callers 14

AvailableCoinsFunction · 0.45
AutomaticCoinSelectionFunction · 0.45
spend.cppFile · 0.45
BOOST_FIXTURE_TEST_CASEFunction · 0.45
BOOST_FIXTURE_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
FUZZ_TARGETFunction · 0.45
FillAddrmanFunction · 0.45
addrman.cppFile · 0.45
CheckMethod · 0.45
FUZZ_TARGETFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by 8

BOOST_FIXTURE_TEST_CASEFunction · 0.36
BOOST_FIXTURE_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
FUZZ_TARGETFunction · 0.36
FillAddrmanFunction · 0.36
CheckMethod · 0.36
FUZZ_TARGETFunction · 0.36