31 #ifndef LEDGER_CORE_BITCOINLIKEWALLETFACTORY_HPP 32 #define LEDGER_CORE_BITCOINLIKEWALLETFACTORY_HPP 34 #include <wallet/common/AbstractWalletFactory.hpp> 35 #include <wallet/bitcoin/explorers/BitcoinLikeBlockchainExplorer.hpp> 36 #include <wallet/bitcoin/keychains/P2PKHBitcoinLikeKeychain.hpp> 37 #include <wallet/bitcoin/observers/BitcoinLikeBlockchainObserver.hpp> 38 #include "BitcoinLikeKeychainFactory.h" 52 std::shared_ptr<BitcoinLikeBlockchainExplorer> getExplorer(
const std::string& currencyName,
const std::shared_ptr<api::DynamicObject>& configuration);
53 std::shared_ptr<BitcoinLikeBlockchainObserver> getObserver(
const std::string& currencyName,
const std::shared_ptr<api::DynamicObject>& configuration);
56 std::list<std::weak_ptr<BitcoinLikeBlockchainExplorer>> _runningExplorers;
59 std::list<std::weak_ptr<BitcoinLikeBlockchainObserver>> _runningObservers;
62 std::unordered_map<std::string, std::shared_ptr<BitcoinLikeKeychainFactory>> _keychainFactories;
68 #endif //LEDGER_CORE_BITCOINLIKEWALLETFACTORY_HPP Definition: AbstractWalletFactory.hpp:40
Definition: BitcoinLikeWalletFactory.hpp:46
Definition: WalletDatabaseEntry.hpp:39
Definition: Currency.hpp:23
Definition: Account.cpp:8