Description
(Porting this issue from Ripple's internal Jira ticket RIPD-1569)
Description
The account_tx method has an "old" mode that's been deprecated since at least 2013, with a "temporary switch" to use the old mode if people provide certain parameters (offset, count, descending, ledger_max, or ledger_min) in the request, and the new mode otherwise.
I'd say it's about time to remove the old mode.
Blocker
Per @scottschurr:
I made a run at this fix, but there's a complication. The command-line version of the account_tx command relies on the deprecated form of the RPC command. Until we come up with a new version of the command line (and figure out a transition process between the old and new forms) we're stuck with the deprecated version of the RPC command.
From a development perspective, the simplest possible change to the command line form would be to simply remove it and tell folks they must use the json command-line command to do account_tx queries. This approach requires no transition process and requires no new code.
I'm unsure just how user hostile that approach would be, however.
I welcome other suggestions.