Author

Topic: Checking addresses for deposits (Read 585 times)

legendary
Activity: 1386
Merit: 1000
KawBet.com - Anonymous Bitcoin Casino & Sportsbook
November 08, 2015, 12:26:43 PM
#4
Alright, thank you anyway.

I've found a solution for my problem. Using walletnotify, when a transaction hits up, I'll log it at 1 confirmation and make sure that the category is "receive" and the account label as well. This should be a fix for my problems. I could first check for confirmations, category (whether sent/receive) and then finally the account label itself.
Very cool way to Spam the forum.  Clever.  Good luck with your new product.
hero member
Activity: 686
Merit: 500
November 08, 2015, 03:59:02 AM
#3
Alright, thank you anyway.

I've found a solution for my problem. Using walletnotify, when a transaction hits up, I'll log it at 1 confirmation and make sure that the category is "receive" and the account label as well. This should be a fix for my problems. I could first check for confirmations, category (whether sent/receive) and then finally the account label itself.
hero member
Activity: 686
Merit: 500
November 08, 2015, 03:15:16 AM
#2
Also, I'd also like to know that:

1. How would I get listunspent for a particular label?
2. How would I get listunpsent for all labels, but excluding one particular label?

Thanks.
hero member
Activity: 686
Merit: 500
November 08, 2015, 03:09:20 AM
#1
Hello there!

I am making a small Bitcoin wallet for some purposes and I'd like to know an efficient way for checking the account addresses of my users. All the Bitcoin addresses would belong to a single wallet, and will be easily accessible using RPC. By surfing around, I found that "listunspent" would help me out, not sure how to implement it.

Is there anyone here to help me out with it?

1. A daemon would be running constantly to check deposits.
2. Since, it's stupidity to check every address for balance update, I am not planning to do that.
3. Instead, listunspent would help me out.

Is it simple that new transactions would popup while executing the listunspent command and with details, etc. in JSON format and then I can parse it and do my work by storing them and making sure that I don't double log them. Is that how it works? I am new to Bitcoind so your help would be of great value. Thank you so much for reading.
Jump to: