mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 06:43:45 +01:00
867 B
867 B
Dynamic loading and creation of wallets
Previously, wallets could only be loaded or created at startup, by specifying -wallet parameters on the command line or in the bitcoin.conf file. It is now possible to load, create and unload wallets dynamically at runtime:
- Existing wallets can be loaded by calling the
loadwalletRPC. The wallet can be specified as file/directory basename (which must be located in thewalletdirdirectory), or as an absolute path to a file/directory. - New wallets can be created (and loaded) by calling the
createwalletRPC. The provided name must not match a wallet file in thewalletdirdirectory or the name of a wallet that is currently loaded. - Loaded wallets can be unloaded by calling the
unloadwalletRPC.
This feature is currently only available through the RPC interface.