PIVX Core
5.6.99
P2P Digital Currency
src
wallet
test
pos_test_fixture.h
Go to the documentation of this file.
1
// Copyright (c) 2021 The PIVX Core developers
2
// Distributed under the MIT software license, see the accompanying
3
// file COPYING or https://www.opensource.org/licenses/mit-license.php.
4
5
#ifndef PIVX_WALLET_TEST_POS_TEST_FIXTURE_H
6
#define PIVX_WALLET_TEST_POS_TEST_FIXTURE_H
7
8
#include "
test/test_pivx.h
"
9
10
class
CWallet
;
11
12
/*
13
* A text fixture with a preloaded 250-blocks regtest chain running running on PoS
14
* and a wallet containing the key used for the coinbase outputs.
15
*/
16
struct
TestPoSChainSetup
:
public
TestChainSetup
17
{
18
std::unique_ptr<CWallet>
pwalletMain
;
19
20
TestPoSChainSetup
();
21
~TestPoSChainSetup
();
22
};
23
24
#endif
// PIVX_WALLET_TEST_POS_TEST_FIXTURE_H
CWallet
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances,...
Definition:
wallet.h:577
TestChainSetup
Definition:
test_pivx.h:101
TestPoSChainSetup
Definition:
pos_test_fixture.h:17
TestPoSChainSetup::TestPoSChainSetup
TestPoSChainSetup()
Definition:
pos_test_fixture.cpp:10
TestPoSChainSetup::~TestPoSChainSetup
~TestPoSChainSetup()
Definition:
pos_test_fixture.cpp:36
TestPoSChainSetup::pwalletMain
std::unique_ptr< CWallet > pwalletMain
Definition:
pos_test_fixture.h:18
test_pivx.h
Generated on Wed Apr 2 2025 00:40:39 for PIVX Core by
1.9.1