Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: s2 on September 04, 2014, 11:30:42 PM



Title: Pay to contributors
Post by: s2 on September 04, 2014, 11:30:42 PM
Can anyone point to some script (ideally in nodejs or php via the RPC to bitcoind) that can read the addresses that have paid funds to a specific address?


Title: Re: Pay to contributors
Post by: andytoshi on September 04, 2014, 11:33:13 PM
Addresses don't pay funds. They are static identifiers for transaction outpoints, more akin to an invoice number than anything actively involved in transactions. There is a wiki article by iwilcox (https://en.bitcoin.it/wiki/From_address) on this subject.


Title: Re: Pay to contributors
Post by: s2 on September 05, 2014, 10:19:58 AM
Wow, thanks!  I never considered it bad practice refunding due to these issues.
Still it seems technically possible for the most common transaction but yes I'll start considering alternatives.
Thanks again.



Title: Re: Pay to contributors
Post by: andytoshi on September 05, 2014, 12:11:29 PM
If you try refunding transactions given only the information available in your receiving transactions, you will be wrong a significant amount of the time. You cannot tell "the most common transactions" from others.


Title: Re: Pay to contributors
Post by: Sheldor333 on September 05, 2014, 10:45:50 PM
If there isn't one I am sure you can find someone to make you one if you pay them.


Title: Re: Pay to contributors
Post by: andytoshi on September 05, 2014, 11:00:39 PM
If there isn't one I am sure you can find someone to make you one if you pay them.
He cannot. As I have said twice now, it is not possible to do what he is asking.