2021-06-04 17:28:46 -04:00
|
|
|
// Copyright (c) 2021 The Bitcoin Core developers
|
|
|
|
// Distributed under the MIT software license, see the accompanying
|
|
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
|
|
|
#ifndef BITCOIN_WALLET_TEST_UTIL_H
|
|
|
|
#define BITCOIN_WALLET_TEST_UTIL_H
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
|
2021-09-09 02:53:16 -03:00
|
|
|
class ArgsManager;
|
2021-06-04 17:28:46 -04:00
|
|
|
class CChain;
|
|
|
|
class CKey;
|
|
|
|
namespace interfaces {
|
|
|
|
class Chain;
|
|
|
|
} // namespace interfaces
|
|
|
|
|
2021-11-12 13:13:29 -03:00
|
|
|
namespace wallet {
|
|
|
|
class CWallet;
|
|
|
|
|
2021-09-09 02:53:16 -03:00
|
|
|
std::unique_ptr<CWallet> CreateSyncedWallet(interfaces::Chain& chain, CChain& cchain, ArgsManager& args, const CKey& key);
|
2021-11-12 13:13:29 -03:00
|
|
|
} // namespace wallet
|
2021-06-04 17:28:46 -04:00
|
|
|
|
|
|
|
#endif // BITCOIN_WALLET_TEST_UTIL_H
|