Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
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 <test/util/transaction_utils.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, bool permit_bare_multisig, std::string &reason)
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 278 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 218 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 134 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 161 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 60 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 258 of file script_p2sh_tests.cpp.

Here is the call graph for this function:

◆ IsStandardTx() [1/2]

bool IsStandardTx ( const CTransaction & tx,
bool permit_bare_multisig,
std::string & reason )
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:

◆ IsStandardTx() [2/2]

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

Definition at line 27 of file script_p2sh_tests.cpp.

Here is the call graph for this function:

◆ Serialize()

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

Definition at line 33 of file script_p2sh_tests.cpp.

Here is the caller graph for this function:

◆ Verify()

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

Definition at line 39 of file script_p2sh_tests.cpp.

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