diff --git a/doc/release-notes.md b/doc/release-notes.md index c82682126..2d833fe42 100644 --- a/doc/release-notes.md +++ b/doc/release-notes.md @@ -1,22 +1,31 @@ Bitcoin ABC version 0.21.9 is now available from: This release includes the following features and fixes: - Improve management of maxfee by the wallet. Wallet changes -------------- When creating a transaction with a fee above `-maxtxfee` (default 0.1 BCH), the RPC commands `walletcreatefundedpsbt` and `fundrawtransaction` will now fail instead of rounding down the fee. Beware that the `feeRate` argument is specified in BCH per kilobyte, not satoshi per byte. +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. + RPC changes ----------- The `getblockstats` RPC is faster for fee calculation by using BlockUndo data. Also, `-txindex` is no longer required and `getblockstats` works for all non-pruned blocks. Miscellaneous RPC changes ------------ - `createwallet` can now create encrypted wallets if a non-empty passphrase is specified. diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 23795781f..e851401cc 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -1,4876 +1,4876 @@ // Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include #include // for GetConsensus. #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include