31 #ifndef LEDGER_CORE_BITCOINLIKESOCIWALLET_H 32 #define LEDGER_CORE_BITCOINLIKESOCIWALLET_H 35 #include <wallet/pool/WalletPool.hpp> 36 #include <database/DatabaseSessionPool.hpp> 37 #include "BitcoinLikeAccountDatabase.h" 45 const std::string& walletName,
46 const std::string& currencyName
48 int64_t getAccountsCount()
const;
49 bool accountExists(int32_t index)
const;
50 void createAccount(int32_t index,
const std::string& xpub)
const;
51 const std::string& getWalletUid()
const;
52 int32_t getNextAccountIndex()
const;
55 const std::string _walletUid;
56 mutable std::shared_ptr<DatabaseSessionPool> _database;
62 #endif //LEDGER_CORE_BITCOINLIKESOCIWALLET_H Definition: BitcoinLikeWalletDatabase.h:42
Definition: Account.cpp:8