Page MenuHomePhabricator

[wallet] [rpc] Add loadwallet RPC

Authored by Fabien on Jul 10 2019, 15:18.



Partial backport of core PR10740

Commit 5d15260 Add loadwallet RPC

The new `loadwallet` RPC method allows an existing wallet to be loaded
dynamically at runtime.

`unloadwallet` and `createwallet` are not implemented. Notably,
`loadwallet` can only be used to load existing wallets, not to create a
new wallet.

Commit a46aeb6 Test loadwallet

Add testcases to to test the new `loadwallet` RPC

Commit cd53981 Add release notes for loadwallet RPC.

Completes T459

Depends on D3635

Test Plan
make check
./test/functional/ wallet_multiwallet

Diff Detail

rABC Bitcoin ABC
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Fabien created this revision.Jul 10 2019, 15:18
Herald added a reviewer: Restricted Project. · View Herald TranscriptJul 10 2019, 15:18
jasonbcox accepted this revision.Jul 16 2019, 21:55
This revision is now accepted and ready to land.Jul 16 2019, 21:55
This revision was automatically updated to reflect the committed changes.