Skip to content

getaddressesbyaccount vs getaccountaddress #5447

@philsong

Description

@philsong

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions