Page MenuHomePhabricator

[wallet] [rpc] Add loadwallet RPC
ClosedPublic

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

Details

Summary

Partial backport of core PR10740

Commit 5d15260 Add loadwallet RPC
https://github.com/bitcoin/bitcoin/pull/10740/commits/5d152601e940bd5f4043253b216a645679aff75d

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
https://github.com/bitcoin/bitcoin/pull/10740/commits/a46aeb690141f8457cf7d19f5b4b84f97ce410c8

Add testcases to wallet_multiwallet.py to test the new `loadwallet` RPC
method.

Commit cd53981 Add release notes for loadwallet RPC.
https://github.com/bitcoin/bitcoin/pull/10740/commits/cd53981b3d0d4697ed46c7bedbf10f464aca4ccc

Completes T459

Depends on D3635

Test Plan
make check
./test/functional/test_runner.py wallet_multiwallet

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
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.