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

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (IsPayToWitnessScriptHash_Valid)
 
 BOOST_AUTO_TEST_CASE (IsPayToWitnessScriptHash_Invalid_NotOp0)
 
 BOOST_AUTO_TEST_CASE (IsPayToWitnessScriptHash_Invalid_Size)
 
 BOOST_AUTO_TEST_CASE (IsPayToWitnessScriptHash_Invalid_Nop)
 
 BOOST_AUTO_TEST_CASE (IsPayToWitnessScriptHash_Invalid_EmptyScript)
 
 BOOST_AUTO_TEST_CASE (IsPayToWitnessScriptHash_Invalid_Pushdata)
 
 BOOST_AUTO_TEST_CASE (IsWitnessProgram_Valid)
 
 BOOST_AUTO_TEST_CASE (IsWitnessProgram_Invalid_Version)
 
 BOOST_AUTO_TEST_CASE (IsWitnessProgram_Invalid_Size)
 
 BOOST_AUTO_TEST_CASE (IsWitnessProgram_Invalid_Nop)
 
 BOOST_AUTO_TEST_CASE (IsWitnessProgram_Invalid_EmptyScript)
 
 BOOST_AUTO_TEST_CASE (IsWitnessProgram_Invalid_Pushdata)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/12]

BOOST_AUTO_TEST_CASE ( IsPayToWitnessScriptHash_Invalid_EmptyScript  )

Definition at line 48 of file script_segwit_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/12]

BOOST_AUTO_TEST_CASE ( IsPayToWitnessScriptHash_Invalid_Nop  )

Definition at line 40 of file script_segwit_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/12]

BOOST_AUTO_TEST_CASE ( IsPayToWitnessScriptHash_Invalid_NotOp0  )

Definition at line 24 of file script_segwit_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/12]

BOOST_AUTO_TEST_CASE ( IsPayToWitnessScriptHash_Invalid_Pushdata  )

Definition at line 54 of file script_segwit_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [5/12]

BOOST_AUTO_TEST_CASE ( IsPayToWitnessScriptHash_Invalid_Size  )

Definition at line 32 of file script_segwit_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [6/12]

BOOST_AUTO_TEST_CASE ( IsPayToWitnessScriptHash_Valid  )

Definition at line 12 of file script_segwit_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [7/12]

BOOST_AUTO_TEST_CASE ( IsWitnessProgram_Invalid_EmptyScript  )

Definition at line 142 of file script_segwit_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [8/12]

BOOST_AUTO_TEST_CASE ( IsWitnessProgram_Invalid_Nop  )

Definition at line 134 of file script_segwit_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [9/12]

BOOST_AUTO_TEST_CASE ( IsWitnessProgram_Invalid_Pushdata  )

Definition at line 148 of file script_segwit_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [10/12]

BOOST_AUTO_TEST_CASE ( IsWitnessProgram_Invalid_Size  )

Definition at line 121 of file script_segwit_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [11/12]

BOOST_AUTO_TEST_CASE ( IsWitnessProgram_Invalid_Version  )

Definition at line 113 of file script_segwit_tests.cpp.

◆ BOOST_AUTO_TEST_CASE() [12/12]

BOOST_AUTO_TEST_CASE ( IsWitnessProgram_Valid  )

Definition at line 93 of file script_segwit_tests.cpp.

Here is the call graph for this function: