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

Method TopUpKeyPool

src/wallet/wallet.cpp:2478–2486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2476}
2477
2478bool CWallet::TopUpKeyPool(unsigned int kpSize)
2479{
2480 LOCK(cs_wallet);
2481 bool res = true;
2482 for (auto spk_man : GetActiveScriptPubKeyMans()) {
2483 res &= spk_man->TopUp(kpSize);
2484 }
2485 return res;
2486}
2487
2488/// ELEMENTS: get PAK online key
2489bool CWallet::GetOnlinePakKey(CPubKey& online_pubkey, std::string& error)

Callers 10

WalletCreateFunction · 0.80
CreateMethod · 0.80
BOOST_FIXTURE_TEST_CASEFunction · 0.80
keypoolrefillFunction · 0.80
walletpassphraseFunction · 0.80
getpeginaddressFunction · 0.80
initpegoutwalletFunction · 0.80
createrawpeginFunction · 0.80
issueassetFunction · 0.80
reissueassetFunction · 0.80

Calls 1

TopUpMethod · 0.45

Tested by 1

BOOST_FIXTURE_TEST_CASEFunction · 0.64