[wallet] Rename 'decode' argument in gettransaction method to 'verbose'

This makes the RPC method consistent with other RPC methods that have a
'verbose' option.

Change the name of the return object from 'decoded' to details.

Update help text.
This commit is contained in:
John Newbery
2019-09-13 22:31:11 +03:00
parent fb4f5beb6e
commit 7dee8f4808
4 changed files with 14 additions and 14 deletions

View File

@@ -1,3 +1,3 @@
RPC changes
-----------
The `gettransaction` RPC now accepts a third (boolean) argument `decode`. If set to `true`, a new `decoded` field will be added to the response containing the decoded transaction.
The `gettransaction` RPC now accepts a third (boolean) argument `verbose`. If set to `true`, a new `details` field will be added to the response containing additional transaction details.