MCPcopy Create free account
hub / github.com/ElementsProject/elements / GetKeyPoolSize

Method GetKeyPoolSize

src/wallet/wallet.cpp:2467–2476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2465}
2466
2467unsigned int CWallet::GetKeyPoolSize() const
2468{
2469 AssertLockHeld(cs_wallet);
2470
2471 unsigned int count = 0;
2472 for (auto spk_man : GetActiveScriptPubKeyMans()) {
2473 count += spk_man->GetKeyPoolSize();
2474 }
2475 return count;
2476}
2477
2478bool CWallet::TopUpKeyPool(unsigned int kpSize)
2479{

Callers 5

WalletShowInfoFunction · 0.45
CreateMethod · 0.45
keypoolrefillFunction · 0.45
getwalletinfoFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected