![]() |
Bitcoin ABC 0.32.4
P2P Digital Currency
|
#include <core_io.h>#include <common/system.h>#include <config.h>#include <consensus/amount.h>#include <key_io.h>#include <primitives/blockhash.h>#include <primitives/transaction.h>#include <script/script.h>#include <script/sigencoding.h>#include <script/standard.h>#include <serialize.h>#include <streams.h>#include <undo.h>#include <util/check.h>#include <util/strencodings.h>#include <univalue.h>Go to the source code of this file.
Functions | |
| std::string | FormatScript (const CScript &script) |
| std::string | SighashToStr (uint8_t 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) |
| void | ScriptToUniv (const CScript &script, UniValue &out, bool include_address) |
| void | ScriptPubKeyToUniv (const CScript &scriptPubKey, UniValue &out, bool fIncludeHex) |
| void | TxToUniv (const CTransaction &tx, const BlockHash &hashBlock, UniValue &entry, bool include_hex, const CTxUndo *txundo) |
Variables | |
| const std::map< uint8_t, std::string > | mapSigHashTypes |
| std::string EncodeHexTx | ( | const CTransaction & | tx | ) |
Definition at line 173 of file core_write.cpp.
| std::string FormatScript | ( | const CScript & | script | ) |
Definition at line 24 of file core_write.cpp.
Definition at line 194 of file core_write.cpp.
| std::string ScriptToAsmStr | ( | const CScript & | script, |
| const bool | fAttemptSighashDecode | ||
| ) |
Create the assembly string representation of a CScript object.
| [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 106 of file core_write.cpp.
Definition at line 179 of file core_write.cpp.
| std::string SighashToStr | ( | uint8_t | sighash_type | ) |
| void TxToUniv | ( | const CTransaction & | tx, |
| const BlockHash & | hashBlock, | ||
| UniValue & | entry, | ||
| bool | include_hex, | ||
| const CTxUndo * | txundo | ||
| ) |
Definition at line 221 of file core_write.cpp.
| const std::map<uint8_t, std::string> mapSigHashTypes |
Definition at line 71 of file core_write.cpp.