| 2465 | } |
| 2466 | |
| 2467 | unsigned 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 | |
| 2478 | bool CWallet::TopUpKeyPool(unsigned int kpSize) |
| 2479 | { |
no outgoing calls
no test coverage detected