getaddressesbyaccount vs getaccountaddress #5447

issue philsong opened this issue on December 8, 2014
  1. philsong commented at 4:09 PM on December 8, 2014: contributor

    I found there are 2 functions: getaddressesbyaccount, getaccountaddress, for me, I call getaccountaddress then get one account name's bitcoin address, and then call getaddressesbyaccount(account) to get the address in next time, but when I change the address book name of that address, then getaddressesbyaccount(original name) return empty, so why design these 2 function? what's their design purpose? If I need a account to map in my own system, which one should I use?

  2. luke-jr commented at 6:57 PM on December 8, 2014: member

    Accounts and labels use the same storage, so using both together is basically incompatible. Accounts will be removed in the future, so best to do this external to Bitcoin Core.

  3. philsong commented at 12:44 AM on December 9, 2014: contributor

    thanks luke, is there any timeline to remove Accounts? We are using account system as our own account system, please indict, thanks a lot.

  4. philsong commented at 12:49 AM on December 9, 2014: contributor

    btw, any suggestion for current good bitcoin open source account system?

  5. laanwj commented at 1:08 PM on February 16, 2016: member

    The issue for tracking the removal of the account system would be #3816. Note that there doesn't seem to be any active work in this direction: there is no real replacement, the account system keeps on existing in a state of semi-unmaintained limbo.

  6. laanwj closed this on Feb 16, 2016

  7. 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-21 21:15 UTC

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