#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 <algorithm>
#include <string>
Go to the source code of this file.
|
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) |
|
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) |
|
◆ CheckTxScriptsSanity()
◆ DecodeHexBlk()
bool DecodeHexBlk |
( |
CBlock & |
block, |
|
|
const std::string & |
strHexBlk |
|
) |
| |
◆ DecodeHexBlockHeader()
bool DecodeHexBlockHeader |
( |
CBlockHeader & |
header, |
|
|
const std::string & |
hex_header |
|
) |
| |
◆ DecodeHexTx()
bool DecodeHexTx |
( |
CMutableTransaction & |
tx, |
|
|
const std::string & |
hex_tx, |
|
|
bool |
try_no_witness, |
|
|
bool |
try_witness |
|
) |
| |
◆ DecodeTx()
static bool DecodeTx |
( |
CMutableTransaction & |
tx, |
|
|
const std::vector< unsigned char > & |
tx_data, |
|
|
bool |
try_no_witness, |
|
|
bool |
try_witness |
|
) |
| |
|
static |
◆ ParseHashStr()
bool ParseHashStr |
( |
const std::string & |
strHex, |
|
|
uint256 & |
result |
|
) |
| |
Parse a hex string into 256 bits.
- Parameters
-
[in] | strHex | a hex-formatted, 64-character string |
[out] | result | the result of the parsing |
- Returns
- true if successful, false if not
- See also
- ParseHashV for an RPC-oriented version of this
Definition at line 236 of file core_read.cpp.
◆ ParseHexUV()
std::vector<unsigned char> ParseHexUV |
( |
const UniValue & |
v, |
|
|
const std::string & |
strName |
|
) |
| |
◆ ParseScript()
CScript ParseScript |
( |
const std::string & |
s | ) |
|
◆ ParseSighashString()
int ParseSighashString |
( |
const UniValue & |
sighash | ) |
|