It would be great to have a JSON-RPC method for listing new transactions that are newer than a particular transaction id. This would enable developpers to watch new transactions easily, by just keeping track of the latest known txid and polling that method at the rate of their choice.
A possible way to do it would be to extend listttransactions so that it accepts an optional
txid argument:
listtransactions
[count=10] [txid]
If
txid is given, don't show it, nor any transaction older than it.
(As a sidenote, maybe listtransactions, with or without txid, should accept filtering by transaction category: generate, send, receive, move.)
I'm sorry I can't propose any patch here, as I can't do any decent C++.