Bitcoin Core  22.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 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 264 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 204 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 123 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 150 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 50 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 244 of file script_p2sh_tests.cpp.

Here is the call graph for this function:

◆ Serialize()

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

Definition at line 22 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 29 of file script_p2sh_tests.cpp.

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