Go to the source code of this file.
|
| UniValue | ValueFromAmount (const CAmount amount) |
| |
| std::string | FormatScript (const CScript &script) |
| |
| std::string | SighashToStr (unsigned char sighash_type) |
| |
| std::string | ScriptToAsmStr (const CScript &script, const bool fAttemptSighashDecode) |
| | Create the assembly string representation of a CScript object. More...
|
| |
| std::string | EncodeHexTx (const CTransaction &tx, const int serializeFlags) |
| |
| void | ScriptToUniv (const CScript &script, UniValue &out, bool include_address) |
| |
| void | ScriptPubKeyToUniv (const CScript &scriptPubKey, UniValue &out, bool fIncludeHex, bool include_addresses) |
| |
| void | TxToUniv (const CTransaction &tx, const uint256 &hashBlock, bool include_addresses, UniValue &entry, bool include_hex, int serialize_flags, const CTxUndo *txundo) |
| |
◆ EncodeHexTx()
| std::string EncodeHexTx |
( |
const CTransaction & |
tx, |
|
|
const int |
serializeFlags |
|
) |
| |
◆ FormatScript()
| std::string FormatScript |
( |
const CScript & |
script | ) |
|
◆ ScriptPubKeyToUniv()
| void ScriptPubKeyToUniv |
( |
const CScript & |
scriptPubKey, |
|
|
UniValue & |
out, |
|
|
bool |
fIncludeHex, |
|
|
bool |
include_addresses |
|
) |
| |
◆ ScriptToAsmStr()
| 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 92 of file core_write.cpp.
◆ ScriptToUniv()
| void ScriptToUniv |
( |
const CScript & |
script, |
|
|
UniValue & |
out, |
|
|
bool |
include_address |
|
) |
| |
◆ SighashToStr()
| std::string SighashToStr |
( |
unsigned char |
sighash_type | ) |
|
◆ TxToUniv()
| void TxToUniv |
( |
const CTransaction & |
tx, |
|
|
const uint256 & |
hashBlock, |
|
|
bool |
include_addresses, |
|
|
UniValue & |
entry, |
|
|
bool |
include_hex, |
|
|
int |
serialize_flags, |
|
|
const CTxUndo * |
txundo |
|
) |
| |
◆ ValueFromAmount()
◆ mapSigHashTypes
| const std::map<unsigned char, std::string> mapSigHashTypes |