Register a loaded wallet with the wallet context.
Synopsis
Declared in <wallet/wallet.h>
bool
AddWallet(
WalletContext& context,
std::shared_ptr<CWallet> const& wallet);
Return Value
true if the wallet was added, false if it was already present.
Parameters
Name |
Description |
context |
The wallet context to register into. |
wallet |
The wallet to add. |
Created with MrDocs