BSHA3  0.17.99
P2P Blockchain, based on Bitcoin
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 <univalue.h>
#include <util.h>
#include <utilstrencodings.h>
#include <version.h>
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/replace.hpp>
#include <boost/algorithm/string/split.hpp>
#include <algorithm>
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 &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)
 
bool DecodePSBT (PartiallySignedTransaction &psbt, const std::string &base64_tx, std::string &error)
 
bool ParseHashStr (const std::string &strHex, uint256 &result)
 Parse a hex string into 256 bits. More...
 
std::vector< unsigned char > ParseHexUV (const UniValue &v, const std::string &strName)
 
int ParseSighashString (const UniValue &sighash)
 

Function Documentation

◆ DecodeHexBlk()

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

Definition at line 162 of file core_read.cpp.

Here is the call graph for this function:

◆ DecodeHexBlockHeader()

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

Definition at line 148 of file core_read.cpp.

Here is the call graph for this function:

◆ DecodeHexTx()

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

Definition at line 113 of file core_read.cpp.

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

◆ DecodePSBT()

bool DecodePSBT ( PartiallySignedTransaction psbt,
const std::string &  base64_tx,
std::string &  error 
)

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

Here is the call graph for this function:

◆ ParseHexUV()

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

Definition at line 205 of file core_read.cpp.

Here is the call graph for this function:

◆ ParseScript()

CScript ParseScript ( const std::string &  s)

Definition at line 24 of file core_read.cpp.

Here is the caller graph for this function:

◆ ParseSighashString()

int ParseSighashString ( const UniValue sighash)

Definition at line 215 of file core_read.cpp.

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