Bitcoin Forum
March 19, 2024, 02:00:10 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Problem with listreceivedbyaddress  (Read 2374 times)
piotr_n (OP)
Legendary
*
Offline Offline

Activity: 2053
Merit: 1344


aka tonikt


View Profile WWW
June 07, 2011, 02:01:02 PM
 #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?

Check out gocoin - my original project of full bitcoin node & cold wallet written in Go.
PGP fingerprint: AB9E A551 E262 A87A 13BB  9059 1BE7 B545 CDF3 FD0E
1710856810
Hero Member
*
Offline Offline

Posts: 1710856810

View Profile Personal Message (Offline)

Ignore
1710856810
Reply with quote  #2

1710856810
Report to moderator
1710856810
Hero Member
*
Offline Offline

Posts: 1710856810

View Profile Personal Message (Offline)

Ignore
1710856810
Reply with quote  #2

1710856810
Report to moderator
1710856810
Hero Member
*
Offline Offline

Posts: 1710856810

View Profile Personal Message (Offline)

Ignore
1710856810
Reply with quote  #2

1710856810
Report to moderator
In order to get the maximum amount of activity points possible, you just need to post once per day on average. Skipping days is OK as long as you maintain the average.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1710856810
Hero Member
*
Offline Offline

Posts: 1710856810

View Profile Personal Message (Offline)

Ignore
1710856810
Reply with quote  #2

1710856810
Report to moderator
1710856810
Hero Member
*
Offline Offline

Posts: 1710856810

View Profile Personal Message (Offline)

Ignore
1710856810
Reply with quote  #2

1710856810
Report to moderator
1710856810
Hero Member
*
Offline Offline

Posts: 1710856810

View Profile Personal Message (Offline)

Ignore
1710856810
Reply with quote  #2

1710856810
Report to moderator
piotr_n (OP)
Legendary
*
Offline Offline

Activity: 2053
Merit: 1344


aka tonikt


View Profile WWW
June 07, 2011, 02:17:40 PM
Last edit: June 07, 2011, 02:37:06 PM by janosik
 #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

Check out gocoin - my original project of full bitcoin node & cold wallet written in Go.
PGP fingerprint: AB9E A551 E262 A87A 13BB  9059 1BE7 B545 CDF3 FD0E
Bitcoinreminder.com
Sr. Member
****
Offline Offline

Activity: 240
Merit: 250


View Profile
July 10, 2011, 02:48:30 PM
 #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.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!