Skip to content

Commit 07d9db7

Browse files
random-zebrafurszy
authored andcommitted
[Doc] Document more RPC changes
Github-Pull: #2114 Rebased-From: 08b50bb
1 parent 95992ac commit 07d9db7

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

doc/release-notes.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,19 @@ The 'label' API was introduced in v4.2.0 as a replacement for accounts.
128128
See the release notes from [v4.2.0](https://github.com/PIVX-Project/PIVX/blob/master/doc/release-notes/release-notes-4.2.0.md#label-and-account-apis-for-wallet) for a full description of the changes from the 'account' API to the 'label' API.
129129

130130

131+
GUI Changes
132+
-----------
133+
#### Shield Protocol
134+
Several views and widgets have been updated to support new features as described in the previous section.
135+
136+
#### RPC Console
137+
- Added autocompletion for the `help` command
138+
- Added warning/confirmation dialog before executing commands that expose private keys (`dumpwallet`, `dumpprivkey`, `exportsaplingkey`)
139+
140+
131141
RPC Changes
132142
------------------
143+
The RPC server now returns a JSON-RPC exception when receiving a request during the warm-up phase. The returned exception includes the current init message ("Loading sporks", "Loading block index", "Verifying blocks", etc...)
133144

134145
#### New RPC Commands
135146

@@ -458,6 +469,12 @@ Each new command is detailed below:
458469

459470
Several RPC commands have had changes to their input arguments or output fields since v4.3.0 to support new functionality. Below is a detailed list of changes to existing RPC commands:
460471

472+
* `dumpwallet`
473+
A new entry (`warning`) is added to the return object, explaining the risks connected with sharing the output of the command. Also the filename can no longer contain the strings `"bug"` and `"log"`.
474+
475+
* `delegatestake`/`rawdelegatestake`
476+
A new input parameter (`fUseShielded`) has been added, in order to delegate funds from Shield addresses.
477+
461478
* `getblock`
462479
A new JSON entry (`finalsaplingroot`) has been added to the return object. (string) The root of the Sapling commitment tree after applying this block.
463480

@@ -492,6 +509,12 @@ Several RPC commands have had changes to their input arguments or output fields
492509
* `getbudgetprojection`
493510
A typo in the JSON return fields has been corrected; `Alloted` and `TotalBudgetAlloted` have been renamed to `Allotted` and `TotalBudgetAllotted` respectively.
494511

512+
* `mnfinalbudget show`
513+
The `strName` key of the JSON object, representing a finalized budget in the output list, has now the format `"main" (Hash)`. The object no longer has the `"Hash"` entry.
514+
515+
* `sendtoaddress`/`sendmany`
516+
Shield addresses can be used as recipients. In this case the request is forwarded to `shieldsendmany` with first parameter set to `from_transparent`.
517+
495518
* `startmasternode`
496519
A new optional input argument (`reload_conf`) has been added to reload the client's `masternode.conf` file in real-time. This optional argument is only available when running `startmasternode` with "alias" being specified as the first argument.
497520

0 commit comments

Comments
 (0)