From 1dd4be5474cfe9d21629b90507cad6f11c65fd85 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Thu, 24 Nov 2022 16:35:31 +0000 Subject: [PATCH] Add release notes for #6122 (`asOfHeight` RPC parameters). Signed-off-by: Daira Hopwood --- doc/release-notes.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/doc/release-notes.md b/doc/release-notes.md index bd76b7521..492cba575 100644 --- a/doc/release-notes.md +++ b/doc/release-notes.md @@ -15,3 +15,31 @@ Memory Usage Improvement The memory usage of zcashd has been reduced by not keeping Equihash solutions for all block headers in memory. + +RPC changes +----------- + +The following RPC methods that query wallet state now support an optional `asOfHeight` +parameter, to execute the query as if it were run when the blockchain was at the height +specified by this argument: + +* `getbalance` +* `getreceivedbyaddress` +* `gettransaction` (*) +* `getwalletinfo` +* `listaddressgroupings` +* `listreceivedbyaddress` (*) +* `listsinceblock` (*) +* `listtransactions` +* `listunspent` (*) +* `z_getbalanceforaccount` +* `z_getbalanceforviewingkey` +* `z_getmigrationstatus` +* `z_getnotescount` (also adds `minconf` parameter) +* `z_listreceivedbyaddress` +* `z_listunspent` + +(*) For these methods, additional parameters have been added to maintain +compatibility of parameter lists with Bitcoin Core. Default values should be +passed for these additional parameters in order to use `asOfHeight`. See the +[RPC documentation](https://zcash.github.io/) for details.