Bitcoin Core  24.99.0
P2P Digital Currency
Functions
script_p2sh_tests.cpp File Reference
#include <consensus/tx_verify.h>
#include <key.h>
#include <policy/policy.h>
#include <policy/settings.h>
#include <script/script.h>
#include <script/script_error.h>
#include <script/sign.h>
#include <script/signingprovider.h>
#include <test/util/setup_common.h>
#include <validation.h>
#include <vector>
#include <boost/test/unit_test.hpp>
Include dependency graph for script_p2sh_tests.cpp:

Go to the source code of this file.

Functions

static bool IsStandardTx (const CTransaction &tx, std::string &reason)
 
static std::vector< unsigned char > Serialize (const CScript &s)
 
static bool Verify (const CScript &scriptSig, const CScript &scriptPubKey, bool fStrict, ScriptError &err)
 
 BOOST_AUTO_TEST_CASE (sign)
 
 BOOST_AUTO_TEST_CASE (norecurse)
 
 BOOST_AUTO_TEST_CASE (set)
 
 BOOST_AUTO_TEST_CASE (is)
 
 BOOST_AUTO_TEST_CASE (switchover)
 
 BOOST_AUTO_TEST_CASE (AreInputsStandard)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/6]

BOOST_AUTO_TEST_CASE ( AreInputsStandard  )

Definition at line 265 of file script_p2sh_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/6]

BOOST_AUTO_TEST_CASE ( is  )

Definition at line 205 of file script_p2sh_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/6]

BOOST_AUTO_TEST_CASE ( norecurse  )

Definition at line 125 of file script_p2sh_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/6]

BOOST_AUTO_TEST_CASE ( set  )

Definition at line 152 of file script_p2sh_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [5/6]

BOOST_AUTO_TEST_CASE ( sign  )

Definition at line 53 of file script_p2sh_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [6/6]

BOOST_AUTO_TEST_CASE ( switchover  )

Definition at line 245 of file script_p2sh_tests.cpp.

Here is the call graph for this function:

◆ IsStandardTx()

static bool IsStandardTx ( const CTransaction tx,
std::string &  reason 
)
static

Definition at line 21 of file script_p2sh_tests.cpp.

Here is the caller graph for this function:

◆ Serialize()

static std::vector<unsigned char> Serialize ( const CScript s)
static

Definition at line 26 of file script_p2sh_tests.cpp.

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

◆ Verify()

static bool Verify ( const CScript scriptSig,
const CScript scriptPubKey,
bool  fStrict,
ScriptError err 
)
static

Definition at line 32 of file script_p2sh_tests.cpp.

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