Bitcoin Core 31.99.0
P2P Digital Currency
Functions
psbt_tests.cpp File Reference
#include <psbt.h>
#include <boost/test/unit_test.hpp>
#include <test/util/setup_common.h>
Include dependency graph for psbt_tests.cpp:

Go to the source code of this file.

Functions

static PSBTProprietary MakeProprietary (uint64_t subtype, uint8_t key_data, uint8_t value)
 
void CheckTimeLock (const std::string &base64_psbt, std::optional< uint32_t > timelock)
 
 BOOST_AUTO_TEST_CASE (psbt2_timelock_test)
 
 BOOST_AUTO_TEST_CASE (psbt2_addinput)
 
 BOOST_AUTO_TEST_CASE (psbt2_addoutput)
 
 BOOST_AUTO_TEST_CASE (merge_proprietary_fields)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/4]

BOOST_AUTO_TEST_CASE ( merge_proprietary_fields  )

Definition at line 180 of file psbt_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/4]

BOOST_AUTO_TEST_CASE ( psbt2_addinput  )

Definition at line 54 of file psbt_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/4]

BOOST_AUTO_TEST_CASE ( psbt2_addoutput  )

Definition at line 153 of file psbt_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/4]

BOOST_AUTO_TEST_CASE ( psbt2_timelock_test  )

Definition at line 40 of file psbt_tests.cpp.

Here is the call graph for this function:

◆ CheckTimeLock()

void CheckTimeLock ( const std::string &  base64_psbt,
std::optional< uint32_t >  timelock 
)

Definition at line 22 of file psbt_tests.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MakeProprietary()

static PSBTProprietary MakeProprietary ( uint64_t  subtype,
uint8_t  key_data,
uint8_t  value 
)
static

Definition at line 12 of file psbt_tests.cpp.

Here is the caller graph for this function: