![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include "test/test_pivx.h"#include "blockassembler.h"#include "consensus/merkle.h"#include "masternode-payments.h"#include "masternodeman.h"#include "spork.h"#include "tiertwo/tiertwo_sync_state.h"#include "primitives/transaction.h"#include "utilmoneystr.h"#include "util/blockstatecatcher.h"#include "validation.h"#include <boost/test/unit_test.hpp>Go to the source code of this file.
Classes | |
| class | MNdata |
| class | FakeMasternode |
Functions | |
| void | enableMnSyncAndMNPayments () |
| CMasternode | buildMN (const MNdata &data, const uint256 &tipHash, uint64_t tipTime) |
| std::vector< FakeMasternode > | buildMNList (const uint256 &tipHash, uint64_t tipTime, int size) |
| FakeMasternode | findMNData (std::vector< FakeMasternode > &mnList, const MasternodeRef &ref) |
| bool | findStrError (CValidationState &state, const std::string &str) |
| BOOST_FIXTURE_TEST_CASE (mnwinner_test, TestChain100Setup) | |
| BOOST_FIXTURE_TEST_CASE | ( | mnwinner_test | , |
| TestChain100Setup | |||
| ) |
| CMasternode buildMN | ( | const MNdata & | data, |
| const uint256 & | tipHash, | ||
| uint64_t | tipTime | ||
| ) |
| std::vector<FakeMasternode> buildMNList | ( | const uint256 & | tipHash, |
| uint64_t | tipTime, | ||
| int | size | ||
| ) |
Definition at line 82 of file mnpayments_tests.cpp.
| void enableMnSyncAndMNPayments | ( | ) |
Definition at line 22 of file mnpayments_tests.cpp.
| FakeMasternode findMNData | ( | std::vector< FakeMasternode > & | mnList, |
| const MasternodeRef & | ref | ||
| ) |
Definition at line 103 of file mnpayments_tests.cpp.
| bool findStrError | ( | CValidationState & | state, |
| const std::string & | str | ||
| ) |