Author

Topic: Problem with listreceivedbyaddress (Read 2389 times)

sr. member
Activity: 240
Merit: 250
July 10, 2011, 09:48:30 AM
#3
You can check if it is yours with: validateaddress 'bitcoinaddress'

      Checks that 'bitcoinaddress' looks like a proper bitcoin address. Returns an object containing:

          "isvalid" : true or false.
          "ismine"  : true if the address is in the server's wallet.
          "address" : bitcoinaddress.

          *note: ismine and address are only returned if the address is valid.

legendary
Activity: 2053
Merit: 1356
aka tonikt
June 07, 2011, 09:17:40 AM
#2
I realised that "listreceivedbyaddress x true" (but also "getaddressesbyaccount") basically lists the entire address book; both receiving and sending addresses.
Is this some kind of bug or is there a reasoning behind it?
I have 0.3.21
legendary
Activity: 2053
Merit: 1356
aka tonikt
June 07, 2011, 09:01:02 AM
#1
When I do "listreceivedbyaddress 1 true" it gives me back not only my receiving addresses, but also an address to which I sent some money (obviously not mine).

My problem is that I use this list as a pool from which I pick up addresses and give them to users so they could send money to my wallet.
Is there a way to filter out the receiving addresses which are not pointing to my wallet?
Jump to: