Updates 4 odd RPC commands to match other RPC commands which tend to follow a <VERB><OBJECT> naming scheme.
The old names still work as aliases of the new names, but don't show up in the help lists.
Updates 4 odd RPC commands to match other RPC commands which tend to follow a <VERB><OBJECT> naming scheme.
The old names still work as aliases of the new names, but don't show up in the help lists.
I like the old, deprecated names much better than the new ones ;p
IMHO, we should define, what deprecated means in that case and when it is considered safe to remove old naming conventions :). Perhaps add a date or version, when this is the case.
ENOCARE/ACK.
(I don't really care, changes looks fine).
Have we really arrived at the point that we deprecate commands (and thus break backwards compatibility) for aesthetic reasons?
This means we'll end up with duplicate commands for a long time, make it harder for people to google the commands. And communicating this to users is another problem, as we don't have an official API documentation to say "this will be deprecated in version XXX".
It's not worth the trouble.
I just wanted to ask :), your points indeed are clear and valid! As this pull renames without removing the old names that problem doesn't rise.
I think the only RPC makeover worth doing is a much more fundamental one, where we normalize commands, separate them clearly into modules (as already reflected in the source code... but who would now guess that gettransaction is a wallet RPC, and getrawtransaction a blockchain one?), normalize the data types used (amount as strings/satoshis/floats, difficulty as targethash/hexbits/float), perhaps add support for multiple wallets, make the error codes consistent, ...
That is much more work though, and probably means some RPC v2 mechanism like was already proposed before. About this... -ENOCARE
@laanwj : "setaccount" used to be called "setlabel", so there is a precedent for breaking compatibility (after maintaing the old names for a while) just for aesthetic reasons.
Consensus seems to be "don't care / meh / not worth the trouble"... closing.
Perhaps put this on a list for a bigger RPC revamp, or right before RPC is locked in stone for version 1.0 (whenever that is).