WalletLoader methods
| 554 | |
| 555 | //! WalletLoader methods |
| 556 | std::unique_ptr<Wallet> createWallet(const std::string& name, const SecureString& passphrase, uint64_t wallet_creation_flags, bilingual_str& error, std::vector<bilingual_str>& warnings) override |
| 557 | { |
| 558 | std::shared_ptr<CWallet> wallet; |
| 559 | DatabaseOptions options; |
| 560 | DatabaseStatus status; |
| 561 | options.require_create = true; |
| 562 | options.create_flags = wallet_creation_flags; |
| 563 | options.create_passphrase = passphrase; |
| 564 | return MakeWallet(m_context, CreateWallet(m_context, name, true /* load_on_start */, options, status, error, warnings)); |
| 565 | } |
| 566 | std::unique_ptr<Wallet> loadWallet(const std::string& name, bilingual_str& error, std::vector<bilingual_str>& warnings) override |
| 567 | { |
| 568 | DatabaseOptions options; |
nothing calls this directly
no test coverage detected