HomePhabricator

rpc: Extract GetWalletNameFromJSONRPCRequest from GetWalletForJSONRPCRequest

Description

rpc: Extract GetWalletNameFromJSONRPCRequest from GetWalletForJSONRPCRequest

Summary:
Splits GetWalletForJSONRPCRequest() into two functions.

Refactor necessary for next part of this backport.

Partial backport of Core PR13111
https://github.com/bitcoin/bitcoin/pull/13111/commits/537efe19e696a97ca6a4f461b2c1b4cb7ab001b7

Test Plan:

make check
test_runner.py

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc

Reviewed By: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc

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

Details

Provenance
João Barbosa <joao.paulo.barbosa@gmail.com>Authored on Jun 12 2018, 13:40
nakihitoCommitted on Oct 19 2019, 02:14
nakihitoPushed on Oct 19 2019, 02:14
Reviewer
Restricted Owners Package
Differential Revision
D4252: rpc: Extract GetWalletNameFromJSONRPCRequest from GetWalletForJSONRPCRequest
Parents
rABCd2a40c0a60e2: [mempool] Mark mempool import fails that were found in mempool as 'already…
Branches
Unknown
Tags
Unknown