Post
Topic
Board Development & Technical Discussion
Re: JSON-RPC method idea: list transactions newer than a given txid
by
davux
on 09/12/2010, 19:23:52 UTC
Gavin, could listtransactions have an option to list transactions for all accounts?

That would be great!

I'm not sure what the interface could be, maybe:
listtransactions [count]

It would be hard to do that from the command line though.

What about the empty string? It's easy to use in a programmatic context (e.g. in Python), and also in a shell context:
Code:
bitcoind listtransactions ''

Moreover it would be consistent with the current API, since the empty string already means "any account", for example when used with "sendfrom" (and probably in other situations). Let's not use several special cases that are special in subtle, different ways. The simpler, the better.