HomePhabricator

Refactor RPC: Access wallet through GetWalletForJSONRPCRequest

Description

Refactor RPC: Access wallet through GetWalletForJSONRPCRequest

Summary:
Partially backport core's PR8775, namely:

RPC/Wallet: Pass CWallet as pointer to helper functions
RPC: Do all wallet access through new GetWalletForJSONRPCRequest

Test Plan:

make check
./test/functional/test_runner.py

Reviewers: schancel, #bitcoin_abc, jasonbcox

Reviewed By: schancel, #bitcoin_abc, jasonbcox

Subscribers: jasonbcox

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

Details

Provenance
Luke Dashjr <luke-jr+git@utopios.org>Authored on Sep 9 2016, 05:32
deadalnixCommitted on Jan 10 2018, 21:11
deadalnixPushed on Jan 11 2018, 00:47
Reviewer
Restricted Project
Differential Revision
D925: Refactor RPC: Access wallet through GetWalletForJSONRPCRequest
Parents
rSTAGINGe4b96385f761: Use CScheduler for wallet flushing, remove ThreadFlushWalletDB
Branches
Unknown
Tags
Unknown