Construct wallet with specified name and database implementation.
Declared in <wallet/wallet.h>
CWallet(
interfaces::Chain* chain,
std::string const& name,
std::unique_ptr<WalletDatabase> database);
| Name | Description |
|---|---|
| chain | Interface for accessing chain state, may be null. |
| name | The wallet name. |
| database | The database backend for the wallet. |