HomePhabricator

[rpc] refactor: consolidate sendmany and sendtoaddress code

Description

[rpc] refactor: consolidate sendmany and sendtoaddress code

Summary:
The only new behavior is some error codes are changed from -4 to -6.

This is a backport of core#18202

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

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

Details

Provenance
Sjors Provoost <sjors@sprovoost.nl>Authored on Feb 24 2020, 19:12
PiRKCommitted on Aug 31 2021, 19:21
PiRKPushed on Aug 31 2021, 19:21
Reviewer
Restricted Project
Differential Revision
D9993: [rpc] refactor: consolidate sendmany and sendtoaddress code
Parents
rABC6866e3936867: log: Properly log txs rejected from mempool
Branches
Unknown
Tags
Unknown