| 2476 | } |
| 2477 | |
| 2478 | bool 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 |
| 2489 | bool CWallet::GetOnlinePakKey(CPubKey& online_pubkey, std::string& error) |