Bitcoin ABC 0.30.5
P2P Digital Currency
Functions
core_read.cpp File Reference
#include <core_io.h>
#include <primitives/block.h>
#include <primitives/transaction.h>
#include <psbt.h>
#include <script/script.h>
#include <script/sign.h>
#include <serialize.h>
#include <streams.h>
#include <util/strencodings.h>
#include <util/string.h>
#include <version.h>
#include <univalue.h>
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/split.hpp>
#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)
 
bool DecodeHexTx (CMutableTransaction &tx, const std::string &strHexTx)
 
bool DecodeHexBlockHeader (CBlockHeader &header, const std::string &hex_header)
 
bool DecodeHexBlk (CBlock &block, const std::string &strHexBlk)
 
bool ParseHashStr (const std::string &strHex, uint256 &result)
 Parse a hex string into 256 bits. More...
 
std::vector< uint8_t > ParseHexUV (const UniValue &v, const std::string &strName)
 
SigHashType ParseSighashString (const UniValue &sighash)
 

Function Documentation

◆ DecodeHexBlk()

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

Definition at line 232 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 217 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 &  strHexTx 
)

Definition at line 197 of file core_read.cpp.

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

◆ ParseHashStr()

bool ParseHashStr ( const std::string &  strHex,
uint256 result 
)

Parse a hex string into 256 bits.

Parameters
[in]strHexa hex-formatted, 64-character string
[out]resultthe result of the parasing
Returns
true if successful, false if not
See also
ParseHashV for an RPC-oriented version of this

Definition at line 248 of file core_read.cpp.

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

◆ ParseHexUV()

std::vector< uint8_t > ParseHexUV ( const UniValue v,
const std::string &  strName 
)

Definition at line 257 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 60 of file core_read.cpp.

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

◆ ParseSighashString()

SigHashType ParseSighashString ( const UniValue sighash)

Definition at line 271 of file core_read.cpp.

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