Bitcoin Core 28.99.0
P2P Digital Currency
Classes | Functions
sighash_tests.cpp File Reference
#include <common/system.h>
#include <consensus/tx_check.h>
#include <consensus/validation.h>
#include <hash.h>
#include <script/interpreter.h>
#include <script/script.h>
#include <serialize.h>
#include <streams.h>
#include <test/data/sighash.json.h>
#include <test/util/json.h>
#include <test/util/random.h>
#include <test/util/setup_common.h>
#include <util/strencodings.h>
#include <iostream>
#include <boost/test/unit_test.hpp>
#include <univalue.h>
Include dependency graph for sighash_tests.cpp:

Go to the source code of this file.

Classes

struct  SigHashTest
 

Functions

static uint256 SignatureHashOld (CScript scriptCode, const CTransaction &txTo, unsigned int nIn, int nHashType)
 
 BOOST_AUTO_TEST_CASE (sighash_test)
 
 BOOST_AUTO_TEST_CASE (sighash_from_data)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/2]

BOOST_AUTO_TEST_CASE ( sighash_from_data  )

Definition at line 164 of file sighash_tests.cpp.

Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/2]

BOOST_AUTO_TEST_CASE ( sighash_test  )

Definition at line 121 of file sighash_tests.cpp.

Here is the call graph for this function:

◆ SignatureHashOld()

static uint256 SignatureHashOld ( CScript  scriptCode,
const CTransaction txTo,
unsigned int  nIn,
int  nHashType 
)
static

Definition at line 26 of file sighash_tests.cpp.

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