You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/release-notes.md
+49-24Lines changed: 49 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,6 @@ The `getwalletinfo` RPC method returns the name of the wallet used for the query
80
80
Note that while multi-wallet is now fully supported, the RPC multi-wallet interface should be considered unstable for version 6.0.0, and there may backwards-incompatible changes in future versions.
81
81
82
82
83
-
84
83
GUI changes
85
84
-----------
86
85
@@ -110,6 +109,7 @@ Results without keys can be queried using an integer in brackets.
110
109
example: getblock(getblockhash(0),true)[tx][0]
111
110
```
112
111
112
+
113
113
Support for JSON-RPC Named Arguments
114
114
------------------------------------
115
115
@@ -129,14 +129,11 @@ The order of arguments doesn't matter in this case. Named arguments are also use
129
129
The RPC server remains fully backwards compatible with positional arguments.
130
130
131
131
132
-
#### Allow to optional specify the directory for the blocks storage
133
-
134
-
A new init option flag '-blocksdir' will allow one to keep the blockfiles external from the data directory.
135
-
136
-
137
132
Low-level RPC changes
138
133
---------------------
139
134
135
+
### Query options for listunspent RPC
136
+
140
137
- The `listunspent` RPC now takes a `query_options` argument (see [PR #2317](https://github.com/PIVX-Project/PIVX/pull/2317)), which is a JSON object
141
138
containing one or more of the following members:
142
139
-`minimumAmount` - a number specifying the minimum value of each UTXO
@@ -151,12 +148,37 @@ Low-level RPC changes
151
148
152
149
- the `stop` RPC no longer accepts the (already deprecated, ignored, and undocumented) optional boolean argument `detach`.
153
150
151
+
### Subtract fee from recipient amount for RPC
152
+
153
+
A new argument `subtract_fee_from` is added to `sendmany`/`shieldsendmany` RPC functions.
154
+
It can be used to provide the list of recipent addresses paying the fee.
155
+
```
156
+
subtract_fee_from (array, optional)
157
+
A json array with addresses.
158
+
The fee will be equally deducted from the amount of each selected address.
159
+
[\"address\" (string) Subtract fee from this address\n"
160
+
,...
161
+
]
162
+
163
+
For `fundrawtransaction` a new key (`subtractFeeFromOutputs`) is added to the `options` argument.
164
+
It can be used to specify a list of output indexes.
165
+
```
166
+
subtractFeeFromOutputs (array, optional) A json array of integers.
167
+
The fee will be equally deducted from the amount of each specified output.
168
+
The outputs are specified by their zero-based index, before any change output is added.
169
+
[vout_index,...]
170
+
```
171
+
172
+
For `sendtoaddress`, the new parameter is called `subtract_fee` and it is a simple boolean.
154
173
155
-
#### Show wallet's auto-combine settings in getwalletinfo
174
+
In all cases those recipients will receive less PIV than you enter in their corresponding amount field.
175
+
If no outputs/addresses are specified, the sender pays the fee as usual.
176
+
177
+
### Show wallet's auto-combine settings in getwalletinfo
156
178
157
179
`getwalletinfo` now has two additional return fields. `autocombine_enabled` (boolean) and `autocombine_threshold` (numeric) that will show the auto-combine threshold and whether or not it is currently enabled.
158
180
159
-
####Deprecate the autocombine RPC command
181
+
### Deprecate the autocombine RPC command
160
182
161
183
The `autocombine` RPC command has been replaced with specific set/get commands (`setautocombinethreshold` and `getautocombinethreshold`, respectively) to bring this functionality further in-line with our RPC standards. Previously, the `autocombine` command gave no user-facing feedback when the setting was changed. This is now resolved with the introduction of the two new commands as detailed below:
162
184
@@ -191,26 +213,18 @@ The `autocombine` RPC command has been replaced with specific set/get commands (
191
213
}
192
214
```
193
215
194
-
#### Build system changes
216
+
Build system changes
217
+
--------------------
195
218
196
219
The minimum supported miniUPnPc API version is set to 10. This keeps compatibility with Ubuntu 16.04 LTS and Debian 8 `libminiupnpc-dev` packages. Please note, on Debian this package is still vulnerable to [CVE-2017-8798](https://security-tracker.debian.org/tracker/CVE-2017-8798) (in jessie only) and [CVE-2017-1000494](https://security-tracker.debian.org/tracker/CVE-2017-1000494) (both in jessie and in stretch).
197
220
198
-
199
-
#### Build System
200
-
201
221
OpenSSL is no longer used by PIVX Core
202
222
203
223
204
-
#### Disable PoW mining RPC Commands
205
-
206
-
A new configure flag has been introduced to allow more granular control over weather or not the PoW mining RPC commands are compiled into the wallet. By default they are not. This behavior can be overridden by passing `--enable-mining-rpc` to the `configure` script.
207
-
208
-
#### Removed startup options
209
-
210
-
- `printstakemodifier`
224
+
Configuration changes
225
+
---------------------
211
226
212
-
Configuration sections for testnet and regtest
213
-
----------------------------------------------
227
+
### Configuration sections for testnet and regtest
214
228
215
229
It is now possible for a single configuration file to set different options for different networks. This is done by using sections or by prefixing the option with the network, such as:
216
230
@@ -226,16 +240,27 @@ It is now possible for a single configuration file to set different options for
226
240
227
241
The `addnode=`, `connect=`, `port=`, `bind=`, `rpcport=`, `rpcbind=`, and `wallet=` options will only apply to mainnet when specified in the configuration file, unless a network is specified.
228
242
243
+
### Allow to optional specify the directory for the blocks storage
229
244
230
-
#### Logging
245
+
A new init option flag '-blocksdir' will allow one to keep the blockfiles external from the data directory.
231
246
232
-
The log timestamp format is now ISO 8601 (e.g. "2021-02-28T12:34:56Z").
247
+
### Disable PoW mining RPC Commands
233
248
249
+
A new configure flag has been introduced to allow more granular control over weather or not the PoW mining RPC commands are compiled into the wallet. By default they are not. This behavior can be overridden by passing `--enable-mining-rpc` to the `configure` script.
250
+
251
+
### Removed startup options
252
+
253
+
- `printstakemodifier`
234
254
235
-
#### Automatic Backup File Naming
255
+
### Logging
256
+
257
+
The log timestamp format is now ISO 8601 (e.g. "2021-02-28T12:34:56Z").
258
+
259
+
### Automatic Backup File Naming
236
260
237
261
The file extension applied to automatic backups is now in ISO 8601 basic notation (e.g. "20210228T123456Z"). The basic notation is used to prevent illegal `:` characters from appearing in the filename.
0 commit comments