2

calling getaccountaddress method on an address associated with the default account return "" the name of the default account. The problem is calling getaccountaddress on foreign address that doesn't exist in the local wallet will return "" !

Shouldn't this method in the last case return an error or something ?

i think the solution here is to call validateaddress method to check this address ismine or not.

1
  • 1
    Perhaps you should file a bug report. Commented Sep 14, 2014 at 1:39

1 Answer 1

1

You can't do that. The client only keeps indexes of the balances of addresses you own. There is no ability to query the balance of arbitrary addresses.

1
  • 2
    This is correct but completely irrelevant for the question. Commented Aug 15, 2014 at 5:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.