![]() |
Bitcoin Core 32.99.0
P2P Digital Currency
|
#include <consensus/amount.h>#include <util/result.h>#include <cstdint>#include <functional>#include <string>Go to the source code of this file.
Enumerations | |
| enum class | TxVerbosity { SHOW_TXID , SHOW_DETAILS , SHOW_DETAILS_AND_PREVOUT } |
| Verbose level for block's transaction. More... | |
|
strong |
Definition at line 248 of file core_io.cpp.
| bool DecodeHexBlockHeader | ( | CBlockHeader & | header, |
| const std::string & | hex_header | ||
| ) |
Definition at line 235 of file core_io.cpp.
| bool DecodeHexTx | ( | CMutableTransaction & | tx, |
| const std::string & | hex_tx, | ||
| bool | try_no_witness = false, |
||
| bool | try_witness = true |
||
| ) |
Definition at line 225 of file core_io.cpp.
| std::string EncodeHexTx | ( | const CTransaction & | tx | ) |
Definition at line 404 of file core_io.cpp.
| std::string FormatScript | ( | const CScript & | script | ) |
Definition at line 296 of file core_io.cpp.
| CScript ParseScript | ( | const std::string & | s | ) |
Definition at line 92 of file core_io.cpp.
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 359 of file core_io.cpp.
| void ScriptToUniv | ( | const CScript & | script, |
| UniValue & | out, | ||
| bool | include_hex = true, |
||
| bool | include_address = false, |
||
| const SigningProvider * | provider = nullptr |
||
| ) |
Definition at line 411 of file core_io.cpp.
| util::Result< int > SighashFromStr | ( | const std::string & | sighash | ) |
Definition at line 264 of file core_io.cpp.
| std::string SighashToStr | ( | int32_t | sighash_type | ) |
Definition at line 341 of file core_io.cpp.
| void TxToUniv | ( | const CTransaction & | tx, |
| const uint256 & | block_hash, | ||
| UniValue & | entry, | ||
| bool | include_hex = true, |
||
| const CTxUndo * | txundo = nullptr, |
||
| TxVerbosity | verbosity = TxVerbosity::SHOW_DETAILS, |
||
| std::function< bool(const CTxOut &)> | is_change_func = {} |
||
| ) |
Definition at line 432 of file core_io.cpp.
Definition at line 283 of file core_io.cpp.