Pages:
Author

Topic: JSON-RPC method idea: list transactions newer than a given txid - page 2. (Read 6876 times)

legendary
Activity: 1540
Merit: 1002
+1

I haven't got my hands dirty there yet, and would rather spend what time I find to do import/export of keys, but that is something that would help some of my scripts a lot.
sr. member
Activity: 288
Merit: 263
Firstbits.com/1davux
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:
Code:
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++.
Pages:
Jump to: