PIVX Core  5.6.99
P2P Digital Currency
Functions
validation_tests.cpp File Reference
#include "test/test_pivx.h"
#include "blockassembler.h"
#include "primitives/transaction.h"
#include "sapling/sapling_validation.h"
#include "test/librust/utiltest.h"
#include "util/blockstatecatcher.h"
#include "wallet/test/wallet_test_fixture.h"
#include <boost/test/unit_test.hpp>
Include dependency graph for validation_tests.cpp:

Go to the source code of this file.

Functions

 BOOST_FIXTURE_TEST_CASE (test_simple_shielded_invalid, TestingSetup)
 
void CheckBlockZcRejection (std::shared_ptr< CBlock > &pblock, int nHeight, CMutableTransaction &mtx, const std::string &expected_msg)
 
void CheckMempoolZcRejection (CMutableTransaction &mtx, const std::string &expected_msg)
 
 BOOST_FIXTURE_TEST_CASE (zerocoin_rejection_tests, WalletRegTestingSetup)
 

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE() [1/2]

BOOST_FIXTURE_TEST_CASE ( test_simple_shielded_invalid  ,
TestingSetup   
)

Definition at line 17 of file validation_tests.cpp.

Here is the call graph for this function:

◆ BOOST_FIXTURE_TEST_CASE() [2/2]

BOOST_FIXTURE_TEST_CASE ( zerocoin_rejection_tests  ,
WalletRegTestingSetup   
)

Definition at line 122 of file validation_tests.cpp.

Here is the call graph for this function:

◆ CheckBlockZcRejection()

void CheckBlockZcRejection ( std::shared_ptr< CBlock > &  pblock,
int  nHeight,
CMutableTransaction mtx,
const std::string &  expected_msg 
)

Definition at line 97 of file validation_tests.cpp.

◆ CheckMempoolZcRejection()

void CheckMempoolZcRejection ( CMutableTransaction mtx,
const std::string &  expected_msg 
)

Definition at line 109 of file validation_tests.cpp.

Here is the call graph for this function: