Register a callback invoked whenever a wallet is loaded.
Synopsis
Declared in <wallet/wallet.h>
std::unique_ptr<interfaces::Handler>
HandleLoadWallet(
WalletContext& context,
LoadWalletFn load_wallet);
Return Value
A handler that unregisters the callback when destroyed.
Parameters
Name |
Description |
context |
The wallet context to register with. |
load_wallet |
The callback to invoke on wallet load. |
Created with MrDocs