I am developing a program that monitors the transaction.
The first question is that how I know there is a new transcation? I can consider the command ListTranscation. However, there is a bit issue about this command I post in another thread. In short, I can't list transaction from all account by NOT provide account.
Even if it works for me. The API says:
listtransactions [account] [count=10] [from=0] Returns up to [count] most recent transactions skipping the first [from] transactions for account [account]. If [account] not provided will return recent transaction from all accounts.
It returns up to [count] most recent transaction. How do I know how many transaction is new after I read last time? If I set count as 10, but there is 11 new transactions if I get busy, then I miss one. So I have to set count parameter an unreachable number, say 10000, and check it every second to make sure I never miss one transaction?
Or is there an alternative way to check new transaction?
In this forum section these sort of questions sometimes don't reach the right audience. If you don't get a good answer (or if you don't get out of the newbie status), you can always try to ask it at the
Bitcoin Q&A