Feature request: getnewaddress 'count' #9723

issue ghost opened this issue on February 8, 2017
  1. ghost commented at 3:02 PM on February 8, 2017: none

    Currently it is only possible to generate 1 address per command: getnewaddress 'account'

    I think it would be really useful to add an optional count in the command. Therefore, if someone wanted to generate e.g. 200 addresses, they could simply do so with a single call of this command.

    I'm also not sure why it still has 'account' as an argument considering that it's deprecated? Bitcoin Core 0.13.2

  2. unknown renamed this:
    Feature request: hetnewaddress 'count'
    Feature request: getnewaddress 'count'
    on Feb 8, 2017
  3. TheBlueMatt commented at 3:25 PM on February 8, 2017: member

    You should be able to batch repeated getnewaddress RPC calls, which I cant imagine would be all that much different in performance, though maybe some RPC libraries dont expose that feature?

  4. jonasschnelli commented at 4:14 PM on February 8, 2017: contributor

    I think its not worth to add a such feature. Just call getnewaddress in a loop. If performance is that critical, consider adding a patch locally.

    I'm also not sure why it still has 'account' as an argument considering that it's deprecated? Bitcoin Core 0.13.2

    Removing the accounts API is not a simple task. There are still users and organisation depending on the system. I first transition approach is #7729.

  5. fanquake added the label RPC/REST/ZMQ on Feb 8, 2017
  6. ghost commented at 4:57 PM on February 8, 2017: none

    I should have probably clarified that I was using the debug console, and not the RPC interface. I think that it would be a neat modification to have. However, if you feel that it's not worth the time then so be it.

    Removing the accounts API is not a simple task. There are still users and organisation depending on the system. I first transition approach is #7729.

    Initially 'deprecated' made me believe it was already removed. I've just looked into that, thanks.

  7. unknown closed this on Nov 14, 2017

  8. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me