Title: Problem with listreceivedbyaddress Post by: piotr_n on June 07, 2011, 02:01:02 PM 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? Title: Re: Problem with listreceivedbyaddress Post by: piotr_n on June 07, 2011, 02:17:40 PM 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 Title: Re: Problem with listreceivedbyaddress Post by: Bitcoinreminder.com on July 10, 2011, 02:48:30 PM 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. |