Bitcoin
|
#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/strencodings.h>
#include <version.h>
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/replace.hpp>
#include <boost/algorithm/string/split.hpp>
#include <algorithm>
Functions | |
CScript | ParseScript (const std::string &s) |
static bool | CheckTxScriptsSanity (const CMutableTransaction &tx) |
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 | ParseHashStr (const std::string &strHex, uint256 &result) |
std::vector< unsigned char > | ParseHexUV (const UniValue &v, const std::string &strName) |
int | ParseSighashString (const UniValue &sighash) |
|
static |
bool DecodeHexBlk | ( | CBlock & | block, |
const std::string & | strHexBlk | ||
) |
bool DecodeHexBlockHeader | ( | CBlockHeader & | header, |
const std::string & | hex_header | ||
) |
bool DecodeHexTx | ( | CMutableTransaction & | tx, |
const std::string & | hex_tx, | ||
bool | try_no_witness, | ||
bool | try_witness | ||
) |
bool ParseHashStr | ( | const std::string & | strHex, |
uint256 & | result | ||
) |
Parse a hex string into 256 bits
[in] | strHex | a hex-formatted, 64-character string |
[out] | result | the result of the parasing |
std::vector<unsigned char> ParseHexUV | ( | const UniValue & | v, |
const std::string & | strName | ||
) |
CScript ParseScript | ( | const std::string & | s | ) |
int ParseSighashString | ( | const UniValue & | sighash | ) |