PIVX Core  5.6.99
P2P Digital Currency
wallet_test_fixture.h
Go to the documentation of this file.
1 // Copyright (c) 2016-2021 The Bitcoin Core developers
2 // Copyright (c) 2020-2021 The PIVX Core developers
3 // Distributed under the MIT software license, see the accompanying
4 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 
6 #ifndef PIVX_WALLET_TEST_WALLET_TEST_FIXTURE_H
7 #define PIVX_WALLET_TEST_WALLET_TEST_FIXTURE_H
8 
10 #include "wallet/wallet.h"
11 
12 
16 {
17  WalletTestingSetupBase(const std::string& chainName,
18  const std::string& wallet_name,
19  std::unique_ptr<WalletDatabase> db);
22 };
23 
25 {
26  explicit WalletTestingSetup(const std::string& chainName = CBaseChainParams::MAIN);
27 };
28 
30 {
32 };
33 
34 #endif // PIVX_WALLET_TEST_WALLET_TEST_FIXTURE_H
CBaseChainParams defines the base parameters (shared between pivx-cli and pivxd) of a given instance ...
static const std::string MAIN
Chain name strings.
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances,...
Definition: wallet.h:577
Testing setup that configures a complete environment for Sapling testing.
Testing setup and teardown for wallet.
WalletTestingSetupBase(const std::string &chainName, const std::string &wallet_name, std::unique_ptr< WalletDatabase > db)
WalletTestingSetup(const std::string &chainName=CBaseChainParams::MAIN)