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