Author

Topic: BitcoinD -- Hooking into incoming connections? (Read 2743 times)

full member
Activity: 238
Merit: 109
December 05, 2013, 06:24:15 AM
#3
I don't know if I can answer your question directly, but I can point you towards a StackOverflow which can point you in the right direction. Too tired to read documentation right now.

http://bitcoin.stackexchange.com/questions/6132/how-to-know-when-a-payment-has-been-received-by-bitcoind

Fair enough, so the only way is to call a program which then notifies my program that it's got a payment? No internal method?

That's a shame, oh well, I guess it'll have to do. Thanks.
hero member
Activity: 532
Merit: 500
I don't know if I can answer your question directly, but I can point you towards a StackOverflow which can point you in the right direction. Too tired to read documentation right now.

http://bitcoin.stackexchange.com/questions/6132/how-to-know-when-a-payment-has-been-received-by-bitcoind
full member
Activity: 238
Merit: 109
Hi, I'm developing a very small (private, which, defeats the purpose) bitcoin tumbler as my first bitcoin related project, just to see what bitcoin development entails (Using bitcoind, no fancy recoding of the entire network interface), and, I'm having a small issue.

I have my program generate a new address everytime anyone goes to the 'deposit' link, and, I have a unique wallet per user (Based on their BTC address), so, all is dandy. Now, my only issue is, when a user sends me the payment the only method I can seem to think of that checks for payments is going through ALL my addresses on ALL my wallets and checking their balance, which, is a huge pain in the ass (And, what I'd consider, a waste of processing power).

Is there anyway to hook incoming payments to my (I.E. Addresses in all my wallets) addresses with the bitcoin daemon? Even if it doesn't tell me which address, just 'a' address, it'd be a whole lot better than having a while loop checking every five seconds.

Thanks,
Automatic.
Jump to: