Bitcoin Core  27.99.0
P2P Digital Currency
Functions
core_read.cpp File Reference
#include <core_io.h>
#include <primitives/block.h>
#include <primitives/transaction.h>
#include <script/script.h>
#include <script/sign.h>
#include <serialize.h>
#include <streams.h>
#include <util/result.h>
#include <util/strencodings.h>
#include <algorithm>
#include <string>
Include dependency graph for core_read.cpp:

Go to the source code of this file.

Functions

CScript ParseScript (const std::string &s)
 
static bool CheckTxScriptsSanity (const CMutableTransaction &tx)
 
static bool DecodeTx (CMutableTransaction &tx, const std::vector< unsigned char > &tx_data, bool try_no_witness, bool try_witness)
 
bool DecodeHexTx (CMutableTransaction &tx, const std::string &hex_tx, bool try_no_witness, bool try_witness)
 
bool DecodeHexBlockHeader (CBlockHeader &header, const std::string &hex_header)
 
bool DecodeHexBlk (CBlock &block, const std::string &strHexBlk)
 
util::Result< int > SighashFromStr (const std::string &sighash)
 

Function Documentation

◆ CheckTxScriptsSanity()

static bool CheckTxScriptsSanity ( const CMutableTransaction tx)
static

Definition at line 105 of file core_read.cpp.

Here is the caller graph for this function:

◆ DecodeHexBlk()

bool DecodeHexBlk ( CBlock block,
const std::string &  strHexBlk 
)

Definition at line 220 of file core_read.cpp.

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

◆ DecodeHexBlockHeader()

bool DecodeHexBlockHeader ( CBlockHeader header,
const std::string &  hex_header 
)

Definition at line 206 of file core_read.cpp.

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

◆ DecodeHexTx()

bool DecodeHexTx ( CMutableTransaction tx,
const std::string &  hex_tx,
bool  try_no_witness,
bool  try_witness 
)

Definition at line 196 of file core_read.cpp.

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

◆ DecodeTx()

static bool DecodeTx ( CMutableTransaction tx,
const std::vector< unsigned char > &  tx_data,
bool  try_no_witness,
bool  try_witness 
)
static

Definition at line 125 of file core_read.cpp.

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

◆ ParseScript()

CScript ParseScript ( const std::string &  s)

Definition at line 63 of file core_read.cpp.

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

◆ SighashFromStr()

util::Result<int> SighashFromStr ( const std::string &  sighash)

Definition at line 237 of file core_read.cpp.

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