BitcoinPrivate-legacy/qa
Wladimir J. van der Laan 6c37f7fd78 `getrawchangeaddress` should fail when keypool exhausted
An user on IRC reported an issue where `getrawchangeaddress`
keeps returning a single address when the keypool is exhausted.
In my opinion this is strange behaviour.

- Change CReserveKey to fail when running out of keys in the keypool.
- Make `getrawchangeaddress` return RPC_WALLET_KEYPOOL_RAN_OUT when
  unable to create an address.
- Add a Python RPC test for checking the keypool behaviour in combination
  with encrypted wallets.
2014-07-11 15:24:29 +02:00
..
pull-tester stop bitcoind/bitcoin-cli processes that might have been left running 2014-05-02 12:37:20 -04:00
rpc-tests `getrawchangeaddress` should fail when keypool exhausted 2014-07-11 15:24:29 +02:00