HomePhabricator

[backport#15930] rpc: Add getbalances RPC

Description

[backport#15930] rpc: Add getbalances RPC

Summary:
https://github.com/bitcoin/bitcoin/pull/15930/commits/999931cf8f167c7547f1015cdf05437a460c27f0


Depends on D6445

Partial backport of Core PR15930

Test Plan:

ninja
./src/bitcoind -regtest -daemon
./src/bitcoin-cli getwalletinfo help

Check that output is correct

./src/bitcoin-cli getbalances
./src/bitcoin-cli getbalances help

Ditto

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D6446

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Apr 9 2019, 13:10
majcostaCommitted on Jun 9 2020, 16:37
majcostaPushed on Jun 9 2020, 16:37
Reviewer
Restricted Project
Differential Revision
D6446: [backport#15930] rpc: Add getbalances RPC
Parents
rABC4174deaa1bb3: [backport#15930] rpcwallet: Make helper methods const on CWallet
Branches
Unknown
Tags
Unknown