aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2019-05-06 10:12:20 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2019-05-06 11:36:42 +0200
commita3d2d6b0674c11e7c0cf227848322470b1cf11e9 (patch)
tree2ba34f2289a96257374b8f221c8b69a493a0e1fe /doc
parent773e16f9190fadb358dfe1334c22ece44baadd65 (diff)
parentfacfb4111d14a3b06c46690a2cca7ca91cea8a96 (diff)
downloadbitcoin-a3d2d6b0674c11e7c0cf227848322470b1cf11e9.tar.xz
Merge #15930: rpc: Add balances RPC
facfb4111d14a3b06c46690a2cca7ca91cea8a96 rpc: Deprecate getunconfirmedbalance and getwalletinfo balances (MarcoFalke) 999931cf8f167c7547f1015cdf05437a460c27f0 rpc: Add getbalances RPC (MarcoFalke) fad13e925e197163a942f3f0d1ba2c95a2b65a56 rpcwallet: Make helper methods const on CWallet (MarcoFalke) fad40ec9151248c6e8225e14980424f581d23e02 wallet: Use IsValidNumArgs in getwalletinfo rpc (MarcoFalke) Pull request description: This exposes the `CWallet::GetBalance()` struct over RPC. In the future, incorrectly named rpcs such as `getunconfirmedbalance` or rpcs redundant to this such as `getbalance` could be removed. ACKs for commit facfb4: jnewbery: utACK facfb4111d14a3b06c46690a2cca7ca91cea8a96 Tree-SHA512: 1f54fedce55df9a8ea82d2b6265354b39a956072621876ebaee2355aac0e23c7b64340c3279502415598c095858529e18b50789be956250aafda1cd3a8d948a5
Diffstat (limited to 'doc')
-rw-r--r--doc/release-notes.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/release-notes.md b/doc/release-notes.md
index 0de0f563b1..834c9b36dc 100644
--- a/doc/release-notes.md
+++ b/doc/release-notes.md
@@ -61,6 +61,15 @@ platform.
Notable changes
===============
+New RPCs
+--------
+
+- `getbalances` returns an object with all balances (`mine`,
+ `untrusted_pending` and `immature`). Please refer to the RPC help of
+ `getbalances` for details. The new RPC is intended to replace
+ `getunconfirmedbalance` and the balance fields in `getwalletinfo`, as well as
+ `getbalance`. The old calls may be removed in a future version.
+
Updated RPCs
------------