#include <amount.h>
#include <string>
#include <vector>
Go to the source code of this file.
|
CScript | ParseScript (const std::string &s) |
|
std::string | ScriptToAsmStr (const CScript &script, const bool fAttemptSighashDecode=false) |
| Create the assembly string representation of a CScript object. More...
|
|
bool | DecodeHexTx (CMutableTransaction &tx, const std::string &strHexTx, bool fTryNoWitness=false) |
|
bool | DecodeHexBlk (CBlock &, const std::string &strHexBlk) |
|
uint256 | ParseHashUV (const UniValue &v, const std::string &strName) |
|
uint256 | ParseHashStr (const std::string &, const std::string &strName) |
|
std::vector< unsigned char > | ParseHexUV (const UniValue &v, const std::string &strName) |
|
UniValue | ValueFromAmount (const CAmount &amount) |
|
std::string | FormatScript (const CScript &script) |
|
std::string | EncodeHexTx (const CTransaction &tx, const int serializeFlags=0) |
|
void | ScriptPubKeyToUniv (const CScript &scriptPubKey, UniValue &out, bool fIncludeHex) |
|
void | TxToUniv (const CTransaction &tx, const uint256 &hashBlock, UniValue &entry, bool include_hex=true, int serialize_flags=0) |
|
bool DecodeHexBlk |
( |
CBlock & |
, |
|
|
const std::string & |
strHexBlk |
|
) |
| |
bool DecodeHexTx |
( |
CMutableTransaction & |
tx, |
|
|
const std::string & |
strHexTx, |
|
|
bool |
fTryNoWitness = false |
|
) |
| |
std::string EncodeHexTx |
( |
const CTransaction & |
tx, |
|
|
const int |
serializeFlags = 0 |
|
) |
| |
std::string FormatScript |
( |
const CScript & |
script | ) |
|
uint256 ParseHashStr |
( |
const std::string & |
, |
|
|
const std::string & |
strName |
|
) |
| |
std::vector<unsigned char> ParseHexUV |
( |
const UniValue & |
v, |
|
|
const std::string & |
strName |
|
) |
| |
CScript ParseScript |
( |
const std::string & |
s | ) |
|
void ScriptPubKeyToUniv |
( |
const CScript & |
scriptPubKey, |
|
|
UniValue & |
out, |
|
|
bool |
fIncludeHex |
|
) |
| |
std::string ScriptToAsmStr |
( |
const CScript & |
script, |
|
|
const bool |
fAttemptSighashDecode |
|
) |
| |
Create the assembly string representation of a CScript object.
- Parameters
-
[in] | script | CScript object to convert into the asm string representation. |
[in] | fAttemptSighashDecode | Whether to attempt to decode sighash types on data within the script that matches the format of a signature. Only pass true for scripts you believe could contain signatures. For example, pass false, or omit the this argument (defaults to false), for scriptPubKeys. |
Definition at line 80 of file core_write.cpp.
void TxToUniv |
( |
const CTransaction & |
tx, |
|
|
const uint256 & |
hashBlock, |
|
|
UniValue & |
entry, |
|
|
bool |
include_hex = true , |
|
|
int |
serialize_flags = 0 |
|
) |
| |