wallet::CWallet::CanGetAddresses

Returns true if the wallet can give out new addresses. This means it has keys in the keypool or can generate new keys

Synopsis

Declared in <wallet/wallet.h>

bool
CanGetAddresses(bool internal = false) const;

Return Value

true if the wallet can hand out new addresses.

Parameters

NameDescription
internalWhether to check the internal (change) keypool.