PIVX Core  5.6.99
P2P Digital Currency
Functions
transaction_builder_tests.cpp File Reference
#include "test/librust/sapling_test_fixture.h"
#include "test/librust/utiltest.h"
#include "sapling/sapling.h"
#include "sapling/transaction_builder.h"
#include "sapling/sapling_validation.h"
#include <univalue.h>
#include <boost/test/unit_test.hpp>
Include dependency graph for transaction_builder_tests.cpp:

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (TransparentToSapling)
 
 BOOST_AUTO_TEST_CASE (SaplingToSapling)
 
 BOOST_AUTO_TEST_CASE (ThrowsOnTransparentInputWithoutKeyStore)
 
 BOOST_AUTO_TEST_CASE (RejectsInvalidTransparentOutput)
 
 BOOST_AUTO_TEST_CASE (RejectsInvalidTransparentChangeAddress)
 
 BOOST_AUTO_TEST_CASE (FailsWithNegativeChange)
 
 BOOST_AUTO_TEST_CASE (ChangeOutput)
 
 BOOST_AUTO_TEST_CASE (SetFee)
 
 BOOST_AUTO_TEST_CASE (CheckSaplingTxVersion)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/9]

BOOST_AUTO_TEST_CASE ( ChangeOutput  )

Definition at line 170 of file transaction_builder_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/9]

BOOST_AUTO_TEST_CASE ( CheckSaplingTxVersion  )

Definition at line 277 of file transaction_builder_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/9]

BOOST_AUTO_TEST_CASE ( FailsWithNegativeChange  )

Definition at line 126 of file transaction_builder_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/9]

BOOST_AUTO_TEST_CASE ( RejectsInvalidTransparentChangeAddress  )

Definition at line 118 of file transaction_builder_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [5/9]

BOOST_AUTO_TEST_CASE ( RejectsInvalidTransparentOutput  )

Definition at line 110 of file transaction_builder_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [6/9]

BOOST_AUTO_TEST_CASE ( SaplingToSapling  )
Todo:
: the following check can be split out in to another test

Definition at line 54 of file transaction_builder_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [7/9]

BOOST_AUTO_TEST_CASE ( SetFee  )

Definition at line 248 of file transaction_builder_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [8/9]

BOOST_AUTO_TEST_CASE ( ThrowsOnTransparentInputWithoutKeyStore  )

Definition at line 104 of file transaction_builder_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [9/9]

BOOST_AUTO_TEST_CASE ( TransparentToSapling  )

Definition at line 18 of file transaction_builder_tests.cpp.

Here is the call graph for this function: